webhooks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBWebhookHandler

type DBWebhookHandler struct {
	Log    logr.Logger
	Scheme *runtime.Scheme
	Client client.Client
	// contains filtered or unexported fields
}

DBWebhookHandler handles mutating/validating of DBs.

func (*DBWebhookHandler) Handle

Handle is the function to handle create/update requests of DBs.

func (*DBWebhookHandler) InjectDecoder

func (r *DBWebhookHandler) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

Jump to

Keyboard shortcuts

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