env

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	MaxConcurrentReconciles int    `env:"MAX_CONCURRENT_RECONCILES" required:"true"`
	GatewayAdminNamespace   string `env:"GATEWAY_ADMIN_NAMESPACE" default:"kl-gateway"`

	ImageWebhookServer       string `env:"IMAGE_WEBHOOK_SERVER" required:"true"`
	ImageIPManager           string `env:"IMAGE_IP_MANAGER" required:"true"`
	ImageIPBindingController string `env:"IMAGE_IP_BINDING_CONTROLLER" required:"true"`
	ImageDNS                 string `env:"IMAGE_DNS" required:"true"`
	ImageLogsProxy           string `env:"IMAGE_LOGS_PROXY" required:"true"`
}

func GetEnvOrDie

func GetEnvOrDie() *Env

func LoadEnv

func LoadEnv() (*Env, error)

Jump to

Keyboard shortcuts

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