executehelpers

package
v0.0.0-...-a807302 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2015 License: Apache-2.0 Imports: 20 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(
	atcRequester *deprecated.AtcRequester,
	client concourse.Client,
	privileged bool,
	inputs []Input,
	outputs []Output,
	config atc.TaskConfig,
	tags []string,
	target string,
) (atc.Build, error)

func Download

func Download(output Output, atcRequester *deprecated.AtcRequester)

func FetchInputsFromJob

func FetchInputsFromJob(client concourse.Client, 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(input Input, excludeIgnored bool, atcRequester *deprecated.AtcRequester)

Types

type Input

type Input struct {
	Name string

	Path string
	Pipe atc.Pipe

	BuildInput atc.BuildInput
}

func DetermineInputs

func DetermineInputs(
	client concourse.Client,
	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