projectroletemplatebinding

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package projectroletemplatebinding is used for validating projectroletemplatebinding admission request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator added in v0.2.8

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) *Validator

NewValidator returns a new validator used for validation PRTB.

func (*Validator) Admit added in v0.2.8

Admit is the entrypoint for the validator. Admit will return an error if it unable to process the request. If this function is called without NewValidator(..) calls will panic.

func (*Validator) GVR added in v0.3.2

GVR returns the GroupVersionKind for this CRD.

func (*Validator) Operations added in v0.3.2

Operations returns list of operations handled by this validator.

func (*Validator) ValidatingWebhook added in v0.3.2

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