Documentation ¶
Index ¶
- func GetClusterName() (string, error)
- type CSSWrapper
- func (wrapper CSSWrapper) FilterInstancesByClusterName(clusterName string) ([]*models.ContainerInstance, error)
- func (wrapper CSSWrapper) FilterTasksByCluster(cluster string) ([]*models.Task, error)
- func (wrapper CSSWrapper) FilterTasksByStatus(status string) ([]*models.Task, error)
- func (wrapper CSSWrapper) GetInstance(clusterName string, instanceARN string) (*models.ContainerInstance, error)
- func (wrapper CSSWrapper) GetTask(clusterName string, taskARN string) (*models.Task, error)
- func (wrapper CSSWrapper) ListInstances() ([]*models.ContainerInstance, error)
- func (wrapper CSSWrapper) ListTasks() ([]*models.Task, error)
- func (wrapper CSSWrapper) TryGetInstance(instanceARN string) (string, error)
- func (wrapper CSSWrapper) TryGetTask(taskARN string) (string, error)
- type ECSWrapper
- func (ecsWrapper ECSWrapper) DeregisterTaskDefinition(taskDefnARN string) error
- func (ecsWrapper ECSWrapper) DescribeContainerInstance(clusterName string, instanceARN string) (ecs.ContainerInstance, error)
- func (ecsWrapper ECSWrapper) DescribeTaskDefinition(taskDefn string) (string, error)
- func (ecsWrapper ECSWrapper) ListContainerInstances(clusterName string) ([]*string, error)
- func (ecsWrapper ECSWrapper) ListTasks(clusterName string) ([]*string, error)
- func (ecsWrapper ECSWrapper) RegisterSleep360TaskDefinition() (string, error)
- func (ecsWrapper ECSWrapper) StartTask(clusterName string, taskDefn string) (ecs.Task, error)
- func (ecsWrapper ECSWrapper) StopTask(clusterName string, taskARN string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterName ¶
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) ListInstances ¶
func (wrapper CSSWrapper) ListInstances() ([]*models.ContainerInstance, 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)
Click to show internal directories.
Click to hide internal directories.