propagationpolicy

package
v1.9.0-preview6 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMutatingHandler added in v1.3.0

func NewMutatingHandler(notReadyTolerationSeconds, unreachableTolerationSeconds int64, decoder *admission.Decoder) admission.Handler

NewMutatingHandler builds a new admission.Handler.

Types

type MutatingAdmission

type MutatingAdmission struct {
	Decoder *admission.Decoder

	DefaultNotReadyTolerationSeconds    int64
	DefaultUnreachableTolerationSeconds int64
}

MutatingAdmission mutates API request if necessary.

func (*MutatingAdmission) Handle

Handle yields a response to an AdmissionRequest.

type ValidatingAdmission

type ValidatingAdmission struct {
	Decoder *admission.Decoder
}

ValidatingAdmission validates PropagationPolicy object when creating/updating/deleting.

func (*ValidatingAdmission) Handle

Handle implements admission.Handler interface. It yields a response to an AdmissionRequest.

Jump to

Keyboard shortcuts

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