Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LogLevel string
IntervalSeconds int
ClientTimeoutSeconds int
DryRun bool
// MatchingLabelKey is the label key to match resources
// e.g., `app.kubernetes.io/managed-by`
MatchingLabelKey string
// MatchingLabelValue is the label value to match resources
// e.g., `targetgroup-senpai`
MatchingLabelValue string
// VpcId is the VPC ID where target groups will be created
VpcId string
// ClusterName is the name of the cluster this instance is running in
ClusterName string
// MinInstanceCount is the minimum number of instances required for target group operations
MinInstanceCount int
// DeleteOrphanTargetGroups controls whether to delete target groups without corresponding services
DeleteOrphanTargetGroups bool
// HealthCheck contains default health check configuration
HealthCheck HealthCheckConfig
}
func LoadConfigFromEnv ¶
Click to show internal directories.
Click to hide internal directories.