Documentation ¶
Index ¶
- Constants
- type Asset
- type AssetManager
- type Instance
- type Instances
- type Node
- func (n *Node) ActionMap() (map[string]interface{}, error)
- func (n *Node) Data() string
- func (n *Node) Extracts(callback func(name string, node *Node) error) error
- func (n *Node) HasInit()
- func (n *Node) IsTaskNode() bool
- func (n *Node) Request() (interface{}, error)
- func (n *Node) Scalar(name string) (interface{}, bool)
- func (n *Node) String(name string) (interface{}, bool)
- func (n *Node) Task(name string) (*Node, error)
- func (n *Node) TaskMap() (map[string]interface{}, error)
- func (n *Node) Tasks(callback func(name string, node *Node) error) error
- func (n *Node) Template() *Node
- func (n *Node) Variables(ns string) (string, error)
- func (n *Node) WorkflowMap() (map[string]interface{}, error)
- type Service
- type Type
Constants ¶
View Source
const ( TypeWorkflow = Type(iota) TypeVariable TypeTask TypeAction TypeTemplate )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetManager ¶
type AssetManager struct {
// contains filtered or unexported fields
}
func NewAssetManager ¶
func NewAssetManager(baseURL string, opts ...storage.Option) *AssetManager
func (*AssetManager) LoadWorkflow ¶
func (m *AssetManager) LoadWorkflow(ctx context.Context, URL string) *Asset
type Instances ¶
type Instances struct { BaseURL string Instances []*Instance ByIdx map[int]int Min int Max int Match string // contains filtered or unexported fields }
func NewInstances ¶
type Node ¶
Node represents a workflow node
func NewWorkflowNode ¶
func (*Node) IsTaskNode ¶
func (*Node) WorkflowMap ¶
Click to show internal directories.
Click to hide internal directories.