@Generated public interface CommandExecutionService
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
Modifier and Type | Method and Description |
---|---|
void |
cancel(CancelCommand cancelCommand)
Cancel a command.
|
CommandStatusResponse |
commandStatus(CommandStatusRequest commandStatusRequest)
Get command info.
|
ContextStatusResponse |
contextStatus(ContextStatusRequest contextStatusRequest)
Get status.
|
Created |
create(CreateContext createContext)
Create an execution context.
|
void |
destroy(DestroyContext destroyContext)
Delete an execution context.
|
Created |
execute(Command command)
Run a command.
|
void cancel(CancelCommand cancelCommand)
Cancels a currently running command within an execution context.
The command ID is obtained from a prior successful call to __execute__.
CommandStatusResponse commandStatus(CommandStatusRequest commandStatusRequest)
Gets the status of and, if available, the results from a currently executing command.
The command ID is obtained from a prior successful call to __execute__.
ContextStatusResponse contextStatus(ContextStatusRequest contextStatusRequest)
Gets the status for an execution context.
Created create(CreateContext createContext)
Creates an execution context for running cluster commands.
If successful, this method returns the ID of the new execution context.
void destroy(DestroyContext destroyContext)
Deletes an execution context.
Copyright © 2024. All rights reserved.