Documentation ¶
Index ¶
- Constants
- type CodeBuildLauncher
- func (cbl *CodeBuildLauncher) CleanupTask(ctp *launcher.CleanupTaskParams) (*launcher.CleanupTaskResult, error)
- func (cbl *CodeBuildLauncher) DefineAndLaunch(dlp *launcher.DefineAndLaunchParams) (*launcher.DefineAndLaunchResult, error)
- func (cbl *CodeBuildLauncher) DefineTask(dp *launcher.DefineTaskParams) (*launcher.DefineTaskResult, error)
- func (cbl *CodeBuildLauncher) GetTaskLogs(gtlp *launcher.GetTaskLogsParams) (*launcher.GetTaskLogsResult, error)
- func (cbl *CodeBuildLauncher) GetTaskStatus(gts *launcher.GetTaskStatusParams) (*launcher.GetTaskStatusResult, error)
- func (cbl *CodeBuildLauncher) LaunchTask(rt *launcher.LaunchTaskParams) (*launcher.LaunchTaskResult, error)
- func (cbl *CodeBuildLauncher) WaitForTask(wft *launcher.WaitForTaskParams) (*launcher.WaitForTaskResult, error)
Constants ¶
View Source
const ( // CodebuildStreamPrefix the prefix used in the cloudwatch log stream name CodebuildStreamPrefix = "codebuild" // CodebuildLogGroupFormat the name format for cloudwatch log group names CodebuildLogGroupFormat = "/aws/codebuild/%s" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeBuildLauncher ¶
type CodeBuildLauncher struct {
// contains filtered or unexported fields
}
CodeBuildLauncher used to launch containers in CodeBuild
func NewCodeBuildLauncher ¶
func NewCodeBuildLauncher(cfgs ...*aws.Config) *CodeBuildLauncher
NewCodeBuildLauncher create a new launcher
func (*CodeBuildLauncher) CleanupTask ¶
func (cbl *CodeBuildLauncher) CleanupTask(ctp *launcher.CleanupTaskParams) (*launcher.CleanupTaskResult, error)
CleanupTask clean up codebuild project
func (*CodeBuildLauncher) DefineAndLaunch ¶
func (cbl *CodeBuildLauncher) DefineAndLaunch(dlp *launcher.DefineAndLaunchParams) (*launcher.DefineAndLaunchResult, error)
DefineAndLaunch define and launch a container in ECS
func (*CodeBuildLauncher) DefineTask ¶
func (cbl *CodeBuildLauncher) DefineTask(dp *launcher.DefineTaskParams) (*launcher.DefineTaskResult, error)
DefineTask create or update a codebuild job for this definition and return the ARN of this job
func (*CodeBuildLauncher) GetTaskLogs ¶
func (cbl *CodeBuildLauncher) GetTaskLogs(gtlp *launcher.GetTaskLogsParams) (*launcher.GetTaskLogsResult, error)
GetTaskLogs get task logs
func (*CodeBuildLauncher) GetTaskStatus ¶
func (cbl *CodeBuildLauncher) GetTaskStatus(gts *launcher.GetTaskStatusParams) (*launcher.GetTaskStatusResult, error)
GetTaskStatus get task status
func (*CodeBuildLauncher) LaunchTask ¶
func (cbl *CodeBuildLauncher) LaunchTask(rt *launcher.LaunchTaskParams) (*launcher.LaunchTaskResult, error)
LaunchTask run a container task and monitor it till completion
func (*CodeBuildLauncher) WaitForTask ¶
func (cbl *CodeBuildLauncher) WaitForTask(wft *launcher.WaitForTaskParams) (*launcher.WaitForTaskResult, error)
WaitForTask wait for task to complete
Click to show internal directories.
Click to hide internal directories.