env

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 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" default:"1"`
	GatewayAdminApiAddr     string `env:"GATEWAY_ADMIN_API_ADDR" required:"true"`
	ServiceDNSHttpAddr      string `env:"SERVICE_DNS_HTTP_ADDR" required:"true"`
	GatewayDNSSuffix        string `env:"GATEWAY_DNS_SUFFIX" required:"true"`
}

func LoadEnv

func LoadEnv() (*Env, error)

Jump to

Keyboard shortcuts

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