kubernetesk8s.io/kubernetes/pkg/apis/authorization/validation Index | Files

package validation

import "k8s.io/kubernetes/pkg/apis/authorization/validation"

Index

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

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.

Source Files

validation.go

Version
v1.26.12
Published
Dec 19, 2023
Platform
js/wasm
Imports
4 packages
Last checked
2 minutes ago

Tools for package owners.