Documentation ¶
Index ¶
Constants ¶
View Source
const ( ValidationPath = "/validation" SkipValidationKey = "gateway.solo.io/skip_validation" SkipValidationValue = "true" )
Variables ¶
Functions ¶
func NewGatewayValidatingWebhook ¶
func NewGatewayValidatingWebhook(cfg WebhookConfig) (*http.Server, error)
Types ¶
type WebhookConfig ¶
type WebhookConfig struct {
// contains filtered or unexported fields
}
func NewWebhookConfig ¶
func NewWebhookConfig(ctx context.Context, validator validation.Validator, watchNamespaces []string, port int, serverCertPath string, serverKeyPath string, alwaysAccept bool) WebhookConfig
Click to show internal directories.
Click to hide internal directories.