taskdef

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL