parser

package
v0.12.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deduplicate

func Deduplicate(refNodeKeys []string) []string

func GetVertex

func GetVertex(g *dag.AcyclicGraph, nv dag.NamedVertex) interface{}

func LinkRefNodes

func LinkRefNodes(
	ag *dag.AcyclicGraph,
	refNodeKeys []string,
	resourceIndex map[string]*apiv1.Resource,
	rn dag.Vertex,
	defaultAction models.ActionType,
	manifestGraphMap map[string]interface{},
) v1.Status

Types

type DeleteResourceParser

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

func NewDeleteResourceParser

func NewDeleteResourceParser(resources apiv1.Resources) *DeleteResourceParser

func (*DeleteResourceParser) Parse

func (d *DeleteResourceParser) Parse(g *dag.AcyclicGraph) (s v1.Status)

type Parser

type Parser interface {
	Parse(dag *dag.AcyclicGraph) v1.Status
}

type SpecParser

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

func NewIntentParser added in v0.9.1

func NewIntentParser(i *apiv1.Spec) *SpecParser

func (*SpecParser) Parse

func (m *SpecParser) Parse(g *dag.AcyclicGraph) (s v1.Status)

Jump to

Keyboard shortcuts

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