parser

package
v0.8.3-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 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]*models.Resource,
	rn dag.Vertex,
	defaultAction opsmodels.ActionType,
	manifestGraphMap map[string]interface{},
) status.Status

Types

type DeleteResourceParser

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

func NewDeleteResourceParser

func NewDeleteResourceParser(resources models.Resources) *DeleteResourceParser

func (*DeleteResourceParser) Parse

type Parser

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

type SpecParser

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

func NewSpecParser

func NewSpecParser(spec *models.Spec) *SpecParser

func (*SpecParser) Parse

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

Jump to

Keyboard shortcuts

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