validation

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 60

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateLocalSubjectAccessReview

func ValidateLocalSubjectAccessReview(sar *authorizationapi.LocalSubjectAccessReview) field.ErrorList

ValidateLocalSubjectAccessReview validates a LocalSubjectAccessReview and returns an ErrorList with any errors.

func ValidateSelfSubjectAccessReview

func ValidateSelfSubjectAccessReview(sar *authorizationapi.SelfSubjectAccessReview) field.ErrorList

ValidateSelfSubjectAccessReview validates a SelfSubjectAccessReview and returns an ErrorList with any errors.

func ValidateSelfSubjectAccessReviewSpec

func ValidateSelfSubjectAccessReviewSpec(spec authorizationapi.SelfSubjectAccessReviewSpec, fldPath *field.Path) field.ErrorList

ValidateSelfSubjectAccessReviewSpec validates a SelfSubjectAccessReviewSpec and returns an ErrorList with any errors.

func ValidateSelfSubjectRulesReview added in v1.8.0

func ValidateSelfSubjectRulesReview(review *authorizationapi.SelfSubjectRulesReview) field.ErrorList

ValidateSelfSubjectRulesReview validates a SelfSubjectRulesReview and returns an ErrorList with any errors.

func ValidateSubjectAccessReview

func ValidateSubjectAccessReview(sar *authorizationapi.SubjectAccessReview) field.ErrorList

ValidateSubjectAccessReview validates a SubjectAccessReview and returns an ErrorList with any errors.

func ValidateSubjectAccessReviewSpec

func ValidateSubjectAccessReviewSpec(spec authorizationapi.SubjectAccessReviewSpec, fldPath *field.Path) field.ErrorList

ValidateSubjectAccessReviewSpec validates a SubjectAccessReviewSpec and returns an ErrorList with any errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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