Shellbox
Library and server for containerized shell execution
|
A BoxedExecutor which works by running the command on a remote server via HTTP/HTTPS. More...
Public Member Functions | |
__construct (Client $client) | |
setLogger (LoggerInterface $logger) | |
Set the logger. | |
executeValid (BoxedCommand $command) | |
Execute a BoxedCommand that has already been validated. | |
areUrlFilesAllowed () | |
Whether the executor can download input files and upload output files specified with BoxedCommand::inputFileFromUrl and the like. | |
Public Member Functions inherited from Shellbox\Command\BoxedExecutor | |
execute (BoxedCommand $command) | |
Execute a boxed command. | |
createCommand () | |
Create an empty command linked to this executor. | |
setValidationConfig ( $config) | |
Set validation configuration. | |
Additional Inherited Members | |
Protected Member Functions inherited from Shellbox\Command\BoxedExecutor | |
assertIsValid (BoxedCommand $command) | |
Validate the command. | |
Protected Attributes inherited from Shellbox\Command\BoxedExecutor | |
$validator | |
A BoxedExecutor which works by running the command on a remote server via HTTP/HTTPS.
Shellbox\Command\RemoteBoxedExecutor::__construct | ( | Client | $client | ) |
Client | $client |
Shellbox\Command\RemoteBoxedExecutor::areUrlFilesAllowed | ( | ) |
Whether the executor can download input files and upload output files specified with BoxedCommand::inputFileFromUrl and the like.
Reimplemented from Shellbox\Command\BoxedExecutor.
Shellbox\Command\RemoteBoxedExecutor::executeValid | ( | BoxedCommand | $command | ) |
Execute a BoxedCommand that has already been validated.
BoxedCommand | $command |
Reimplemented from Shellbox\Command\BoxedExecutor.
Shellbox\Command\RemoteBoxedExecutor::setLogger | ( | LoggerInterface | $logger | ) |
Set the logger.
LoggerInterface | $logger |