Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvOrDie ¶
GetEnvOrDie convenience method for initializing env.
Types ¶
type Config ¶
type Config struct { CSRName string EmptyDirLocation string Signer string CommonName string EmailAddress string PodIP string KeyName string CertName string CACertName string CACertPEM []byte DNSNames []string SignatureAlgorithm string PrivateKeyAlgorithm string RegisterApiserver bool AppName string TimeoutDuration time.Duration }
Config holds parameters that are used during runtime.
func GetConfigOrDie ¶
func GetConfigOrDie() *Config
GetConfigOrDie initializes the Config that this program relies on. It exists the program if expected variables are missing.
Click to show internal directories.
Click to hide internal directories.