flow

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cascade

func Cascade(template yaml.Node, templates ...yaml.Node) (yaml.Node, error)

func Flow

func Flow(source yaml.Node, stubs ...yaml.Node) (yaml.Node, error)

Types

type Environment

type Environment struct {
	Scope Scope
	Path  []string

	Stubs []yaml.Node
}

func (Environment) FindFromRoot

func (e Environment) FindFromRoot(path []string) (yaml.Node, bool)

func (Environment) FindInStubs

func (e Environment) FindInStubs(path []string) (yaml.Node, bool)

func (Environment) FindReference

func (e Environment) FindReference(path []string) (yaml.Node, bool)

func (Environment) WithPath

func (e Environment) WithPath(step string) Environment

func (Environment) WithScope

func (e Environment) WithScope(step map[string]yaml.Node) Environment

type Scope

type Scope []map[string]yaml.Node

type UnresolvedNode

type UnresolvedNode struct {
	yaml.Node

	Context []string
}

type UnresolvedNodes

type UnresolvedNodes struct {
	Nodes []UnresolvedNode
}

func (UnresolvedNodes) Error

func (e UnresolvedNodes) Error() string

Jump to

Keyboard shortcuts

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