Documentation
¶
Index ¶
- type Node
- func (n *Node) CreateSkippedOutput(reason string, input dag_impl.Input) *Output
- func (n *Node) Execute(ctx context.Context, input dag_impl.Input) (*Output, error)
- func (n *Node) GetDependencies() []any
- func (n *Node) GetSources() map[string]executiondag.Source
- func (n *Node) Kind() string
- func (n *Node) Read(ctx context.Context, input dag_impl.Input) (*Output, error)
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Description string `json:"description,omitempty"`
Sources map[string]executiondag.Source `json:"sources"`
}
func (*Node) CreateSkippedOutput ¶
func (*Node) GetDependencies ¶
func (*Node) GetSources ¶
func (n *Node) GetSources() map[string]executiondag.Source
type Output ¶
type Output struct {
dag_impl.BaseOutput `json:",inline"`
Found bool `json:"found"`
PolicyPath string `json:"policy_path,omitempty"`
Sources map[string]executiondag.Source `json:"sources"`
SourceTimestamp time.Time `json:"source_timestamp"`
}
func (*Output) PersistKey ¶
func (*Output) WithSources ¶
func (o *Output) WithSources(sources map[string]executiondag.Source) *Output
Click to show internal directories.
Click to hide internal directories.