wrappers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterName

func GetClusterName() (string, error)

Types

type CSSWrapper

type CSSWrapper struct {
	// contains filtered or unexported fields
}

func NewCSSWrapper

func NewCSSWrapper() CSSWrapper

func (CSSWrapper) FilterInstancesByClusterName

func (wrapper CSSWrapper) FilterInstancesByClusterName(clusterName string) ([]*models.ContainerInstance, error)

func (CSSWrapper) FilterTasksByCluster

func (wrapper CSSWrapper) FilterTasksByCluster(cluster string) ([]*models.Task, error)

func (CSSWrapper) FilterTasksByStatus

func (wrapper CSSWrapper) FilterTasksByStatus(status string) ([]*models.Task, error)

func (CSSWrapper) GetInstance

func (wrapper CSSWrapper) GetInstance(clusterName string, instanceARN string) (*models.ContainerInstance, error)

func (CSSWrapper) GetTask

func (wrapper CSSWrapper) GetTask(clusterName string, taskARN string) (*models.Task, error)

func (CSSWrapper) ListInstances

func (wrapper CSSWrapper) ListInstances() ([]*models.ContainerInstance, error)

func (CSSWrapper) ListTasks

func (wrapper CSSWrapper) ListTasks() ([]*models.Task, error)

func (CSSWrapper) TryGetInstance

func (wrapper CSSWrapper) TryGetInstance(instanceARN string) (string, error)

func (CSSWrapper) TryGetTask

func (wrapper CSSWrapper) TryGetTask(taskARN string) (string, error)

type ECSWrapper

type ECSWrapper struct {
	// contains filtered or unexported fields
}

func NewECSWrapper

func NewECSWrapper() ECSWrapper

func (ECSWrapper) DeregisterTaskDefinition

func (ecsWrapper ECSWrapper) DeregisterTaskDefinition(taskDefnARN string) error

func (ECSWrapper) DescribeContainerInstance

func (ecsWrapper ECSWrapper) DescribeContainerInstance(clusterName string, instanceARN string) (ecs.ContainerInstance, error)

func (ECSWrapper) DescribeTaskDefinition

func (ecsWrapper ECSWrapper) DescribeTaskDefinition(taskDefn string) (string, error)

func (ECSWrapper) ListContainerInstances

func (ecsWrapper ECSWrapper) ListContainerInstances(clusterName string) ([]*string, error)

func (ECSWrapper) ListTasks

func (ecsWrapper ECSWrapper) ListTasks(clusterName string) ([]*string, error)

func (ECSWrapper) RegisterSleep360TaskDefinition

func (ecsWrapper ECSWrapper) RegisterSleep360TaskDefinition() (string, error)

func (ECSWrapper) StartTask

func (ecsWrapper ECSWrapper) StartTask(clusterName string, taskDefn string) (ecs.Task, error)

func (ECSWrapper) StopTask

func (ecsWrapper ECSWrapper) StopTask(clusterName string, taskARN string) error

Jump to

Keyboard shortcuts

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