Help us shape the future of Go! Take the 2026 Go Developer Survey

knativeserving

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MutatingWebhook

func MutatingWebhook(mgr manager.Manager) (webhook.Webhook, error)

MutatingWebhook creates a new KnativeServing mutating webhook

func ValidatingWebhook

func ValidatingWebhook(mgr manager.Manager) (webhook.Webhook, error)

Creates a new validating KnativeServing Webhook

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) Handle

What makes us a webhook

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL