Documentation
¶
Index ¶
- func GetContainers(ctx context.Context, client *ecs.Client, cluster, taskID string) ([]string, error)
- func GetRuntimeID(ctx context.Context, client *ecs.Client, taskID, cluster, container string) (string, error)
- func LoadConfig(cfg aws.Config) *ecs.Client
- func Select(field string, items []string) (string, error)
- func SelectCluster(ctx context.Context, client *ecs.Client) (string, error)
- func SelectContainer(ctx context.Context, client *ecs.Client, cluster, taskID string) (string, error)
- func SelectProfile() (string, error)
- func SelectService(ctx context.Context, client *ecs.Client, cluster string) (string, error)
- func SelectTaskIDs(ctx context.Context, client *ecs.Client, cluster, service string) (string, error)
- type Controller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainers ¶
func GetRuntimeID ¶
func SelectContainer ¶
func SelectProfile ¶
func SelectService ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *ecs.Client) *Controller
Click to show internal directories.
Click to hide internal directories.