Documentation ¶
Index ¶
- func LinkDown(from anemos.Node, to anemos.Node)
- func LinkDownNamed(from anemos.Node, to anemos.Node, name string)
- type BindingConfig
- type DagConfig
- type DagMetaData
- type Group
- func (g *Group) AddNode(node anemos.Node)
- func (g *Group) AssignSession(session anemos.Session)
- func (n *Group) Attributes() map[string]string
- func (n *Group) EndStateReached() bool
- func (g *Group) OnCancel(event *api.Event)
- func (g *Group) OnEvent(event *api.Event)
- func (g *Group) OnFinish(event *api.Event)
- func (g *Group) OnProgress(event *api.Event)
- func (g *Group) OnSkip(event *api.Event)
- func (g *Group) OnStart(event *api.Event)
- func (n *Group) Operation() string
- func (n *Group) Provider() string
- func (g *Group) Resolve()
- type Node
- func (n *Node) AddDownstream(name string, node anemos.Node)
- func (n *Node) AddUpstream(name string, node anemos.Node)
- func (n *Node) AssignSession(session anemos.Session)
- func (n *Node) Downstream() map[string]anemos.Node
- func (n *Node) Name() string
- func (n *Node) Status() anemos.NodeInstanceStatus
- func (n *Node) Upstream() map[string]anemos.Node
- type Session
- type TaskConfig
- type TaskNode
- func (n *TaskNode) Attributes() map[string]string
- func (n *TaskNode) EndStateReached() bool
- func (n *TaskNode) OnCancel(event *api.Event)
- func (n *TaskNode) OnEvent(event *api.Event)
- func (n *TaskNode) OnFinish(event *api.Event)
- func (n *TaskNode) OnProgress(event *api.Event)
- func (n *TaskNode) OnSkip(event *api.Event)
- func (n *TaskNode) OnStart(event *api.Event)
- func (n *TaskNode) Operation() string
- func (n *TaskNode) Provider() string
- type VirtualNode
- func (n *VirtualNode) Attributes() map[string]string
- func (n *VirtualNode) EndStateReached() bool
- func (n *VirtualNode) OnCancel(event *api.Event)
- func (n *VirtualNode) OnEvent(event *api.Event)
- func (n *VirtualNode) OnFinish(event *api.Event)
- func (n *VirtualNode) OnProgress(event *api.Event)
- func (n *VirtualNode) OnSkip(event *api.Event)
- func (n *VirtualNode) OnStart(event *api.Event)
- func (n *VirtualNode) Operation() string
- func (n *VirtualNode) Provider() string
- type VirtualNodeType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LinkDownNamed ¶
func LinkDownNamed(from anemos.Node, to anemos.Node, name string)
Types ¶
type BindingConfig ¶
type BindingConfig struct { }
type DagConfig ¶
type DagConfig struct { Kind string Version string MetaData DagMetaData Tasks []TaskConfig }
type DagMetaData ¶
type DagMetaData struct {
Name string
}
type Group ¶
type Group struct { *Node // contains filtered or unexported fields }
func ParseDagFile ¶
func (*Group) AssignSession ¶
func (g *Group) AssignSession(session anemos.Session)
func (*Group) Attributes ¶
func (*Group) EndStateReached ¶
func (*Group) OnProgress ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) AddDownstream ¶
func (*Node) AddUpstream ¶
func (*Node) AssignSession ¶
func (n *Node) AssignSession(session anemos.Session)
func (*Node) Downstream ¶
type Session ¶
type Session struct { Graph *Group Instances map[anemos.Node][]*api.TaskInstance // contains filtered or unexported fields }
func NewSession ¶
func (*Session) NewTaskInstance ¶
func (session *Session) NewTaskInstance(n anemos.Node) *api.TaskInstance
type TaskConfig ¶
type TaskConfig struct { Name string TaskRef string Downstream []TaskConfig }
type TaskNode ¶
type TaskNode struct { *Node // contains filtered or unexported fields }
func NewTaskNode ¶
func NewTaskNode() *TaskNode
func (*TaskNode) Attributes ¶
func (*TaskNode) EndStateReached ¶
func (*TaskNode) OnProgress ¶
type VirtualNode ¶
type VirtualNode struct { *Node // contains filtered or unexported fields }
func NewVirtualNode ¶
func NewVirtualNode() *VirtualNode
func (*VirtualNode) Attributes ¶
func (n *VirtualNode) Attributes() map[string]string
func (*VirtualNode) EndStateReached ¶
func (n *VirtualNode) EndStateReached() bool
func (*VirtualNode) OnCancel ¶
func (n *VirtualNode) OnCancel(event *api.Event)
func (*VirtualNode) OnEvent ¶
func (n *VirtualNode) OnEvent(event *api.Event)
func (*VirtualNode) OnFinish ¶
func (n *VirtualNode) OnFinish(event *api.Event)
func (*VirtualNode) OnProgress ¶
func (n *VirtualNode) OnProgress(event *api.Event)
func (*VirtualNode) OnSkip ¶
func (n *VirtualNode) OnSkip(event *api.Event)
func (*VirtualNode) OnStart ¶
func (n *VirtualNode) OnStart(event *api.Event)
func (*VirtualNode) Operation ¶
func (n *VirtualNode) Operation() string
func (*VirtualNode) Provider ¶
func (n *VirtualNode) Provider() string
Click to show internal directories.
Click to hide internal directories.