Documentation
¶
Index ¶
- type InfraConfig
- func (c InfraConfig) GetEcrLoginAuth() (types.AuthConfig, error)
- func (c InfraConfig) GetService() (*ecstypes.Service, error)
- func (c InfraConfig) GetTargetGroupHealth(targetGroupArn string) ([]elbv2types.TargetHealthDescription, error)
- func (c InfraConfig) GetTaskDefinition() (*ecstypes.TaskDefinition, error)
- func (c InfraConfig) Print(logger *log.Logger)
- func (c InfraConfig) PushImage(ctx context.Context, targetUrl docker.ImageUrl, targetAuth types.AuthConfig) error
- func (c InfraConfig) RetagImage(ctx context.Context, sourceUrl, targetUrl docker.ImageUrl) error
- func (c InfraConfig) UpdateServiceTask(taskDefinitionArn string) error
- func (c InfraConfig) UpdateTaskImageTag(taskDefinition *ecstypes.TaskDefinition, imageTag string) (*ecstypes.TaskDefinition, error)
- type Provider
- func (p Provider) DefaultLogProvider() string
- func (p Provider) Deploy(nsConfig api.Config, details app.Details, userConfig map[string]string) error
- func (p Provider) Push(nsConfig api.Config, details app.Details, userConfig map[string]string) error
- func (p Provider) Status(nsConfig api.Config, details app.Details) (app.StatusReport, error)
- func (p Provider) StatusDetail(nsConfig api.Config, details app.Details) (app.StatusDetailReports, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfraConfig ¶
type InfraConfig struct {
Outputs aws_fargate_service.Outputs
}
InfraConfig provides a minimal understanding of the infrastructure provisioned for a module type=aws-fargate
func (InfraConfig) GetEcrLoginAuth ¶
func (c InfraConfig) GetEcrLoginAuth() (types.AuthConfig, error)
func (InfraConfig) GetService ¶ added in v0.0.26
func (c InfraConfig) GetService() (*ecstypes.Service, error)
func (InfraConfig) GetTargetGroupHealth ¶ added in v0.0.26
func (c InfraConfig) GetTargetGroupHealth(targetGroupArn string) ([]elbv2types.TargetHealthDescription, error)
func (InfraConfig) GetTaskDefinition ¶
func (c InfraConfig) GetTaskDefinition() (*ecstypes.TaskDefinition, error)
func (InfraConfig) Print ¶
func (c InfraConfig) Print(logger *log.Logger)
func (InfraConfig) PushImage ¶
func (c InfraConfig) PushImage(ctx context.Context, targetUrl docker.ImageUrl, targetAuth types.AuthConfig) error
func (InfraConfig) RetagImage ¶
func (InfraConfig) UpdateServiceTask ¶
func (c InfraConfig) UpdateServiceTask(taskDefinitionArn string) error
func (InfraConfig) UpdateTaskImageTag ¶
func (c InfraConfig) UpdateTaskImageTag(taskDefinition *ecstypes.TaskDefinition, imageTag string) (*ecstypes.TaskDefinition, error)
type Provider ¶
type Provider struct { }
func (Provider) DefaultLogProvider ¶ added in v0.0.22
func (Provider) Deploy ¶
func (p Provider) Deploy(nsConfig api.Config, details app.Details, userConfig map[string]string) error
Deploy takes the following steps to deploy an AWS Fargate service
Get task definition Change image tag in task definition Register new task definition Deregister old task definition Update ECS Service (This always causes deployment)
func (Provider) StatusDetail ¶ added in v0.0.26
Click to show internal directories.
Click to hide internal directories.