Documentation ¶
Index ¶
- type CreateServiceInput
- type CreateTaskDefinitionInput
- type Deployment
- type ECS
- func (ecs *ECS) AddEnvVarsToTaskDefinition(taskDefinitionArn string, envVars []EnvVar) string
- func (ecs *ECS) CreateCluster() error
- func (ecs *ECS) CreateService(input *CreateServiceInput)
- func (ecs *ECS) CreateTaskDefinition(input *CreateTaskDefinitionInput) string
- func (ecs *ECS) DescribeService(serviceName string) Service
- func (ecs *ECS) DescribeServices(serviceArns []string) []Service
- func (ecs *ECS) DescribeTaskDefinition(taskDefinitionArn string) *awsecs.TaskDefinition
- func (ecs *ECS) DescribeTasks(taskIds []string) []Task
- func (ecs *ECS) DescribeTasksForService(serviceName string) []Task
- func (ecs *ECS) DescribeTasksForTaskGroup(taskGroupName string) []Task
- func (ecs *ECS) DestroyService(serviceName string)
- func (ecs *ECS) GetCpuAndMemoryFromTaskDefinition(taskDefinitionArn string) (string, string)
- func (ecs *ECS) GetDesiredCount(serviceName string) int64
- func (ecs *ECS) GetEnvVarsFromTaskDefinition(taskDefinitionArn string) []EnvVar
- func (ecs *ECS) ListServices() []Service
- func (ecs *ECS) ListTaskGroups() []*TaskGroup
- func (ecs *ECS) RemoveEnvVarsFromTaskDefinition(taskDefinitionArn string, keys []string) string
- func (ecs *ECS) RestartService(serviceName string)
- func (ecs *ECS) RunTask(i *RunTaskInput)
- func (ecs *ECS) SetDesiredCount(serviceName string, desiredCount int64)
- func (ecs *ECS) StopTask(taskId string)
- func (ecs *ECS) StopTasks(taskIds []string)
- func (ecs *ECS) UpdateServiceTaskDefinition(serviceName, taskDefinitionArn string)
- func (ecs *ECS) UpdateTaskDefinitionCpuAndMemory(taskDefinitionArn, cpu, memory string) string
- func (ecs *ECS) UpdateTaskDefinitionImage(taskDefinitionArn, image string) string
- type EnvVar
- type Event
- type RunTaskInput
- type Service
- type Task
- type TaskGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServiceInput ¶
type CreateTaskDefinitionInput ¶
type CreateTaskDefinitionInput struct { Cpu string EnvVars []EnvVar ExecutionRoleArn string Image string Memory string Name string Port int64 LogGroupName string LogRegion string TaskRole string Type string }
func (*CreateTaskDefinitionInput) Environment ¶
func (input *CreateTaskDefinitionInput) Environment() []*awsecs.KeyValuePair
type Deployment ¶
type ECS ¶
type ECS struct { ClusterName string // contains filtered or unexported fields }
func (*ECS) AddEnvVarsToTaskDefinition ¶
func (*ECS) CreateCluster ¶
func (*ECS) CreateService ¶
func (ecs *ECS) CreateService(input *CreateServiceInput)
func (*ECS) CreateTaskDefinition ¶
func (ecs *ECS) CreateTaskDefinition(input *CreateTaskDefinitionInput) string
func (*ECS) DescribeService ¶
func (*ECS) DescribeServices ¶
func (*ECS) DescribeTaskDefinition ¶
func (ecs *ECS) DescribeTaskDefinition(taskDefinitionArn string) *awsecs.TaskDefinition
func (*ECS) DescribeTasks ¶
func (*ECS) DescribeTasksForService ¶
func (*ECS) DescribeTasksForTaskGroup ¶
func (*ECS) DestroyService ¶
func (*ECS) GetCpuAndMemoryFromTaskDefinition ¶
func (*ECS) GetDesiredCount ¶
func (*ECS) GetEnvVarsFromTaskDefinition ¶
func (*ECS) ListServices ¶
func (*ECS) ListTaskGroups ¶
func (*ECS) RemoveEnvVarsFromTaskDefinition ¶
func (*ECS) RestartService ¶ added in v0.2.3
func (*ECS) RunTask ¶
func (ecs *ECS) RunTask(i *RunTaskInput)
func (*ECS) SetDesiredCount ¶
func (*ECS) UpdateServiceTaskDefinition ¶
func (*ECS) UpdateTaskDefinitionCpuAndMemory ¶
func (*ECS) UpdateTaskDefinitionImage ¶
type RunTaskInput ¶
type Service ¶
type Service struct { Cluster string Cpu string Deployments []Deployment DesiredCount int64 EnvVars []EnvVar Events []Event Image string Memory string Name string PendingCount int64 RunningCount int64 SecurityGroupIds []string TargetGroupArn string TaskDefinitionArn string TaskRole string SubnetIds []string Status string }
func (*Service) AddDeployment ¶
func (s *Service) AddDeployment(d Deployment)
Click to show internal directories.
Click to hide internal directories.