Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { ResyncInterval time.Duration CertificateCheckInterval time.Duration KubeConfig string VicePresidentConfig string ViceKeyFile string ViceCrtFile string IntermediateCertificate string RootCACertificate string Namespace string EnableValidateRemoteCertificate bool IsEnableAdditionalSymantecMetrics bool IsDebug bool RateLimit int Threadiness int MinCertValidityDays int MetricPort int Finalizer string EventComponent string IngressAnnotation string }
Options to configure your vice president.
func (*Options) CheckOptions ¶
CheckOptions verifies the Options and sets default values if necessary.
type ViceConfig ¶
type ViceConfig struct { FirstName string `yaml:"first_name"` LastName string `yaml:"last_name"` EMail string `yaml:"email"` Country string `yaml:"country"` Province string `yaml:"province"` Locality string `yaml:"locality"` Organization string `yaml:"organization"` OrganizationalUnit string `yaml:"organizational_unit"` DefaultChallenge string `yaml:"default_challenge"` }
ViceConfig to define the parameters when talking to the Symantec VICE API.
type VicePresidentConfig ¶
type VicePresidentConfig struct {
ViceConfig `yaml:"vice"`
}
VicePresidentConfig is a wrapper for both parts of the config.
func ReadConfig ¶
func ReadConfig(filePath string) (cfg VicePresidentConfig, err error)
ReadConfig reads a given vice configuration file and returns the ViceConfig object and if applicable an error.
Click to show internal directories.
Click to hide internal directories.