Documentation
¶
Index ¶
Constants ¶
View Source
const ( LogGroupName = "/aws/ecs/zim" LogStreamPrefix = "zim" )
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html awslogs-stream-prefix prefix-name/container-name/ecs-task-id
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FargateConfig ¶
type FargateConfig struct {
ContainerName string
Subnets []string
SecurityGroup string
Cluster string
TaskDefinition string
AssignPublicIP bool
Athens string
}
FargateConfig defines a Fargate setup
type Runner ¶
type Runner interface {
Run(context.Context, Options) (*Task, error)
WaitUntilRunning(context.Context, ...*Task) error
WaitUntilStopped(context.Context, ...*Task) error
}
Runner is an interface used to run tasks
func NewFargate ¶
func NewFargate(sess *session.Session, cfg FargateConfig) Runner
NewFargate returns a task runner backended by ECS Fargate
Click to show internal directories.
Click to hide internal directories.