awsecs

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeClusters

func DescribeClusters(ctx context.Context, client DescribeClustersApi, arns []string, includes []types.ClusterField) (*ecs.DescribeClustersOutput, error)

func DescribeContainerInstances

func DescribeContainerInstances(ctx context.Context, client DescribeContainerInstancesApi, clusterName string, containerInstanceArns []string) (*ecs.DescribeContainerInstancesOutput, error)

func DescribeEcsService

func DescribeEcsService(ctx context.Context, client DescribeServicesApi, serviceName string, cluster string) (*ecs.DescribeServicesOutput, error)

func DescribeServices

func DescribeServices(ctx context.Context, client DescribeServicesApi, serviceNames []string, cluster string) (*ecs.DescribeServicesOutput, error)

func DescribeTaskDefinition

func DescribeTaskDefinition(ctx context.Context, client DescribeTaskDefinitionApi, taskDefinitionArn string) (*ecs.DescribeTaskDefinitionOutput, error)

func DescribeTasks

func DescribeTasks(ctx context.Context, client DescribeTasksApi, taskArns []string, clusterName string) (*ecs.DescribeTasksOutput, error)

func ListClusters

func ListClusters(ctx context.Context, client ListClustersApi) (*ecs.ListClustersOutput, error)

func ListContainerInstances

func ListContainerInstances(ctx context.Context, client ListContainerInstancesApi, clusterName string) (*ecs.ListContainerInstancesOutput, error)

func ListServices

func ListServices(ctx context.Context, api ListServicesApi, clusterName string) (*ecs.ListServicesOutput, error)

func ListTasks

func ListTasks(ctx context.Context, client ListTasksApi, clusterName, service string) (*ecs.ListTasksOutput, error)

func NewClient added in v0.3.0

func NewClient(useTracing bool) *ecs.Client

func StopEcsService

func StopEcsService(ctx context.Context, client ECSServiceApi, name string, clusterName string) error

func TagResource

func TagResource(ctx context.Context, client TagResourceApi, resource string, tagmap map[string]string) error

func UpdateEcsService

func UpdateEcsService(ctx context.Context, client ECSServiceApi, image string, serviceName string, cluster string) (*ecs.UpdateServiceOutput, error)

Types

type DescribeClustersApi

type DescribeClustersApi interface {
	DescribeClusters(ctx context.Context, params *ecs.DescribeClustersInput, optFns ...func(*ecs.Options)) (*ecs.DescribeClustersOutput, error)
}

type DescribeContainerInstancesApi

type DescribeContainerInstancesApi interface {
	DescribeContainerInstances(ctx context.Context, params *ecs.DescribeContainerInstancesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeContainerInstancesOutput, error)
}

type DescribeServicesApi

type DescribeServicesApi interface {
	DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error)
}

type DescribeTaskDefinitionApi

type DescribeTaskDefinitionApi interface {
	DescribeTaskDefinition(ctx context.Context, params *ecs.DescribeTaskDefinitionInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTaskDefinitionOutput, error)
}

type DescribeTasksApi

type DescribeTasksApi interface {
	DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)
}

type ListClustersApi

type ListClustersApi interface {
	ListClusters(ctx context.Context, params *ecs.ListClustersInput, optFns ...func(*ecs.Options)) (*ecs.ListClustersOutput, error)
}

type ListContainerInstancesApi

type ListContainerInstancesApi interface {
	ListContainerInstances(ctx context.Context, params *ecs.ListContainerInstancesInput, optFns ...func(*ecs.Options)) (*ecs.ListContainerInstancesOutput, error)
}

type ListServicesApi

type ListServicesApi interface {
	ListServices(ctx context.Context, params *ecs.ListServicesInput, optFns ...func(*ecs.Options)) (*ecs.ListServicesOutput, error)
}

type ListTasksApi

type ListTasksApi interface {
	ListTasks(ctx context.Context, params *ecs.ListTasksInput, optFns ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)
}

type RegisterTaskDefinitionApi

type RegisterTaskDefinitionApi interface {
	RegisterTaskDefinition(ctx context.Context, params *ecs.RegisterTaskDefinitionInput, optFns ...func(*ecs.Options)) (*ecs.RegisterTaskDefinitionOutput, error)
}

type StopTaskApi

type StopTaskApi interface {
	StopTask(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options)) (*ecs.StopTaskOutput, error)
}

type TagResourceApi

type TagResourceApi interface {
	TagResource(ctx context.Context, params *ecs.TagResourceInput, optFns ...func(*ecs.Options)) (*ecs.TagResourceOutput, error)
}

type UpdateServiceApi

type UpdateServiceApi interface {
	UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, optFns ...func(*ecs.Options)) (*ecs.UpdateServiceOutput, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL