Back to godoc.org

Package webhook

v0.19.2
Latest Go to latest

The latest major version is .

Published: Sep 16, 2020 | License: Apache-2.0 | Module: k8s.io/apiserver
Path Synopsis
config
config/apis/webhookadmission
config/apis/webhookadmission/install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
config/apis/webhookadmission/v1 Package v1 is the v1 version of the API.
config/apis/webhookadmission/v1alpha1 Package v1alpha1 is the v1alpha1 version of the API.
errors Package errors contains utilities for admission webhook specific errors
generic
initializer
mutating Package mutating delegates admission checks to dynamically configured mutating webhooks.
namespace Package namespace defines the utilities that are used by the webhook plugin to decide if a webhook should be applied to an object based on its namespace.
object Package object defines the utilities that are used by the webhook plugin to decide if a webhook should run, as long as either the old object or the new object has labels matching the webhook config's objectSelector.
request Package request creates admissionReview request based on admission attributes.
rules
testcerts Package testcerts contains generated key pairs used by the unit tests of mutating and validating webhooks.
testing
testing/main
util
validating Package validating makes calls to validating (i.e., non-mutating) webhooks during the admission process.