Documentation
¶
Index ¶
- func NewSSHBuilder(b *basher.Basher, facts *models.WerkerFacts) (build.Builder, error)
- func SetupSSHBuilder(t *testing.T, sshPort int, servicePort string) (bldr build.Builder, ctx context.Context, cancel func(), tarRm func(*testing.T), ...)
- type SSH
- func (h *SSH) AddGlobalEnvs(envs []string)
- func (h *SSH) Close() error
- func (h *SSH) Execute(ctx context.Context, actions *pb.Stage, logout chan []byte, commitHash string) *pb.Result
- func (h *SSH) ExecuteIntegration(ctx context.Context, stage *pb.Stage, stgUtil *build.StageUtil, ...) *pb.Result
- func (h *SSH) GetContainerId() string
- func (h *SSH) Init(ctx context.Context, hash string, logout chan []byte) *pb.Result
- func (h *SSH) SetGlobalEnv(envs []string)
- func (h *SSH) 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 NewSSHBuilder ¶
NewSSHBuilder will establish the BARE connection then return the BARE builder. It will fail if it cannot establish a connection, as it should. It requires more than the docker builder say, because this ssh conneciton isn't a "clean" builder, unfortunately. It is not destroyed afterword, so we need things like hash to know what to clean up once the build process has completed.
Types ¶
type SSH ¶
type SSH struct {
*basher.Basher
*models.WerkerFacts
// contains filtered or unexported fields
}
func SetupSSHBuilderNoTempl ¶
func (*SSH) AddGlobalEnvs ¶
func (*SSH) ExecuteIntegration ¶
func (*SSH) GetContainerId ¶
func (*SSH) SetGlobalEnv ¶
Click to show internal directories.
Click to hide internal directories.