 Documentation
      ¶
      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 Bind ¶
Bind enables launching of the process in the container
func Inspect ¶
Inspect the given task id and returns it's config
func Join ¶
func Join(op *trace.Operation, h interface{}, task *executor.SessionConfig) (interface{}, error)
Join adds the task configuration to the containerVM config
func Remove ¶
Remove the task configuration from the containerVM config
func State ¶
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.
func Unbind ¶
Unbind disables launching of the process in the container
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
      ¶
      Source Files
      ¶
    
- bind.go
- common.go
- inspect.go
- join.go
- remove.go
- state.go
- unbind.go
- wait.go
 Click to show internal directories. 
   Click to hide internal directories.