executehelpers

package
v2.4.1-rc.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2016 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForUnknownInputMappings

func CheckForUnknownInputMappings(inputMappings []flaghelpers.InputPairFlag, validInputs []atc.TaskInputConfig) error

func CreateBuild

func CreateBuild(
	client concourse.Client,
	privileged bool,
	inputs []Input,
	outputs []Output,
	config atc.TaskConfig,
	tags []string,
	targetName rc.TargetName,
) (atc.Build, error)

func Download

func Download(client concourse.Client, output Output)

func FetchInputsFromJob

func FetchInputsFromJob(team concourse.Team, inputsFrom flaghelpers.JobFlag) (map[string]Input, error)

func GenerateLocalInputs

func GenerateLocalInputs(client concourse.Client, inputMappings []flaghelpers.InputPairFlag) (map[string]Input, error)

func TaskInputsContainsName

func TaskInputsContainsName(inputs []atc.TaskInputConfig, name string) bool

func Upload

func Upload(client concourse.Client, input Input, excludeIgnored bool)

Types

type Input

type Input struct {
	Name string

	Path string
	Pipe atc.Pipe

	BuildInput atc.BuildInput
}

func DetermineInputs

func DetermineInputs(
	client concourse.Client,
	team concourse.Team,
	taskInputs []atc.TaskInputConfig,
	inputMappings []flaghelpers.InputPairFlag,
	inputsFrom flaghelpers.JobFlag,
) ([]Input, error)

type Output

type Output struct {
	Name string
	Path string
	Pipe atc.Pipe
}

func DetermineOutputs

func DetermineOutputs(
	client concourse.Client,
	taskOutputs []atc.TaskOutputConfig,
	outputMappings []flaghelpers.OutputPairFlag,
) ([]Output, error)

Jump to

Keyboard shortcuts

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