Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MutatingWebhook ¶
Add creates a new KnativeServing Webhook
func PatchResponseFromRaw ¶
PatchResponseFromRaw takes 2 byte arrays and returns a new response with json patch. The original object should be passed in as raw bytes to avoid the roundtripping problem described in https://github.com/kubernetes-sigs/kubebuilder/issues/510.
Types ¶
type KnativeServingConfigurator ¶
type KnativeServingConfigurator struct {
// contains filtered or unexported fields
}
KnativeServingConfigurator annotates Kss
func (*KnativeServingConfigurator) Handle ¶
KnativeServingConfigurator adds an annotation to every incoming KnativeServing CR.
func (*KnativeServingConfigurator) InjectClient ¶
func (v *KnativeServingConfigurator) InjectClient(c client.Client) error
InjectClient injects the client.
func (*KnativeServingConfigurator) InjectDecoder ¶
func (v *KnativeServingConfigurator) InjectDecoder(d types.Decoder) error
InjectDecoder injects the decoder.
type KnativeServingValidator ¶
type KnativeServingValidator struct {
// contains filtered or unexported fields
}
KnativeServingValidator validates KnativeServing CR's
func (*KnativeServingValidator) InjectClient ¶
func (v *KnativeServingValidator) InjectClient(c client.Client) error
InjectClient injects the client.
func (*KnativeServingValidator) InjectDecoder ¶
func (v *KnativeServingValidator) InjectDecoder(d types.Decoder) error
InjectDecoder injects the decoder.
Click to show internal directories.
Click to hide internal directories.