Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EnableImdsOnlyMode is used to specify that EC2 API calls should be skipped and only IMDS metadata should be // used to get ENI information. EnvEnableImdsOnlyMode = "ENABLE_IMDS_ONLY_MODE" )
Variables ¶
This section is empty.
Functions ¶
func GetBoolAsStringEnvVar ¶
Parse environment variable and return boolean representation of string, or default value if environment variable is unset
func GetIntFromStringEnvVar ¶ added in v1.15.0
Parse environment variable and return integer representation of string, or default value if environment variable is unset
func IsValidNetworkPolicyEnforcingMode ¶ added in v1.17.1
IsValidNetworkPolicyEnforcingMode checks if the input string matches any of the enum values
Types ¶
type NetworkPolicyEnforcingMode ¶ added in v1.17.1
type NetworkPolicyEnforcingMode string
NetworkPolicyEnforcingMode is the mode of network policy enforcement
const ( // None : no network policy enforcement None NetworkPolicyEnforcingMode = "none" // Strict : strict network policy enforcement Strict NetworkPolicyEnforcingMode = "strict" // Standard :standard network policy enforcement Standard NetworkPolicyEnforcingMode = "standard" )
Click to show internal directories.
Click to hide internal directories.