knativeeventing

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: 2

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 KnativeEventing mutating webhook

func ValidatingWebhook

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

Creates a new validating KnativeEventing Webhook

Types

type KnativeEventingConfigurator

type KnativeEventingConfigurator struct {
	// contains filtered or unexported fields
}

KnativeEventingConfigurator annotates KEs

func (*KnativeEventingConfigurator) Handle

KnativeEventingConfigurator adds an annotation to every incoming KnativeEventing CR.

func (*KnativeEventingConfigurator) InjectClient

func (v *KnativeEventingConfigurator) InjectClient(c client.Client) error

InjectClient injects the client.

func (*KnativeEventingConfigurator) InjectDecoder

func (v *KnativeEventingConfigurator) InjectDecoder(d types.Decoder) error

InjectDecoder injects the decoder.

type KnativeEventingValidator

type KnativeEventingValidator struct {
	// contains filtered or unexported fields
}

KnativeEventingValidator validates KnativeEventing CR's

func (*KnativeEventingValidator) Handle

What makes us a webhook

func (*KnativeEventingValidator) InjectClient

func (v *KnativeEventingValidator) InjectClient(c client.Client) error

InjectClient injects the client.

func (*KnativeEventingValidator) InjectDecoder

func (v *KnativeEventingValidator) 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