checkout

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerfileWriterFunc

func GetDockerfileWriterFunc(buildID cidocker.BuildID, localBaton *baton.Baton) ciutil.OnWriterFunc

GetDockerfileWriterFunc returns a writer to write a dockerfile

func NewPipeline

func NewPipeline(mySource cisource.Source,
	createDockerClientFunc cidocker.CreateDockerClientFunc,
	sourceListeners []ciutil.OnDirFunc) pipelines.Pipeline

Types

type Pipeline

type Pipeline struct {
	// contains filtered or unexported fields
}

Pipeline represents a checkout pipeline getting source code

func (*Pipeline) GetNames

func (pipeline *Pipeline) GetNames() (key string, longName string)

GetNames returns the names of the pipelines . Returns a tuple , a key and a long descriptive name

func (*Pipeline) OnCheckoutDir

func (pipeline *Pipeline) OnCheckoutDir(buildID cidocker.BuildID, localBaton *baton.Baton) ciutil.OnDirFunc

func (*Pipeline) OnPostProcess added in v0.2.1

func (pipeline *Pipeline) OnPostProcess(buildRoot string) error

func (*Pipeline) Run

func (pipeline *Pipeline) Run(config *config.Config, buildID cidocker.BuildID, buildOS buildos.BuildOS, myBaton *baton.Baton) pipelines.PipelineRunReturnFunc

Jump to

Keyboard shortcuts

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