Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecuteScriptCommand ¶ added in v0.32.1
func NewExecuteScriptCommand(scripts execution.ScriptExecutor) commands.AdminCommand
func NewReadExecutionDataCommand ¶
func NewReadExecutionDataCommand(store execution_data.ExecutionDataStore) commands.AdminCommand
Types ¶
type ExecuteScriptCommand ¶ added in v0.32.1
type ExecuteScriptCommand struct {
// contains filtered or unexported fields
}
func (*ExecuteScriptCommand) Handler ¶ added in v0.32.1
func (e *ExecuteScriptCommand) Handler(ctx context.Context, req *admin.CommandRequest) (interface{}, error)
func (*ExecuteScriptCommand) Validator ¶ added in v0.32.1
func (e *ExecuteScriptCommand) Validator(req *admin.CommandRequest) error
Validator validates the request. Returns admin.InvalidAdminReqError for invalid/malformed requests.
type ReadExecutionDataCommand ¶
type ReadExecutionDataCommand struct {
// contains filtered or unexported fields
}
func (*ReadExecutionDataCommand) Handler ¶
func (r *ReadExecutionDataCommand) Handler(ctx context.Context, req *admin.CommandRequest) (interface{}, error)
func (*ReadExecutionDataCommand) Validator ¶
func (r *ReadExecutionDataCommand) Validator(req *admin.CommandRequest) error
Validator validates the request. Returns admin.InvalidAdminReqError for invalid/malformed requests.
Click to show internal directories.
Click to hide internal directories.