webhooks

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserValidator

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

UserValidator holds context for the validating admission webhook for users.appuio.io

func (*UserValidator) Handle

Handle handles the users.appuio.io admission requests

func (*UserValidator) InjectClient

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

InjectClient injects a Kubernetes client into the UserValidator

func (*UserValidator) InjectDecoder

func (v *UserValidator) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects a Admission request decoder into the UserValidator

Jump to

Keyboard shortcuts

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