Documentation
¶
Overview ¶
Package taskdef holds shared types for ECS task definition metadata used by the controller and scaler packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFargatePrivileged ¶
func CheckFargatePrivileged(taskDef *ecsTypes.TaskDefinition) error
CheckFargatePrivileged returns an error if the task definition requires Fargate compatibility and has any privileged containers.
Types ¶
type ScaleSetConfig ¶
type ScaleSetConfig struct {
MaxRunners int
MinRunners int
MaxRuntime time.Duration
Subnets []string
SecurityGroups []string
CapacityProvider string
// LaunchType is derived from the runner's compatibility setting.
LaunchType ecsTypes.LaunchType
// ExtraLabels are additional GitHub Actions labels for the scale set.
ExtraLabels []string
}
ScaleSetConfig holds the per-scale-set configuration.
type TaskDefInfo ¶
type TaskDefInfo struct {
TaskDefinition *ecsTypes.TaskDefinition
Config ScaleSetConfig
}
TaskDefInfo holds a resolved task definition and its parsed scale set config.
Click to show internal directories.
Click to hide internal directories.