Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceNotFound = errors.New("service not found")
View Source
var TaskDefinitionContainerMismatch = errors.New("number of containers in task definition does not match number of containers in update")
View Source
var TaskDefinitionNotFound = errors.New("no family definitions found")
Functions ¶
This section is empty.
Types ¶
type ContainerImage ¶
type DeployServiceInput ¶
type DeployServiceInput struct { Cluster string Service string TaskDefinition *types.TaskDefinition }
type Deployer ¶
type Deployer interface { UpdateTask(ctx context.Context, input *UpdateTaskInput) (*types.TaskDefinition, error) DeployService(ctx context.Context, input *DeployServiceInput) (*types.Service, error) }
func NewDeployer ¶
func NewDeployer(config DeployerConfig) Deployer
type DeployerConfig ¶
type UpdateTaskInput ¶
type UpdateTaskInput struct { Family string Images []ContainerImage // Deregister (optional) will deregister the previous task definition Deregister bool }
Click to show internal directories.
Click to hide internal directories.