setpipelinehelpers

package
v4.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0, Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ATCConfig

type ATCConfig struct {
	PipelineName     string
	Team             concourse.Team
	Target           string
	SkipInteraction  bool
	CheckCredentials bool
}

func (ATCConfig) ApplyConfigInteraction

func (atcConfig ATCConfig) ApplyConfigInteraction() bool

func (ATCConfig) Set

func (atcConfig ATCConfig) Set(configPath atc.PathFlag, templateVariables []flaghelpers.VariablePairFlag, yamlTemplateVariables []flaghelpers.YAMLVariablePairFlag, templateVariablesFiles []atc.PathFlag) error

func (ATCConfig) Validate

func (atcConfig ATCConfig) Validate(
	configPath atc.PathFlag,
	templateVariables []flaghelpers.VariablePairFlag,
	yamlTemplateVariables []flaghelpers.YAMLVariablePairFlag,
	templateVariablesFiles []atc.PathFlag,
	strict bool,
	output bool,
) error

type Diff

type Diff struct {
	Before interface{}
	After  interface{}
}

func (Diff) Render

func (diff Diff) Render(to io.Writer, label string)

type Diffs

type Diffs []Diff

type GroupIndex

type GroupIndex atc.GroupConfigs

func (GroupIndex) FindEquivalent

func (index GroupIndex) FindEquivalent(obj interface{}) (interface{}, bool)

func (GroupIndex) Slice

func (index GroupIndex) Slice() []interface{}

type Index

type Index interface {
	FindEquivalent(interface{}) (interface{}, bool)
	Slice() []interface{}
}

type JobIndex

type JobIndex atc.JobConfigs

func (JobIndex) FindEquivalent

func (index JobIndex) FindEquivalent(obj interface{}) (interface{}, bool)

func (JobIndex) Slice

func (index JobIndex) Slice() []interface{}

type ResourceIndex

type ResourceIndex atc.ResourceConfigs

func (ResourceIndex) FindEquivalent

func (index ResourceIndex) FindEquivalent(obj interface{}) (interface{}, bool)

func (ResourceIndex) Slice

func (index ResourceIndex) Slice() []interface{}

type ResourceTypeIndex

type ResourceTypeIndex atc.ResourceTypes

func (ResourceTypeIndex) FindEquivalent

func (index ResourceTypeIndex) FindEquivalent(obj interface{}) (interface{}, bool)

func (ResourceTypeIndex) Slice

func (index ResourceTypeIndex) Slice() []interface{}

Jump to

Keyboard shortcuts

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