graph

package
v0.0.0-...-98ba599 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(g graph.Graph, id string) graph.Node

func Parse

func Parse(it Iterator) graph.Directed

func Roots

func Roots(g graph.Directed) []graph.Node

Types

type Iterator

type Iterator interface {
	Get(ptr int) LinkedNode
}

type LinkedNode

type LinkedNode interface {
	graph.Node
	Links() []int64
}

type TaskInstanceIterator

type TaskInstanceIterator struct {
	// contains filtered or unexported fields
}

func NewTaskInstanceIterator

func NewTaskInstanceIterator(contents map[string]*types.TaskInvocation) *TaskInstanceIterator

func (*TaskInstanceIterator) Get

func (ti *TaskInstanceIterator) Get(ptr int) LinkedNode

type TaskInvocationNode

type TaskInvocationNode struct {
	*types.TaskInvocation
}

func (*TaskInvocationNode) ID

func (n *TaskInvocationNode) ID() int64
func (n *TaskInvocationNode) Links() []int64

type TaskSpecIterator

type TaskSpecIterator struct {
	// contains filtered or unexported fields
}

func NewTaskSpecIterator

func NewTaskSpecIterator(contents map[string]*types.TaskSpec) *TaskSpecIterator

func (*TaskSpecIterator) Get

func (ts *TaskSpecIterator) Get(ptr int) LinkedNode

type TaskSpecNode

type TaskSpecNode struct {
	*types.TaskSpec
	// contains filtered or unexported fields
}

func (*TaskSpecNode) ID

func (n *TaskSpecNode) ID() int64
func (n *TaskSpecNode) Links() []int64

Jump to

Keyboard shortcuts

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