podsecurityadmissionconfigurationtemplate

package
v0.3.5-rc5 Latest Latest
Warning

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

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

Documentation

Overview

Package podsecurityadmissionconfigurationtemplate is used for validating podsecurityadmissionconfigurationtemplate admission requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	ManagementClusterCache v3.ClusterCache
	// contains filtered or unexported fields
}

Validator validates the PodSecurityAdmissionConfigurationTemplate admission request.

func NewValidator

func NewValidator(managementCache v3.ClusterCache, provisioningCache v1.ClusterCache) *Validator

NewValidator returns a validator for PodSecurityAdmissionConfigurationTemplates

func (*Validator) Admit

Admit handles the webhook admission request sent to this webhook.

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