rtdag

package
v0.0.0-...-f5227cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeDAG

type RuntimeDAG interface {
	dag.DAG

	GetRootVertex() string
	GetDependencyMap(from string)
	PrintVertices()
}

func New

func New() RuntimeDAG

type VertexContext

type VertexContext struct {
	VertexName string     // vertexName
	Kind       VertexKind // kind of the vertex

	// the below elements provide information that is needed during the runtime operation
	BlockDAG   RuntimeDAG
	Function   ctrlcfgv1alpha1.Function
	References []string
	// contains the information about the output to ease the reverse mapping
	// of the output the function provides to the output we produce
	Outputs      output.Output
	GVKToVarName map[string]string
	// contains filtered or unexported fields
}

func (*VertexContext) AddReference

func (r *VertexContext) AddReference(s string)

type VertexKind

type VertexKind string
const (
	RootVertexKind     VertexKind = "root"
	FunctionVertexKind VertexKind = "function"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL