Documentation ¶
Index ¶
- func Bind(op *trace.Operation, h interface{}, id string) (interface{}, error)
- func Inspect(op *trace.Operation, h interface{}, id string) (*executor.SessionConfig, error)
- func Join(op *trace.Operation, h interface{}, task *executor.SessionConfig) (interface{}, error)
- func Remove(op *trace.Operation, h interface{}, id string) (interface{}, error)
- func State(op trace.Operation, e *executor.SessionConfig) (string, error)
- func Unbind(op *trace.Operation, h interface{}, id string) (interface{}, error)
- func Wait(op *trace.Operation, h interface{}, id string) error
- type TaskNotFoundError
- type TaskPowerStateError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Join ¶
func Join(op *trace.Operation, h interface{}, task *executor.SessionConfig) (interface{}, error)
Join adds the task configuration to the containerVM config
func State ¶ added in v1.4.1
State takes the given snapshot of a Task and determines the state of the Task. NOTE: this does not take into account the powerstate of the task owner at the moment.
callers should act on power state information before calling this.
Types ¶
type TaskNotFoundError ¶
type TaskNotFoundError struct {
// contains filtered or unexported fields
}
Special Error types for a task inspect
func (TaskNotFoundError) Error ¶
func (e TaskNotFoundError) Error() string
type TaskPowerStateError ¶
type TaskPowerStateError struct {
Err error
}
func (TaskPowerStateError) Error ¶
func (t TaskPowerStateError) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.