Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IWorkflows ¶
type IWorkflows interface { NewWorkflow(string) (*Workflow, error) NewWorkflowFromText(string) (*Workflow, error) }
func NewWorkflows ¶
func NewWorkflows(t tasks.ITasks, logger *zap.Logger) (workflows IWorkflows)
type Workflow ¶
type Workflow struct { Version string `yaml:"version,omitempty"` EnvironmentList []map[string]string `yaml:"environment,omitempty"` TaskList []map[string]interface{} `yaml:"task,omitempty"` Node string `yaml:",omitempty"` Tasks tasks.ITasks `yaml:",omitempty"` Logger *zap.Logger `yaml:",omitempty"` }
func (*Workflow) SplitNodes ¶
type Workflows ¶
func (*Workflows) NewWorkflow ¶
Click to show internal directories.
Click to hide internal directories.