Versions in this module Expand all Collapse all v1 v1.6.0 Jan 5, 2023 Changes in this version + const WaitUntilDrainingStarted + const WaitUntilPrimaryRolled + var ErrInvalidWaitUntil = errors.New("invalid wait until received") + var ErrLoadBalancerNotConfigured = backoff.Permanent(errors.New("the service was deleted after the update")) + var ErrWaitingForDrainingState = errors.New("waiting for draining state") + var WaitUntilOptionList = []string type ECSServiceUpdate + EcsApi ecsiface.ECSAPI + ElbApi elbv2iface.ELBV2API + WaitUntil *string v1.3.1 Oct 22, 2020 Changes in this version + const TaskRoleKnockoutValue + var EnvKnockOutValue = "" + var ErrContainerInstanceNotFound = backoff.Permanent(errors.New("container instance not found")) + var ErrDeploymentChangedElsewhere = errors.New("the deployment was changed elsewhere") + var ErrFailedRollback = errors.New("failed rollback") + var ErrNotRunningDesiredCount = errors.New("not running the desired count") + var ErrNothingToRollback = errors.New("nothing to rollback") + var ErrOtherThanPrimaryDeploymentFound = errors.New("other than PRIMARY deployment found") + var ErrPermanentNothingToRollback = backoff.Permanent(ErrNothingToRollback) + var ErrServiceDeletedAfterUpdate = backoff.Permanent(errors.New("the service was deleted after the update")) + var ErrServiceNotFound = errors.New("the service does not exist") + var ErrSuccessfulRollback = errors.New("successful rollback") + type ECSServiceUpdate struct + API ecs.ECS + BackOff backoff.BackOff + Cluster string + DesiredCount *int64 + Environment map[string]map[string]string + Image map[string]string + LogDriverOptions map[string]map[string]map[string]string + LogDriverSecrets map[string]map[string]map[string]string + Secrets map[string]map[string]string + Service string + TaskRole string + Taskdef string + func (e *ECSServiceUpdate) Apply() error + type EnforceLaunchConfig struct + ASAPI autoscaling.AutoScaling + ASGName string + BackOff backoff.BackOff + EC2API ec2.EC2 + ECSAPI ecs.ECS + ECSClusterName string + func (e *EnforceLaunchConfig) Apply() error