pkg

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT-0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PodEIPAnnotationKey         = "aws-samples.github.com/aws-pod-eip-controller-type"
	PodEIPAnnotationValue       = "auto"
	PodAddressPoolAnnotationKey = "aws-samples.github.com/aws-pod-eip-controller-public-ipv4-pool"
	PodPublicIPLabel            = "aws-pod-eip-controller-public-ip"

	TagTypeKey        = "aws-samples.github.com/aws-pod-eip-controller-type"
	TagClusterNameKey = "aws-samples.github.com/aws-pod-eip-controller-cluster-name"
	TagPodKey         = "aws-samples.github.com/aws-pod-eip-controller-pod"
)

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(level slog.Level) *slog.Logger

Types

type Flags

type Flags struct {
	LogLevel       string
	Kubeconfig     string
	ClusterName    string
	VpcID          string
	Region         string
	WatchNamespace string
	ResyncPeriod   int
}

func ParseFlags

func ParseFlags() Flags

func (Flags) SlogLevel

func (f Flags) SlogLevel() slog.Level

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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