Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ECSDeployClient ¶
type ECSDeployClient interface {
GetService(ctx context.Context, clusterName string, serviceName string) (*types.Service, error)
LooksGood(ctx context.Context, service *types.Service) (bool, error)
WaitUntilGood(ctx context.Context, service *types.Service, timeout *time.Duration) error
CopyTaskDefinition(ctx context.Context, service *types.Service) (*ecssdk.RegisterTaskDefinitionInput, *types.TaskDefinition, error)
RegisterTaskDefinition(ctx context.Context, input *ecssdk.RegisterTaskDefinitionInput) (*types.TaskDefinition, error)
UpdateTaskDefinition(ctx context.Context, service *types.Service, task *types.TaskDefinition) (*types.Service, error)
}
ECSDeployClient defines a simple interface for our required ecs stuffs
type ECSDeployTaskConfig ¶
type ECSDeployTaskConfig interface {
ApplyTo(input *ecssdk.RegisterTaskDefinitionInput) (*ecssdk.RegisterTaskDefinitionInput, *ecs.TaskConfigDiff)
}
ECSDeployTaskConfig defines a simple interface of how we want a config thing to do
Click to show internal directories.
Click to hide internal directories.