Documentation ¶
Index ¶
Constants ¶
View Source
const (
JsonPatchValidationFuncOpenshift3_9 = "openshift3.9"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { CACertFile string `mapstructure:"caCertFile"` CertFile string `mapstructure:"tlsCertFile"` KeyFile string `mapstructure:"tlsPrivateKeyFile"` Enable bool `mapstructure:"enable"` JsonPatchValidationFunc JsonPatchValidationFuncName `mapstructure:"jsonPatchValidationFunc"` DeployedNamespace string `mapstructure:"deployedNamespace"` Log *log.Config `mapstructure:"log"` Datahub *datahub.Config `mapstructure:"datahub"` Port int32 `mapstructure:"port"` Service *service.Config `mapstructure:"service"` GRPC *grpc.Config `mapstructure:"gRPC"` }
Config contains the server (the webhook) cert and key.
func NewDefaultConfig ¶
func NewDefaultConfig() Config
type JsonPatchValidationFuncName ¶ added in v0.3.30
type JsonPatchValidationFuncName = string
Click to show internal directories.
Click to hide internal directories.