Versions in this module Expand all Collapse all v1 v1.3.0 Aug 3, 2026 v1.2.0 Aug 3, 2026 Changes in this version + var ErrActionNotFound = awserr.New("ActionNotFoundException", awserr.ErrNotFound) + var ErrApprovalAlreadyCompleted = awserr.New("ApprovalAlreadyCompletedException", awserr.ErrConflict) + var ErrInvalidApprovalToken = awserr.New("InvalidApprovalTokenException", awserr.ErrInvalidParameter) + var ErrStageNotRetryable = awserr.New("StageNotRetryableException", awserr.ErrInvalidParameter) + var ErrUnableToRollbackStage = awserr.New("UnableToRollbackStageException", awserr.ErrInvalidParameter) type ActionExecution + Summary string + Token string + type ActionRevisionRecord struct + Created float64 + RevisionChangeID string + RevisionID string + type ActionTypeExecutor struct + Configuration *ActionTypeExecutorConfiguration + JobTimeout *int + PolicyStatementsTemplate string + Type string + type ActionTypeExecutorConfiguration struct + JobWorkerExecutorConfiguration *JobWorkerExecutorConfig + LambdaExecutorConfiguration *LambdaExecutorConfig + type ActionTypePermissions struct + AllowedAccounts []string + type ActionTypeProperty struct + Description string + Key bool + Name string + NoEcho bool + Optional bool + Queryable bool + type ActionTypeUrls struct + ConfigurationURL string + EntityURLTemplate string + ExecutionURLTemplate string + RevisionURLTemplate string type CustomActionType + Description string + Executor *ActionTypeExecutor + Permissions *ActionTypePermissions + Properties []ActionTypeProperty + Urls *ActionTypeUrls + type JobWorkerExecutorConfig struct + PollingAccounts []string + PollingServicePrincipals []string + type LambdaExecutorConfig struct + LambdaFunctionArn string type PipelineExecution + ExecutionMode string + ExecutionType string + LastUpdateTime time.Time + RollbackTargetExecutionID string + StartTime time.Time v1.1.4 Jul 20, 2026 v1.1.3 Jul 20, 2026 v1.1.2 Jul 20, 2026 v1.1.1 Jul 20, 2026 v1.1.0 Jul 19, 2026 Changes in this version + const ExecutionModeParallel + const ExecutionModeQueued + const ExecutionModeSuperseded + const PipelineTypeV1 + const PipelineTypeV2 + const WebhookAuthGitHubHMAC + const WebhookAuthIP + const WebhookAuthUnauthenticated + var ErrActionTypeNotFound = awserr.New("ActionTypeNotFoundException", awserr.ErrNotFound) + var ErrAlreadyExists = awserr.New("InvalidStructureException", awserr.ErrAlreadyExists) + var ErrConflict = awserr.New("ConflictException", awserr.ErrConflict) + var ErrExecutionNotFound = awserr.New("PipelineExecutionNotFoundException", awserr.ErrNotFound) + var ErrInvalidStructure = awserr.New("InvalidStructureException", awserr.ErrInvalidParameter) + var ErrJobNotFound = awserr.New("JobNotFoundException", awserr.ErrNotFound) + var ErrNilAppContext = errors.New("AppContext is required") + var ErrNotFound = awserr.New("PipelineNotFoundException", awserr.ErrNotFound) + var ErrPipelineNameInUse = awserr.New("PipelineNameInUseException", awserr.ErrAlreadyExists) + var ErrResourceInUse = awserr.New("ResourceInUseException", awserr.ErrAlreadyExists) + var ErrResourceNotFound = awserr.New("ResourceNotFoundException", awserr.ErrNotFound) + var ErrStageNotFound = awserr.New("StageNotFoundException", awserr.ErrNotFound) + var ErrValidation = awserr.New("ValidationException", awserr.ErrInvalidParameter) + var ErrVersionNotFound = awserr.New("PipelineVersionNotFoundException", awserr.ErrNotFound) + var ErrWebhookNotFound = awserr.New("WebhookNotFoundException", awserr.ErrNotFound) + type Action struct + ActionTypeID ActionTypeID + Configuration map[string]string + InputArtifacts []ArtifactRef + Name string + Namespace string + OutputArtifacts []ArtifactRef + Region string + RoleArn string + RunOrder int + TimeoutInMinutes int + type ActionConfigurationProperty struct + Description string + Key bool + Name string + Queryable bool + Required bool + Secret bool + Type string + type ActionExecution struct + ActionExecutionID string + ActionName string + LastUpdateTime time.Time + PipelineExecutionID string + StageName string + StartTime time.Time + Status string + type ActionTypeID struct + Category string + Owner string + Provider string + Version string + type ActionTypeSettings struct + EntityURLTemplate string + ExecutionURLTemplate string + RevisionURLTemplate string + ThirdPartyConfigurationURL string + type ArtifactDetails struct + MaximumCount int + MinimumCount int + type ArtifactRef struct + Name string + type ArtifactStore struct + EncryptionKey *EncryptionKey + Location string + Type string + type Condition struct + Result string + Rules []Rule + type CustomActionType struct + Category string + ConfigurationProperties []ActionConfigurationProperty + InputArtifactDetails ArtifactDetails + OutputArtifactDetails ArtifactDetails + Owner string + Provider string + Settings *ActionTypeSettings + Tags map[string]string + Version string + type EncryptionKey struct + ID string + Type string + type GitBranchFilterCriteria struct + Excludes []string + Includes []string + type GitConfiguration struct + PullRequest []GitPullRequestFilter + Push []GitPushFilter + SourceActionName string + type GitFilePathsFilterCriteria struct + Excludes []string + Includes []string + type GitPullRequestFilter struct + Branches *GitBranchFilterCriteria + Events []string + FilePaths *GitFilePathsFilterCriteria + type GitPushFilter struct + Branches *GitBranchFilterCriteria + FilePaths *GitFilePathsFilterCriteria + Tags *GitTagFilterCriteria + type GitTagFilterCriteria struct + Excludes []string + Includes []string + type Handler struct + Backend *InMemoryBackend + func NewHandler(backend *InMemoryBackend) *Handler + func (h *Handler) ChaosOperations() []string + func (h *Handler) ChaosRegions() []string + func (h *Handler) ChaosServiceName() string + func (h *Handler) ExtractOperation(c *echo.Context) string + func (h *Handler) ExtractResource(_ *echo.Context) string + func (h *Handler) GetSupportedOperations() []string + func (h *Handler) Handler() echo.HandlerFunc + func (h *Handler) MatchPriority() int + func (h *Handler) Name() string + func (h *Handler) Reset() + func (h *Handler) Restore(ctx context.Context, data []byte) error + func (h *Handler) RouteMatcher() service.Matcher + func (h *Handler) Snapshot(ctx context.Context) []byte + type InMemoryBackend struct + func NewInMemoryBackend(accountID, region string) *InMemoryBackend + func (b *InMemoryBackend) AcknowledgeJob(ctx context.Context, jobID, nonce string) (string, error) + func (b *InMemoryBackend) AcknowledgeThirdPartyJob(ctx context.Context, jobID, nonce, clientToken string) (string, error) + func (b *InMemoryBackend) AddCustomActionTypeInternal(cat *CustomActionType) + func (b *InMemoryBackend) AddJobInternal(job *Job) + func (b *InMemoryBackend) AddPipelineInternal(decl PipelineDeclaration, tags map[string]string) *Pipeline + func (b *InMemoryBackend) AddWebhookInternal(wh *Webhook) + func (b *InMemoryBackend) CreateCustomActionType(ctx context.Context, cat *CustomActionType) (*CustomActionType, error) + func (b *InMemoryBackend) CreatePipeline(ctx context.Context, decl PipelineDeclaration, tags map[string]string) (*Pipeline, error) + func (b *InMemoryBackend) DeleteCustomActionType(ctx context.Context, category, provider, version string) error + func (b *InMemoryBackend) DeletePipeline(ctx context.Context, name string) error + func (b *InMemoryBackend) DeleteWebhook(ctx context.Context, name string) error + func (b *InMemoryBackend) DeregisterWebhookWithThirdParty(ctx context.Context, name string) error + func (b *InMemoryBackend) DisableStageTransition(ctx context.Context, pipelineName, stageName, transitionType, reason string) error + func (b *InMemoryBackend) EnableStageTransition(ctx context.Context, pipelineName, stageName, transitionType string) error + func (b *InMemoryBackend) GetActionType(ctx context.Context, category, owner, provider, version string) (*CustomActionType, error) + func (b *InMemoryBackend) GetJobDetails(ctx context.Context, jobID string) (*Job, error) + func (b *InMemoryBackend) GetPipeline(ctx context.Context, name string) (*Pipeline, error) + func (b *InMemoryBackend) GetPipelineExecution(ctx context.Context, pipelineName, executionID string) (*PipelineExecution, error) + func (b *InMemoryBackend) GetPipelineState(ctx context.Context, pipelineName string) ([]StageState, error) + func (b *InMemoryBackend) GetStageTransitionState(ctx context.Context, pipelineName, stageName, transitionType string) *StageTransitionState + func (b *InMemoryBackend) GetThirdPartyJobDetails(ctx context.Context, jobID, clientToken string) (*Job, error) + func (b *InMemoryBackend) ListActionExecutions(ctx context.Context, pipelineName, pipelineExecutionID string) ([]map[string]any, error) + func (b *InMemoryBackend) ListActionTypes(ctx context.Context) []*CustomActionType + func (b *InMemoryBackend) ListDeployActionExecutionTargets(ctx context.Context, pipelineName, executionID string) ([]map[string]any, error) + func (b *InMemoryBackend) ListPipelineExecutions(ctx context.Context, pipelineName string) ([]PipelineExecution, error) + func (b *InMemoryBackend) ListPipelines(ctx context.Context) []PipelineSummary + func (b *InMemoryBackend) ListRuleExecutions(ctx context.Context, pipelineName string) ([]map[string]any, error) + func (b *InMemoryBackend) ListRuleTypes() []map[string]any + func (b *InMemoryBackend) ListTagsForResource(ctx context.Context, resourceARN string) ([]Tag, error) + func (b *InMemoryBackend) ListWebhooks(ctx context.Context) []*Webhook + func (b *InMemoryBackend) OverrideStageCondition(ctx context.Context, pipelineName, stageName, executionID string) error + func (b *InMemoryBackend) PollForJobs(ctx context.Context, category, owner, provider, version string) ([]*Job, error) + func (b *InMemoryBackend) PollForThirdPartyJobs(ctx context.Context, category, provider, version string) ([]*Job, error) + func (b *InMemoryBackend) PutActionRevision(ctx context.Context, pipelineName, stageName, actionName string) error + func (b *InMemoryBackend) PutApprovalResult(ctx context.Context, ...) error + func (b *InMemoryBackend) PutJobFailureResult(ctx context.Context, jobID, message string) error + func (b *InMemoryBackend) PutJobSuccessResult(ctx context.Context, jobID string) error + func (b *InMemoryBackend) PutThirdPartyJobFailureResult(ctx context.Context, jobID, _, message string) error + func (b *InMemoryBackend) PutThirdPartyJobSuccessResult(ctx context.Context, jobID, _ string) error + func (b *InMemoryBackend) PutWebhook(ctx context.Context, wh *Webhook) (*Webhook, error) + func (b *InMemoryBackend) Region() string + func (b *InMemoryBackend) RegisterWebhookWithThirdParty(ctx context.Context, name string) error + func (b *InMemoryBackend) Reset() + func (b *InMemoryBackend) Restore(ctx context.Context, data []byte) error + func (b *InMemoryBackend) RetryStageExecution(ctx context.Context, pipelineName, stageName, executionID string) (*PipelineExecution, error) + func (b *InMemoryBackend) RollbackStage(ctx context.Context, pipelineName, stageName, targetExecutionID string) (*PipelineExecution, error) + func (b *InMemoryBackend) Snapshot(ctx context.Context) []byte + func (b *InMemoryBackend) StartPipelineExecution(ctx context.Context, pipelineName string) (*PipelineExecution, error) + func (b *InMemoryBackend) StopPipelineExecution(ctx context.Context, pipelineName, executionID, reason string, abandon bool) (*PipelineExecution, error) + func (b *InMemoryBackend) TagResource(ctx context.Context, resourceARN string, tags []Tag) error + func (b *InMemoryBackend) UntagResource(ctx context.Context, resourceARN string, tagKeys []string) error + func (b *InMemoryBackend) UpdateActionType(ctx context.Context, cat *CustomActionType) error + func (b *InMemoryBackend) UpdatePipeline(ctx context.Context, decl PipelineDeclaration) (*Pipeline, error) + type Job struct + ActionTypeID ActionTypeID + ID string + Nonce string + PipelineName string + Status string + type Pipeline struct + Declaration PipelineDeclaration + Metadata PipelineMetadata + Tags map[string]string + type PipelineDeclaration struct + ArtifactStore ArtifactStore + ArtifactStores map[string]ArtifactStore + ExecutionMode string + Name string + PipelineType string + RoleArn string + Stages []Stage + Triggers []Trigger + Variables []PipelineVariable + Version int + type PipelineExecution struct + PipelineExecutionID string + PipelineName string + PipelineVersion int + Status string + Trigger string + type PipelineMetadata struct + Created float64 + PipelineArn string + Updated float64 + type PipelineSummary struct + Created float64 + ExecutionMode string + Name string + PipelineArn string + PipelineType string + Updated float64 + Version int + type PipelineVariable struct + DefaultValue string + Description string + Name string + type Provider struct + func (p *Provider) Init(ctx *service.AppContext) (service.Registerable, error) + func (p *Provider) Name() string + type Rule struct + Configuration map[string]string + InputArtifacts []ArtifactRef + Name string + Region string + RoleArn string + RuleTypeID ActionTypeID + type Stage struct + Actions []Action + BeforeEntry *Condition + Name string + OnFailure *Condition + OnSuccess *Condition + Type string + type StageState struct + ActionStates []map[string]any + InboundTransitionState *StageTransitionState + OutboundTransitionState *StageTransitionState + StageName string + type StageTransitionState struct + Disabled bool + PipelineName string + Reason string + StageName string + TransitionType string + type Tag struct + Key string + Value string + type Trigger struct + GitConfiguration *GitConfiguration + ProviderType string + type Webhook struct + ARN string + Authentication string + AuthenticationConfiguration WebhookAuthConfig + Filters []WebhookFilter + LastTriggered string + Name string + RegisteredWithThirdParty bool + Tags map[string]string + TargetAction string + TargetPipeline string + URL string + type WebhookAuthConfig struct + AllowedIPRange string + SecretToken string + type WebhookFilter struct + JSONPath string + MatchEquals string