Documentation ¶
Index ¶
- Constants
- func GetProfiles() ([]string, error)
- func LoadConfig(ctx context.Context, profile string) (aws.Config, error)
- type ECS
- func (e *ECS) ListClusterNames(ctx context.Context) ([]string, error)
- func (e *ECS) ListContainerNames(ctx context.Context, cluster string, task string) ([]string, error)
- func (e *ECS) ListServiceNames(ctx context.Context, cluster string) ([]string, error)
- func (e *ECS) ListTaskNames(ctx context.Context, cluster string, service string) ([]string, error)
- func (e *ECS) StartSession(ctx context.Context, cluster string, task string, container string, ...) error
Constants ¶
View Source
const ( MAX_RESULTS_CLUSTER = 100 MAX_RESULTS_SERVICE = 100 MAX_RESULTS_TASK = 100 )
Variables ¶
This section is empty.
Functions ¶
func GetProfiles ¶
GetProfiles returns AWS profile names. Get profile names from ~/.aws/config.
Types ¶
type ECS ¶
type ECS struct {
// contains filtered or unexported fields
}
func (*ECS) ListClusterNames ¶
func (*ECS) ListContainerNames ¶
func (*ECS) ListServiceNames ¶
func (*ECS) ListTaskNames ¶
Click to show internal directories.
Click to hide internal directories.