Versions in this module Expand all Collapse all v0 v0.3.0 Mar 15, 2017 v0.2.1 Mar 2, 2017 Changes in this version + func NewAWSSession() (*session.Session, error) + type CSSWrapper interface + GetInstance func(cluster *string, instanceARN *string) (*models.ContainerInstance, error) + GetTask func(cluster *string, taskARN *string) (*models.Task, error) + ListInstances func(cluster *string) ([]*models.ContainerInstance, error) + ListTasks func(cluster *string) ([]*models.Task, error) + func NewCSSWrapper(clusterStateServiceEndpoint string) (CSSWrapper, error) + type CloudwatchWrapper interface + EmitFailureMetric func(metricName *string) error + EmitSuccessMetric func(metricName *string) error + func NewCloudwatchWrapper(sess *session.Session) (CloudwatchWrapper, error) + type EC2Wrapper interface + LaunchInstances func(count *int64, clusterName *string) ([]*string, error) + TerminateInstances func(instanceIDs []*string) error + func NewEC2Wrapper(sess *session.Session) (EC2Wrapper, error) + type ECSWrapper interface + CreateCluster func(clusterName *string) error + DeleteCluster func(clusterName *string) error + DeregisterContainerInstances func(clusterName *string, instanceARNs []*string) error + ListContainerInstances func(clusterName *string) ([]*string, error) + StartTask func(clusterName *string, instanceARN *string) (*string, error) + func NewECSWrapper(sess *session.Session) (ECSWrapper, error)