Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsEcsSdk ¶
type AwsEcsSdk struct {
// contains filtered or unexported fields
}
AwsEcsSdk implements the AwsEcsAPI.
func NewAwsEcsSdk ¶
NewAwsEcsSdk creates a new AwsEcsSdk using the provided ECS service and cluster name. It returns an error if the cluster cannot be described.
func NewAwsEcsSdkFromConfig ¶
NewAwsEcsSdkFromConfig creates a new AwsEcsSdk using the configuration exposed via viper. The AWS ID, secret, region and cluster name are retrieved from the configuration.
func (*AwsEcsSdk) DescribeService ¶
DescribeService returns the service description for a single service.
func (*AwsEcsSdk) DescribeTaskDefinition ¶
func (s *AwsEcsSdk) DescribeTaskDefinition(taskDefArn string) (*ecs.TaskDefinition, error)
DescribeTaskDefinition returns the task definition for the provided arn.
func (*AwsEcsSdk) ListServices ¶
ListServices returns the service arns of the current cluster.
Click to show internal directories.
Click to hide internal directories.