cluster

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagementClusterMutator

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

ManagementClusterMutator implements admission.MutatingAdmissionWebhook.

func (*ManagementClusterMutator) Admit

Admit is the entrypoint for the mutator. Admit will return an error if it is unable to process the request.

func (*ManagementClusterMutator) GVR

GVR returns the GroupVersionKind for this CRD.

func (*ManagementClusterMutator) MutatingWebhook

MutatingWebhook returns the MutatingWebhook used for this CRD.

func (*ManagementClusterMutator) Operations

Operations returns list of operations handled by this mutator.

type Validator

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

Validator ValidatingWebhook for management clusters.

func NewValidator

NewValidator returns a new validator for management clusters.

func (*Validator) Admitters

func (v *Validator) Admitters() []admission.Admitter

Admitters returns the admitter objects used to validate clusters.

func (*Validator) GVR

GVR returns the GroupVersionKind for this CRD.

func (*Validator) Operations

Operations returns list of operations handled by this validator.

func (*Validator) ValidatingWebhook

ValidatingWebhook returns the ValidatingWebhook used for this CRD.

Jump to

Keyboard shortcuts

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