deployment

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StageECSSync represents the ECS sync stage.
	StageECSSync = "ECS_SYNC"

	// StageECSPrimaryRollout represents the ECS primary rollout stage.
	StageECSPrimaryRollout = "ECS_PRIMARY_ROLLOUT"

	// StageECSCanaryRollout represents the ECS canary rollout stage.
	StageECSCanaryRollout = "ECS_CANARY_ROLLOUT"

	// StageECSCanaryClean represents the ECS canary clean stage.
	StageECSCanaryClean = "ECS_CANARY_CLEAN"

	// StageECSTrafficRouting represents the ECS traffic routing stage.
	StageECSTrafficRouting = "ECS_TRAFFIC_ROUTING"

	// StageECSRollback represents the ECS rollback stage.
	StageECSRollback = "ECS_ROLLBACK"
)
View Source
const (
	StageECSSyncDescription           = "Sync ECS service with given task definition"
	StageECSPrimaryRolloutDescription = "Roll out new task set as primary"
	StageECSCanaryRolloutDescription  = "Roll out new task set as canary"
	StageECSCanaryCleanDescription    = "Clean up canary task set"
	StageECSTrafficRoutingDescription = "Route traffic between primary and canary task sets"
	StageECSRollbackDescription       = "Rollback to previous task set"
)

Variables

View Source
var ErrUnsupportedStage = errors.New("unsupported stage")

Functions

This section is empty.

Types

type ECSPlugin

type ECSPlugin struct {
}

func (*ECSPlugin) BuildPipelineSyncStages

BuildPipelineSyncStages builds the stages that will be executed by the plugin.

func (*ECSPlugin) BuildQuickSyncStages

BuildQuickSyncStages builds the stages that will be executed during the quick sync process.

func (*ECSPlugin) DetermineStrategy

DetermineStrategy determines the strategy to deploy the resources.

Use PipelineSync if any container image added, removed, or changed.

Use QuickSync if no image difference.

func (*ECSPlugin) DetermineVersions

DetermineVersions determines the versions of the resources that will be deployed.

func (*ECSPlugin) ExecuteStage

ExecuteStage executes the given stage.

func (*ECSPlugin) FetchDefinedStages

func (p *ECSPlugin) FetchDefinedStages() []string

FetchDefinedStages returns the list of stages that the plugin can execute.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL