pipeline

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	Merge         []interface{} `yaml:"merge,omitempty"`
	Groups        []interface{} `yaml:"groups,omitempty"`
	Resources     []interface{} `yaml:"resources,omitempty"`
	ResourceTypes []interface{} `yaml:"resource_types,omitempty"`
	Jobs          []interface{} `yaml:"jobs,omitempty"`
	// contains filtered or unexported fields
}

Pipeline is the piepline definition. Added `merge` directive.

func NewPipeline

func NewPipeline(pipeline string, args map[string]interface{}, templates []string) (*Pipeline, error)

NewPipeline constructs a merger object for merging pipelines.

func (*Pipeline) String

func (p *Pipeline) String() string

func (*Pipeline) Transform

func (p *Pipeline) Transform() (*Pipeline, error)

Transform takes the current pipeline and begins recursive transformation to produce the finished pipeline.

Jump to

Keyboard shortcuts

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