Documentation
¶
Index ¶
- func GetReadChannel(name string) (chan []byte, error)
- func GetSendChannel(name string, wg *sync.WaitGroup) (chan []byte, error)
- func NewStartRequest(path string, dir string, args ...string) *cmd.ControlMessage
- func RemoteExecute(leader string, agentName string, command *cmd.ControlMessage) error
- type DriverOption
- type FlowContextDriver
- type NetworkContext
- type TaskOption
- type TaskRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReadChannel ¶
func NewStartRequest ¶
func NewStartRequest(path string, dir string, args ...string) *cmd.ControlMessage
func RemoteExecute ¶
func RemoteExecute(leader string, agentName string, command *cmd.ControlMessage) error
Types ¶
type DriverOption ¶
type FlowContextDriver ¶
type FlowContextDriver struct {
// contains filtered or unexported fields
}
func NewFlowContextDriver ¶
func NewFlowContextDriver(option *DriverOption) *FlowContextDriver
func (*FlowContextDriver) IsDriverMode ¶
func (fcd *FlowContextDriver) IsDriverMode() bool
func (*FlowContextDriver) Run ¶
func (fcd *FlowContextDriver) Run(fc *flame.FlowContext)
driver runs on local, controlling all tasks
type NetworkContext ¶
type TaskOption ¶
type TaskRunner ¶
func NewTaskRunner ¶
func NewTaskRunner(option *TaskOption) *TaskRunner
func (*TaskRunner) IsTaskMode ¶
func (tr *TaskRunner) IsTaskMode() bool
func (*TaskRunner) Run ¶
func (tr *TaskRunner) Run(fc *flame.FlowContext)
if this should not run, return false
Source Files
¶
Click to show internal directories.
Click to hide internal directories.