Documentation
¶
Index ¶
- type CloudManualApprovalOperation
- func (o *CloudManualApprovalOperation) ApproveAction(ctx context.Context, action cloud.ApprovalAction, approved bool, ...) error
- func (o *CloudManualApprovalOperation) Description() string
- func (o *CloudManualApprovalOperation) Execute(ctx context.Context, params map[string]interface{}) (interface{}, error)
- func (o *CloudManualApprovalOperation) GetPendingApprovals(ctx context.Context) ([]cloud.ApprovalAction, error)
- func (o *CloudManualApprovalOperation) IsUIVisible() bool
- func (o *CloudManualApprovalOperation) Name() string
- type CloudPipelineStatusOperation
- func (o *CloudPipelineStatusOperation) Description() string
- func (o *CloudPipelineStatusOperation) Execute(ctx context.Context, params map[string]interface{}) (interface{}, error)
- func (o *CloudPipelineStatusOperation) GetPipelineStatus(ctx context.Context) ([]cloud.PipelineStatus, error)
- func (o *CloudPipelineStatusOperation) IsUIVisible() bool
- func (o *CloudPipelineStatusOperation) Name() string
- type CloudStartPipelineOperation
- func (o *CloudStartPipelineOperation) Description() string
- func (o *CloudStartPipelineOperation) Execute(ctx context.Context, params map[string]interface{}) (interface{}, error)
- func (o *CloudStartPipelineOperation) IsUIVisible() bool
- func (o *CloudStartPipelineOperation) Name() string
- func (o *CloudStartPipelineOperation) StartPipelineExecution(ctx context.Context, pipelineName, commitID string) error
- type InternalOperationsCategory
- type Service
- type WorkflowsCategory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudManualApprovalOperation ¶ added in v0.1.5
type CloudManualApprovalOperation struct {
// contains filtered or unexported fields
}
CloudManualApprovalOperation represents an operation to manage manual approvals in CodePipeline. It implements the cloud.CodePipelineManualApprovalOperation interface.
func NewCloudManualApprovalOperation ¶ added in v0.1.5
func NewCloudManualApprovalOperation(profile, region string) *CloudManualApprovalOperation
NewCloudManualApprovalOperation creates a new manual approval operation.
func (*CloudManualApprovalOperation) ApproveAction ¶ added in v0.1.5
func (o *CloudManualApprovalOperation) ApproveAction(ctx context.Context, action cloud.ApprovalAction, approved bool, comment string) error
ApproveAction approves or rejects an approval action.
func (*CloudManualApprovalOperation) Description ¶ added in v0.1.5
func (o *CloudManualApprovalOperation) Description() string
Description returns the operation's description.
func (*CloudManualApprovalOperation) Execute ¶ added in v0.1.5
func (o *CloudManualApprovalOperation) Execute(ctx context.Context, params map[string]interface{}) (interface{}, error)
Execute executes the operation with the given parameters.
func (*CloudManualApprovalOperation) GetPendingApprovals ¶ added in v0.1.5
func (o *CloudManualApprovalOperation) GetPendingApprovals(ctx context.Context) ([]cloud.ApprovalAction, error)
GetPendingApprovals returns all pending manual approval actions.
func (*CloudManualApprovalOperation) IsUIVisible ¶ added in v0.1.5
func (o *CloudManualApprovalOperation) IsUIVisible() bool
IsUIVisible returns whether this operation should be visible in the UI.
func (*CloudManualApprovalOperation) Name ¶ added in v0.1.5
func (o *CloudManualApprovalOperation) Name() string
Name returns the operation's name.
type CloudPipelineStatusOperation ¶ added in v0.1.5
type CloudPipelineStatusOperation struct {
// contains filtered or unexported fields
}
CloudPipelineStatusOperation represents an operation to view pipeline status.
func NewCloudPipelineStatusOperation ¶ added in v0.1.5
func NewCloudPipelineStatusOperation(profile, region string) *CloudPipelineStatusOperation
NewCloudPipelineStatusOperation creates a new pipeline status operation.
func (*CloudPipelineStatusOperation) Description ¶ added in v0.1.5
func (o *CloudPipelineStatusOperation) Description() string
Description returns the operation's description.
func (*CloudPipelineStatusOperation) Execute ¶ added in v0.1.5
func (o *CloudPipelineStatusOperation) Execute(ctx context.Context, params map[string]interface{}) (interface{}, error)
Execute executes the operation with the given parameters.
func (*CloudPipelineStatusOperation) GetPipelineStatus ¶ added in v0.1.5
func (o *CloudPipelineStatusOperation) GetPipelineStatus(ctx context.Context) ([]cloud.PipelineStatus, error)
GetPipelineStatus returns the status of all pipelines.
func (*CloudPipelineStatusOperation) IsUIVisible ¶ added in v0.1.5
func (o *CloudPipelineStatusOperation) IsUIVisible() bool
IsUIVisible returns whether this operation should be visible in the UI.
func (*CloudPipelineStatusOperation) Name ¶ added in v0.1.5
func (o *CloudPipelineStatusOperation) Name() string
Name returns the operation's name.
type CloudStartPipelineOperation ¶ added in v0.1.5
type CloudStartPipelineOperation struct {
// contains filtered or unexported fields
}
CloudStartPipelineOperation represents an operation to start a pipeline execution.
func NewCloudStartPipelineOperation ¶ added in v0.1.5
func NewCloudStartPipelineOperation(profile, region string) *CloudStartPipelineOperation
NewCloudStartPipelineOperation creates a new start pipeline operation.
func (*CloudStartPipelineOperation) Description ¶ added in v0.1.5
func (o *CloudStartPipelineOperation) Description() string
Description returns the operation's description.
func (*CloudStartPipelineOperation) Execute ¶ added in v0.1.5
func (o *CloudStartPipelineOperation) Execute(ctx context.Context, params map[string]interface{}) (interface{}, error)
Execute executes the operation with the given parameters.
func (*CloudStartPipelineOperation) IsUIVisible ¶ added in v0.1.5
func (o *CloudStartPipelineOperation) IsUIVisible() bool
IsUIVisible returns whether this operation should be visible in the UI.
func (*CloudStartPipelineOperation) Name ¶ added in v0.1.5
func (o *CloudStartPipelineOperation) Name() string
Name returns the operation's name.
func (*CloudStartPipelineOperation) StartPipelineExecution ¶ added in v0.1.5
func (o *CloudStartPipelineOperation) StartPipelineExecution(ctx context.Context, pipelineName, commitID string) error
StartPipelineExecution starts a pipeline execution.
type InternalOperationsCategory ¶
type InternalOperationsCategory struct {
// contains filtered or unexported fields
}
InternalOperationsCategory represents the CodePipeline internal operations category.
func NewInternalOperationsCategory ¶
func NewInternalOperationsCategory(profile, region string) *InternalOperationsCategory
NewInternalOperationsCategory creates a new CodePipeline internal operations category.
func (*InternalOperationsCategory) Description ¶
func (c *InternalOperationsCategory) Description() string
Description returns the category's description.
func (*InternalOperationsCategory) IsUIVisible ¶
func (c *InternalOperationsCategory) IsUIVisible() bool
IsUIVisible returns whether this category should be visible in the UI.
func (*InternalOperationsCategory) Name ¶
func (c *InternalOperationsCategory) Name() string
Name returns the category's name.
func (*InternalOperationsCategory) Operations ¶
func (c *InternalOperationsCategory) Operations() []cloud.Operation
Operations returns all available operations for this category.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents the CodePipeline service.
func NewService ¶
NewService creates a new CodePipeline service.
func (*Service) Categories ¶
Categories returns all available categories for this service.
func (*Service) Description ¶
Description returns the service's description.
type WorkflowsCategory ¶
type WorkflowsCategory struct {
// contains filtered or unexported fields
}
WorkflowsCategory represents the CodePipeline workflows category.
func NewWorkflowsCategory ¶
func NewWorkflowsCategory(profile, region string) *WorkflowsCategory
NewWorkflowsCategory creates a new CodePipeline workflows category.
func (*WorkflowsCategory) Description ¶
func (c *WorkflowsCategory) Description() string
Description returns the category's description.
func (*WorkflowsCategory) IsUIVisible ¶
func (c *WorkflowsCategory) IsUIVisible() bool
IsUIVisible returns whether this category should be visible in the UI.
func (*WorkflowsCategory) Name ¶
func (c *WorkflowsCategory) Name() string
Name returns the category's name.
func (*WorkflowsCategory) Operations ¶
func (c *WorkflowsCategory) Operations() []cloud.Operation
Operations returns all available operations for this category.