Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetLogsParams ¶
type GetLogsResult ¶
GetLogsResult get logs task result for Codebuild
type Launcher ¶
type Launcher struct {
// contains filtered or unexported fields
}
Launcher launch and monitor codebuild jobs
func (*Launcher) GetTaskLogs ¶
func (lc *Launcher) GetTaskLogs(gtlp *GetLogsParams) (*GetLogsResult, error)
GetTaskLogs get task logs
func (*Launcher) ReadUntilClose ¶
func (lc *Launcher) ReadUntilClose(gtlp *GetLogsParams, quit chan bool) error
ReadUntilClose read logs until the supplied channel returns a value
func (*Launcher) RunBuild ¶
func (lc *Launcher) RunBuild(rb *RunBuildParams) (*RunBuildResult, error)
RunBuild run a codebuild job
func (*Launcher) WaitForTask ¶
func (lc *Launcher) WaitForTask(wft *WaitParams) (*WaitResult, error)
WaitForTask wait for task to complete
type RunBuildParams ¶
type RunBuildParams struct { ProjectName string SourceArchive string SourceBucket string Buildspec *string // optional buildspec }
RunBuildParams used to launch Codebuild container based tasks
type RunBuildResult ¶
type WaitParams ¶
type WaitParams struct {
BuildID string
}
type WaitResult ¶
type WaitResult struct {
BuildID string
}
Click to show internal directories.
Click to hide internal directories.