Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { IsDev bool GatewayWGPublicKey string `env:"GATEWAY_WG_PUBLIC_KEY" required:"true"` GatewayWGPrivateKey string `env:"GATEWAY_WG_PRIVATE_KEY" required:"true"` GatewayWGEndpoint string `env:"GATEWAY_WG_ENDPOINT" required:"true"` ExtraWireguardPeersPath string `env:"EXTRA_WIREGUARD_PEERS_PATH" required:"false"` GatewayGlobalIP string `env:"GATEWAY_GLOBAL_IP" required:"true"` GatewayInternalDNSNameserver string `env:"GATEWAY_INTERNAL_DNS_NAMESERVER" required:"true"` ClusterCIDR string `env:"CLUSTER_CIDR" required:"true"` ServiceCIDR string `env:"SERVICE_CIDR" required:"true"` IPManagerConfigName string `env:"IP_MANAGER_CONFIG_NAME" required:"true"` IPManagerConfigNamespace string `env:"IP_MANAGER_CONFIG_NAMESPACE" required:"true"` PodAllowedIPs string `env:"POD_ALLOWED_IPS" required:"true"` NginxStreamsDir string `env:"NGINX_STREAMS_DIR" default:"/etc/nginx/streams.d"` WireguardConfigDir string `env:"WIREGUARD_CONFIG_DIR" default:"/etc/wireguard"` }
Click to show internal directories.
Click to hide internal directories.