webhooks

package
v0.33.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvitationValidator added in v0.15.0

type InvitationValidator struct {
	UsernamePrefix string
	// contains filtered or unexported fields
}

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

func (*InvitationValidator) Handle added in v0.15.0

Handle handles the users.appuio.io admission requests

func (*InvitationValidator) InjectClient added in v0.15.0

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

InjectClient injects a Kubernetes client into the InvitationValidator

func (*InvitationValidator) InjectDecoder added in v0.15.0

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

InjectDecoder injects a Admission request decoder into the InvitationValidator

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