Documentation
¶
Index ¶
- func NewExecBuilder(b *basher.Basher, facts *models.WerkerFacts) build.Builder
- type Exec
- func (e *Exec) AddGlobalEnvs(envs []string)
- func (e *Exec) Close() error
- func (e *Exec) Execute(ctx context.Context, actions *pb.Stage, logout chan []byte, commitHash string) *pb.Result
- func (e *Exec) ExecuteIntegration(ctx context.Context, stage *pb.Stage, stgUtil *build.StageUtil, ...) *pb.Result
- func (e *Exec) GetContainerId() string
- func (e *Exec) Init(ctx context.Context, hash string, logout chan []byte) *pb.Result
- func (e *Exec) SetGlobalEnv(envs []string)
- func (e *Exec) Setup(ctx context.Context, logout chan []byte, dockerIdChan chan string, ...) (*pb.Result, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecBuilder ¶
Types ¶
type Exec ¶
type Exec struct {
*basher.Basher
*models.WerkerFacts
// contains filtered or unexported fields
}
func (*Exec) AddGlobalEnvs ¶
func (*Exec) ExecuteIntegration ¶
func (*Exec) GetContainerId ¶
func (*Exec) SetGlobalEnv ¶
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
Click to show internal directories.
Click to hide internal directories.