env

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 2 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 {
	ReconcilePeriod         time.Duration `env:"RECONCILE_PERIOD"`
	MaxConcurrentReconciles int           `env:"MAX_CONCURRENT_RECONCILES"`

	ClusterPodCidr     string `env:"CLUSTER_POD_CIDR" required:"true"` // default 10.42.0.0/16
	ClusterServiceCidr string `env:"CLUSTER_SVC_CIDR" required:"true"` // default 10.43.0.0/16

	DnsHostedZone string `env:"DNS_HOSTED_ZONE" required:"true"`

	ClusterInternalDns string `env:"CLUSTER_INTERNAL_DNS" default:"cluster.local"`

	DefaultIngressClass    string `env:"DEFAULT_INGRESS_CLASS" required:"true"`
	EnvironmentIngressName string `env:"ENVIRONMENT_INGRESS_NAME" default:"env-ingress"`
}

func GetEnvOrDie

func GetEnvOrDie() *Env

Jump to

Keyboard shortcuts

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