Documentation ¶
Index ¶
- type BaseNode
- func (c *BaseNode) Cleanup()
- func (c *BaseNode) GetNextNode() []Node
- func (c *BaseNode) GetPrevNode() []Node
- func (c *BaseNode) Group() string
- func (c *BaseNode) Init(_ context.Context, _ client.Client, _ map[string]any) error
- func (c *BaseNode) Kind() string
- func (c *BaseNode) Name() string
- func (c *BaseNode) Namespace() string
- func (c *BaseNode) Ready() (bool, string)
- func (c *BaseNode) RefName() string
- func (c *BaseNode) RefNamespace() string
- func (c *BaseNode) Run(_ context.Context, _ client.Client, _ map[string]any) (map[string]any, error)
- func (c *BaseNode) SetNextNode(nodes ...Node)
- func (c *BaseNode) SetPrevNode(nodes ...Node)
- type Input
- type Node
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseNode ¶
type BaseNode struct { Ref arcadiav1alpha1.TypedObjectReference // contains filtered or unexported fields }
func NewBaseNode ¶
func NewBaseNode(namespace, nodeName string, ref arcadiav1alpha1.TypedObjectReference) BaseNode
func (*BaseNode) GetNextNode ¶
func (*BaseNode) GetPrevNode ¶
func (*BaseNode) RefNamespace ¶
func (*BaseNode) SetNextNode ¶
func (*BaseNode) SetPrevNode ¶
type Node ¶
type Node interface { Name() string Namespace() string Group() string Kind() string RefName() string RefNamespace() string Init(ctx context.Context, cli client.Client, args map[string]any) error Run(ctx context.Context, cli client.Client, args map[string]any) (map[string]any, error) SetPrevNode(nodes ...Node) SetNextNode(nodes ...Node) GetPrevNode() []Node GetNextNode() []Node Ready() (bool, string) Cleanup() }
Click to show internal directories.
Click to hide internal directories.