package
0.0.0-20250304062824-53a89fc29d30
Repository: https://github.com/azure/application-gateway-kubernetes-ingress.git
Documentation: pkg.go.dev

# Functions

GetEnv returns values for defined environment variables for Ingress Controller.
GetEnvironmentVariable is an augmentation of os.Getenv, providing it with a default value.
GetFakeEnv returns fake values for defined environment variables for Ingress Controller.
ValidateEnv validates environment variables.

# Constants

AddonModeVarName is an environment variable to inform if the controller is running as an addon.
AGICPodNamespaceVarName is an environment variable name.
AGICPodNameVarName is an environment variable name.
AppGwNameVarName is the name of the APPGW_NAME.
AppGwResourceIDVarName is the name of the APPGW_RESOURCE_ID.
AppGwSkuVarName is the sku of the AGW.
AppGwSubnetIDVarName is the name of the APPGW_SUBNET_ID.
AppGwSubnetNameVarName is the name of the APPGW_SUBNET_NAME.
AppGwSubnetPrefixVarName is the name of the APPGW_SUBNET_PREFIX.
AttachWAFPolicyToListenerVarName is an environment variable name.
AuthLocationVarName is the name of the AZURE_AUTH_LOCATION.
ClientIDVarName is an environment variable which stores the client id provided through user assigned identity.
CloudProviderConfigLocationVarName is an environment variable name.
DefaultIngressClassController defines the default app gateway ingress value.
DefaultIngressClassResourceName defines the default app gateway ingress class object name.
EnableBrownfieldDeploymentVarName is a feature flag enabling observation of {Managed,Prohibited}Target CRDs.
EnableDeployAppGatewayVarName is a feature flag.
EnableIstioIntegrationVarName is a feature flag enabling observation of Istio specific CRDs.
EnablePanicOnPutErrorVarName is a feature flag.
EnableSaveConfigToFileVarName is a feature flag, which enables saving the App Gwy config to disk.
HostedOnUnderlayVarName is an environment variable name.
HTTPServicePortVarName is an environment variable name.
IngressClassControllerNameVarName is an environment variable to specify controller class.
IngressClassResourceDefaultVarName is an environment variable to enable AGIC as default ingress.
IngressClassResourceEnabledVarName is an environment variable to enable V1 Ingress class.
IngressClassResourceNameVarName is an environment variable which specifies the name of the ingress class object to watch.
IngressClassVarName is an environment variable.
MultiClusterModeVarName is an environment variable to control whether AGIC monitors Ingresses or MutliClusterIngresses.
ReconcilePeriodSecondsVarName is an environment variable to control reconcile period for the AGIC.
ResourceGroupNameVarName is the name of the APPGW_RESOURCE_GROUP.
SubscriptionIDVarName is the name of the APPGW_SUBSCRIPTION_ID.
UseManagedIdentityForPodVarName is an environment variable name.
UsePrivateIPVarName is the name of the USE_PRIVATE_IP.
VerbosityLevelVarName sets the level of klog verbosity should the CLI argument be blank.
WatchNamespaceVarName is the name of the KUBERNETES_WATCHNAMESPACE.

# Structs

EnvVariables is a struct storing values for environment variables.