clusterpropagationpolicy

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 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 MutatingAdmission

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

MutatingAdmission mutates API request if necessary.

func (*MutatingAdmission) Handle

Handle yields a response to an AdmissionRequest.

func (*MutatingAdmission) InjectDecoder

func (a *MutatingAdmission) InjectDecoder(d *admission.Decoder) error

InjectDecoder implements admission.DecoderInjector interface. A decoder will be automatically injected.

type ValidatingAdmission

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

ValidatingAdmission validates ClusterPropagationPolicy object when creating/updating/deleting.

func (*ValidatingAdmission) Handle

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

func (*ValidatingAdmission) InjectDecoder

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

InjectDecoder implements admission.DecoderInjector interface. A decoder will be automatically injected.

Jump to

Keyboard shortcuts

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