Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvFromFlag ¶
EnvFromFlag converts a flag name to an environment variable name. Flags are assumed to be in the format [a-z0-9](-[a-z0-9])*
func FlagAuthProvider ¶
func FlagAuthProvider(ptr *token.AuthProvider, fs *pflag.FlagSet)
FlagAuthProvider creates flags for vault auth providers
func ParseFlagsFromEnv ¶
ParseFlagsFromEnv takes a flag set and sets the values from the environment. It uses EnvFromFlag to generate the environment variable name so flags must be in the format [a-z0-9](-[a-z0-9])*
func ParsePFlagsFromEnv ¶
ParsePFlagsFromEnv takes a flag set and sets the values from the environment. It uses EnvFromFlag to generate the environment variable name so flags must be in the format [a-z0-9](-[a-z0-9])*
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.