clusterrepo

package
v0.6.1-rc.9 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package clusterrepo is used for validating clusterrepo admission request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

Validator conforms to the webhook.Handler interface and is used for validating request for clusterrepos.

func NewValidator

func NewValidator() *Validator

NewValidator will create a newly allocated Validator.

func (*Validator) Admitters

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

Admitters returns the admitter objects used to validate clusterrepos.

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