Documentation
¶
Index ¶
- Constants
- func ExecCommand(ctx context.Context, infra Outputs, taskId string, containerName string, ...) error
- func GetRandomTask(ctx context.Context, infra Outputs) (string, error)
- func GetService(ctx context.Context, infra Outputs) (*ecstypes.Service, error)
- func GetTargetGroupHealth(ctx context.Context, infra Outputs, targetGroupArn string) ([]elbv2types.TargetHealthDescription, error)
- func GetTasks(ctx context.Context, infra Outputs) ([]string, error)
- func NewRemoter(ctx context.Context, osWriters logging.OsWriters, ...) (admin.Remoter, error)
- func NewStatuser(ctx context.Context, osWriters logging.OsWriters, ...) (admin.Statuser, error)
- func RunTask(ctx context.Context, infra Outputs, containerName, username string, ...) error
- type ClusterNamespaceOutputs
- type ClusterOutputs
- type NetworkOutputs
- type Outputs
- type Remoter
- type Statuser
Constants ¶
View Source
const DefaultWatchInterval = 1 * time.Second
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
func GetTargetGroupHealth ¶
func GetTargetGroupHealth(ctx context.Context, infra Outputs, targetGroupArn string) ([]elbv2types.TargetHealthDescription, error)
func NewRemoter ¶
func NewStatuser ¶
Types ¶
type ClusterNamespaceOutputs ¶ added in v0.0.100
type ClusterNamespaceOutputs struct { ClusterArn string `ns:"cluster_arn"` Cluster ClusterOutputs `ns:"connectionContract:cluster/aws/ecs:*,optional"` }
type ClusterOutputs ¶
type ClusterOutputs struct { ClusterArn string `ns:"cluster_arn"` Network NetworkOutputs `ns:"connectionContract:network/aws/*,optional"` }
type NetworkOutputs ¶ added in v0.0.105
type NetworkOutputs struct {
PrivateSubnetIds []string `ns:"private_subnet_ids"`
}
type Outputs ¶
type Outputs struct { Region string `ns:"region"` ServiceName string `ns:"service_name"` TaskArn string `ns:"task_arn"` MainContainerName string `ns:"main_container_name,optional"` Deployer nsaws.User `ns:"deployer,optional"` AppSecurityGroupId string `ns:"app_security_group_id"` LaunchType string `ns:"launch_type,optional"` Cluster ClusterOutputs `ns:",connectionContract:cluster/aws/ecs:*,optional"` ClusterNamespace ClusterNamespaceOutputs `ns:",connectionContract:cluster-namespace/aws/ecs:*,optional"` }
func (*Outputs) ClusterArn ¶ added in v0.0.100
func (*Outputs) GetLaunchType ¶ added in v0.0.105
func (o *Outputs) GetLaunchType() types.LaunchType
func (*Outputs) InitializeCreds ¶ added in v0.0.133
func (o *Outputs) InitializeCreds(source outputs.RetrieverSource, ws *nstypes.Workspace)
func (*Outputs) PrivateSubnetIds ¶ added in v0.0.105
type Statuser ¶
func (Statuser) StatusDetail ¶
Click to show internal directories.
Click to hide internal directories.