aws

package
Version: v0.0.0-...-3116fbc Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAWSCredentials

func CreateAWSCredentials(accessKey string, secretKey string) *credentials.Credentials

Types

type ECSManager

type ECSManager struct {
	Credentials *credentials.Credentials
	Region      string
}

func NewECSManager

func NewECSManager(accessKey string, secretKey string, region string) *ECSManager

func (*ECSManager) CreateCluster

func (self *ECSManager) CreateCluster(clusterName string) (*ecs.CreateClusterOutput, error)

func (*ECSManager) CreateService

func (self *ECSManager) CreateService(cluster string, service schema.Service) (*ecs.CreateServiceOutput, error)

func (*ECSManager) DeleteService

func (self *ECSManager) DeleteService(cluster string, service string) (*ecs.DeleteServiceOutput, error)

func (*ECSManager) DeregisterTaskDefinition

func (self *ECSManager) DeregisterTaskDefinition(taskName string) (*ecs.DeregisterTaskDefinitionOutput, error)

func (*ECSManager) DescribeClusters

func (self *ECSManager) DescribeClusters(clusterNames []*string) (*ecs.DescribeClustersOutput, error)

func (*ECSManager) DescribeService

func (self *ECSManager) DescribeService(cluster string, services []*string) (*ecs.DescribeServicesOutput, error)

func (*ECSManager) DescribeTaskDefinition

func (self *ECSManager) DescribeTaskDefinition(defName string) (*ecs.DescribeTaskDefinitionOutput, error)

func (*ECSManager) ListServices

func (self *ECSManager) ListServices(cluster string) (*ecs.ListServicesOutput, error)

func (*ECSManager) RegisterTaskDefinition

func (self *ECSManager) RegisterTaskDefinition(taskName string, containers []*schema.ContainerDefinition) (*ecs.RegisterTaskDefinitionOutput, error)

func (*ECSManager) UpdateService

func (self *ECSManager) UpdateService(cluster string, service schema.Service) (*ecs.UpdateServiceOutput, error)

func (*ECSManager) WaitStoppingService

func (self *ECSManager) WaitStoppingService(cluster string, service string) error

Jump to

Keyboard shortcuts

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