Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { KubeClientOptions kube.ClientOptions CertFile string KeyFile string CaCertFile string CertData []byte KeyData []byte CaCertData []byte ListenAddress string Port int PrintVersion bool WebhookName string WebhookNamespace string SchedulerNames []string WebhookURL string ConfigPath string EnabledAdmission string IgnoredNamespaces string EnableHealthz bool // HealthzBindAddress is the IP address and port for the health check server to serve on // defaulting to :11251 HealthzBindAddress string }
Config admission-controller server config.
func (*Config) CheckPortOrDie ¶
CheckPortOrDie check valid port range.
func (*Config) ParseCAFiles ¶ added in v1.5.0
func (c *Config) ParseCAFiles(decryptFunc DecryptFunc) error
ParseCAFiles parse ca file by decryptFunc
type DecryptFunc ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.