stage

package
v0.8.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(dir, src, dest string) (string, error)

CopyFile cp file from src to dest.

Types

type StageManager

type StageManager interface {
	SetRecordInfo(project, pipeline, recordID string)
	SetEvent(event *api.Event)
	ExecCodeCheckout(token string, stage *api.CodeCheckoutStage) error
	ExecPackage(*api.BuilderImage, *api.BuildInfo, *api.UnitTestStage, *api.PackageStage) error
	ExecCodeScan(stage *api.CodeScanStage) error
	ExecImageBuild(stage *api.ImageBuildStage) ([]string, error)
	ExecIntegrationTest(builtImages []string, stage *api.IntegrationTestStage) error
	ExecImageRelease(builtImages []string, stage *api.ImageReleaseStage) error
}

func NewStageManager

func NewStageManager(dockerManager *docker.DockerManager, cycloneClient cycloneserver.CycloneServerClient,
	registry *api.Registry, performParams *api.PipelinePerformParams) StageManager

Jump to

Keyboard shortcuts

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