projectroletemplatebinding

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package projectroletemplatebinding is used for validating ProjectRoleTemplateBinding admission requests.

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 validates PRTB admission request.

func NewValidator

func NewValidator(prtb *resolvers.PRTBRuleResolver, crtb *resolvers.CRTBRuleResolver,
	defaultResolver k8validation.AuthorizationRuleResolver, roleTemplateResolver *auth.RoleTemplateResolver,
	clusterCache v3.ClusterCache, projectCache v3.ProjectCache) *Validator

NewValidator returns a new validator used for validation PRTB.

func (*Validator) Admitters

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

Admitters returns the admitter objects used to validate ProjectRoleTemplateBindings.

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