executehelpers

package
v0.0.0-...-50ddf03 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2016 License: Apache-2.0 Imports: 19 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,
	target rc.TargetName,
) (atc.Build, error)

func Download

func Download(client concourse.Client, output Output)

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(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,
	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