webhook

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const MinPollInterval = 30

Variables

This section is empty.

Functions

This section is empty.

Types

type CESMutator added in v0.3.0

type CESMutator struct {
	Client controllerclient.Client
	Sh     *runtime.Scheme
	Log    logr.Logger
	// contains filtered or unexported fields
}

CESMutator is used to mutate CES object.

func (*CESMutator) Handle added in v0.3.0

Handle handles mutator admission requests for CES.

func (*CESMutator) InjectDecoder added in v0.3.0

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

InjectDecoder injects the decoder.

type CESValidator added in v0.3.0

type CESValidator struct {
	Client controllerclient.Client
	Log    logr.Logger
	// contains filtered or unexported fields
}

CESValidator is used to validate CES object.

func (*CESValidator) Handle added in v0.3.0

Handle handles validator admission requests for CES.

func (*CESValidator) InjectDecoder added in v0.3.0

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

InjectDecoder injects the decoder.

type CPAMutator added in v0.3.0

type CPAMutator struct {
	Client k8sclient.Client
	Log    logr.Logger
	// contains filtered or unexported fields
}

CPAMutator is used to mutate CPA object.

func (*CPAMutator) Handle added in v0.3.0

Handle handles mutator admission requests for CPA.

func (*CPAMutator) InjectDecoder added in v0.3.0

func (m *CPAMutator) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

type CPAValidator added in v0.3.0

type CPAValidator struct {
	Client k8sclient.Client
	Log    logr.Logger
	// contains filtered or unexported fields
}

CPAValidator is used to validate CPA object.

func (*CPAValidator) Handle added in v0.3.0

Handle handles validator admission requests for CPA.

func (*CPAValidator) InjectDecoder added in v0.3.0

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