Help us shape the future of Go! Take the 2026 Go Developer Survey

exec

package
v0.7.31 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecBuilder

func NewExecBuilder(b *basher.Basher, facts *models.WerkerFacts) build.Builder

Types

type Exec

type Exec struct {
	*basher.Basher
	*models.WerkerFacts
	// contains filtered or unexported fields
}

func (*Exec) AddGlobalEnvs

func (e *Exec) AddGlobalEnvs(envs []string)

func (*Exec) Close

func (e *Exec) Close() error

func (*Exec) Execute

func (e *Exec) Execute(ctx context.Context, actions *pb.Stage, logout chan []byte, commitHash string) *pb.Result

func (*Exec) ExecuteIntegration

func (e *Exec) ExecuteIntegration(ctx context.Context, stage *pb.Stage, stgUtil *build.StageUtil, logout chan []byte) *pb.Result

func (*Exec) GetContainerId

func (e *Exec) GetContainerId() string

func (*Exec) Init

func (e *Exec) Init(ctx context.Context, hash string, logout chan []byte) *pb.Result

func (*Exec) SetGlobalEnv

func (e *Exec) SetGlobalEnv(envs []string)

func (*Exec) Setup

func (e *Exec) Setup(ctx context.Context, logout chan []byte, dockerIdChan chan string, werk *pb.WerkerTask, rc cred.CVRemoteConfig, werkerPort string) (*pb.Result, string)

Setup for the Exec werker type will send off the checkout hash as the "docker id" on the docker id channel

Jump to

Keyboard shortcuts

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