Documentation
¶
Index ¶
- Constants
- type Config
- type Manager
- func (m *Manager) BringUp(ctx context.Context, req *task.ExecutionRequest, ...) (*task.ExecutionResponse, error)
- func (m *Manager) CheckStatus(ctx context.Context, encodedExecutionID string) (taskcommon.TaskStatus, error)
- func (m *Manager) FirmwareControl(ctx context.Context, req *task.ExecutionRequest, ...) (*task.ExecutionResponse, error)
- func (m *Manager) InjectExpectation(ctx context.Context, req *task.ExecutionRequest, ...) (*task.ExecutionResponse, error)
- func (m *Manager) PowerControl(ctx context.Context, req *task.ExecutionRequest, ...) (*task.ExecutionResponse, error)
- func (m *Manager) Start(ctx context.Context) error
- func (m *Manager) Stop(ctx context.Context) error
- func (m *Manager) TerminateTask(ctx context.Context, encodedExecutionID string, reason string) error
- func (m *Manager) Type() taskcommon.ExecutorType
Constants ¶
View Source
const (
WorkflowQueue = "rla-tasks"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) BringUp ¶
func (m *Manager) BringUp( ctx context.Context, req *task.ExecutionRequest, info operations.BringUpTaskInfo, ) (*task.ExecutionResponse, error)
func (*Manager) CheckStatus ¶
func (m *Manager) CheckStatus( ctx context.Context, encodedExecutionID string, ) (taskcommon.TaskStatus, error)
func (*Manager) FirmwareControl ¶
func (m *Manager) FirmwareControl( ctx context.Context, req *task.ExecutionRequest, info operations.FirmwareControlTaskInfo, ) (*task.ExecutionResponse, error)
func (*Manager) InjectExpectation ¶
func (m *Manager) InjectExpectation( ctx context.Context, req *task.ExecutionRequest, info operations.InjectExpectationTaskInfo, ) (*task.ExecutionResponse, error)
func (*Manager) PowerControl ¶
func (m *Manager) PowerControl( ctx context.Context, req *task.ExecutionRequest, info operations.PowerControlTaskInfo, ) (*task.ExecutionResponse, error)
func (*Manager) TerminateTask ¶
func (m *Manager) TerminateTask( ctx context.Context, encodedExecutionID string, reason string, ) error
TerminateTask terminates the Temporal workflow backing the given execution ID.
func (*Manager) Type ¶
func (m *Manager) Type() taskcommon.ExecutorType
Click to show internal directories.
Click to hide internal directories.