Versions in this module Expand all Collapse all v0 v0.3.4 Sep 4, 2017 Changes in this version + type Image struct + Repository string + Tag string + type Service struct + BaseTaskDefinition *string + Cluster string + EnableRollback bool + Name string + NewImage *Image + TaskDefinition *TaskDefinition + Timeout time.Duration + func NewService(cluster, name, imageWithTag string, baseTaskDefinition *string, ...) (*Service, error) + func (s *Service) Deploy() error + func (s *Service) DescribeService() (*ecs.Service, error) + func (s *Service) Rollback(service *ecs.Service, currentTaskDefinition *ecs.TaskDefinition) error + func (s *Service) UpdateService(service *ecs.Service, taskDefinition *ecs.TaskDefinition) error + type Task struct + BaseTaskDefinition *string + Cluster string + Command []*string + Name string + NewImage *Image + TaskDefinition *TaskDefinition + Timeout time.Duration + func NewTask(cluster, name, imageWithTag, command string, baseTaskDefinition *string, ...) (*Task, error) + func (t *Task) Run() ([]*ecs.Task, error) + func (t *Task) RunTask(taskDefinition *ecs.TaskDefinition) ([]*ecs.Task, error) + type TaskDefinition struct + func NewTaskDefinition(profile, region string) *TaskDefinition + func (d *TaskDefinition) DescribeTaskDefinition(taskDefinitionName string) (*ecs.TaskDefinition, error) + func (d *TaskDefinition) NewContainerDefinition(baseDefinition *ecs.ContainerDefinition, newImage *Image) (*ecs.ContainerDefinition, error) + func (d *TaskDefinition) RegisterTaskDefinition(baseDefinition *ecs.TaskDefinition, newImage *Image) (*ecs.TaskDefinition, error)