Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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"` Port int32 `mapstructure:"port"` Service *service.Config `mapstructure:"service"` }
Config contains the server (the webhook) cert and key.
func NewDefaultConfig ¶
func NewDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.