Documentation ¶
Index ¶
- Variables
- type Manager
- type NanaJob
- func (n NanaJob) GetControlPolicy() flow.ControlPolicy
- func (n NanaJob) GetHooks() flow.Hooks
- func (n *NanaJob) GetMessage() string
- func (n *NanaJob) GetStatus() fsm.Status
- func (n NanaJob) ID() flow.FID
- func (n *NanaJob) NextBatch(ctx *flow.Context) ([]flow.Task, error)
- func (n *NanaJob) Run() error
- func (n *NanaJob) SetMessage(msg string)
- func (n *NanaJob) SetStatus(status fsm.Status)
- func (n NanaJob) Setup(ctx *flow.Context) error
- func (n NanaJob) Teardown(ctx *flow.Context)
- func (n NanaJob) Type() flow.FType
- type NanaTask
- func (n *NanaTask) Do(ctx *flow.Context) error
- func (n *NanaTask) GetMessage() string
- func (n *NanaTask) GetStatus() fsm.Status
- func (n *NanaTask) Name() flow.TName
- func (n *NanaTask) SetMessage(msg string)
- func (n *NanaTask) SetStatus(status fsm.Status)
- func (n *NanaTask) Setup(ctx *flow.Context) error
- func (n *NanaTask) Teardown(ctx *flow.Context)
- type Registry
- type Workflow
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlowCtl *controller.FlowController FlowStorage storage.Interface )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
func NewWorkflowManager ¶
func NewWorkflowManager(ctrl controller.Controller) (*Manager, error)
func (*Manager) FileSaveHandler ¶
func (*Manager) WorkFlowDestroyHandler ¶
func (*Manager) WorkFlowHandler ¶
type NanaJob ¶
type NanaJob struct { Id string // contains filtered or unexported fields }
func NewNanaJob ¶
func NewNanaJob(ctrl controller.Controller, workflow *Workflow, jobObj, value *types.Object) (*NanaJob, *types.Job, error)
func (NanaJob) GetControlPolicy ¶
func (n NanaJob) GetControlPolicy() flow.ControlPolicy
func (*NanaJob) GetMessage ¶
func (*NanaJob) SetMessage ¶
type NanaTask ¶
type NanaTask struct {
// contains filtered or unexported fields
}
func (*NanaTask) GetMessage ¶
func (*NanaTask) SetMessage ¶
Click to show internal directories.
Click to hide internal directories.