Documentation
¶
Index ¶
- func SelectCluster(ctx context.Context, client Client, selector Selector, clusterId string) (*types.Cluster, error)
- func SelectContainer(containers []types.Container, containerId string) (*types.Container, error)
- func SelectContainerDefinition(ctx context.Context, client *ecs.Client, taskDefinitionArn string, ...) (*types.ContainerDefinition, error)
- func SelectService(ctx context.Context, client Client, selector Selector, clusterArn string, ...) (*types.Service, error)
- func SelectTask(ctx context.Context, client Client, selector Selector, clusterArn string, ...) (*types.Task, error)
- type Client
- type DefaultSelector
- type Selector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectCluster ¶
func SelectContainer ¶
func SelectService ¶
Types ¶
type Client ¶
type Client interface { DescribeClusters(ctx context.Context, input *ecs.DescribeClustersInput, options ...func(*ecs.Options)) (*ecs.DescribeClustersOutput, error) DescribeServices(ctx context.Context, input *ecs.DescribeServicesInput, options ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error) DescribeTasks(ctx context.Context, input *ecs.DescribeTasksInput, options ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error) ListClusters(ctx context.Context, input *ecs.ListClustersInput, options ...func(*ecs.Options)) (*ecs.ListClustersOutput, error) ListServices(ctx context.Context, input *ecs.ListServicesInput, options ...func(*ecs.Options)) (*ecs.ListServicesOutput, error) ListTasks(ctx context.Context, input *ecs.ListTasksInput, options ...func(*ecs.Options)) (*ecs.ListTasksOutput, error) }
type DefaultSelector ¶
type DefaultSelector struct{}
Click to show internal directories.
Click to hide internal directories.