Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetK8SClient ¶
func GetK8SClient() *kubernetes.Clientset
Types ¶
type Config ¶
type Config struct { CACertFile string `mapstructure:"ca-cert-file"` CertFile string `mapstructure:"tls-cert-file"` KeyFile string `mapstructure:"tls-private-key-file"` Enable bool `mapstructure:"enable"` DeployedNamespace string `mapstructure:"deployed-namespace"` Log *log.Config `mapstructure:"log"` Datahub *datahub.Config `mapstructure:"datahub"` }
Config contains the server (the webhook) cert and key.
func NewDefaultConfig ¶
func NewDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.