Documentation
¶
Index ¶
- func ApprovePipelines(client *codepipeline.CodePipeline, stagesToPutStatus map[string]StageInfo, ...) error
- func CreateCodePipelineSession() (*codepipeline.CodePipeline, error)
- func CreateSTSSession() (*sts.STS, error)
- func GetLatestPipelineExecution(client *codepipeline.CodePipeline, pipelineName string) (codepipeline.PipelineExecutionSummary, error)
- func GetPipelineNames(client *codepipeline.CodePipeline, searchTerm string) ([]string, error)
- func GetSession() (*session.Session, error)
- func RunPipeline(client *codepipeline.CodePipeline, pipelineName string) (string, error)
- func RunPipelines(client *codepipeline.CodePipeline, pipelineNames []string) (map[string]string, error)
- type StageInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApprovePipelines ¶
func ApprovePipelines(client *codepipeline.CodePipeline, stagesToPutStatus map[string]StageInfo, approvalStatus string) error
func CreateCodePipelineSession ¶
func CreateCodePipelineSession() (*codepipeline.CodePipeline, error)
Create an AWS Session with a Code Pipeline client
func CreateSTSSession ¶ added in v0.3.0
Create an AWS Session with an STS client
func GetLatestPipelineExecution ¶
func GetLatestPipelineExecution(client *codepipeline.CodePipeline, pipelineName string) (codepipeline.PipelineExecutionSummary, error)
func GetPipelineNames ¶
func GetPipelineNames(client *codepipeline.CodePipeline, searchTerm string) ([]string, error)
Given a search term, return a slice of pipeline names
func GetSession ¶ added in v0.3.0
func RunPipeline ¶
func RunPipeline(client *codepipeline.CodePipeline, pipelineName string) (string, error)
Given a pipeline name, run that pipeline
func RunPipelines ¶
func RunPipelines(client *codepipeline.CodePipeline, pipelineNames []string) (map[string]string, error)
Given pipeline names, run those pipelines
Types ¶
type StageInfo ¶
func GetLastExecutedStage ¶
func GetLastExecutedStage(client *codepipeline.CodePipeline, pipelineName string) (StageInfo, error)
Given a pipeline name, return the stage that was last executed
Click to show internal directories.
Click to hide internal directories.