validation

package
v3.11.21-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateSecurityContextConstraintsName = validation.NameIsDNSSubdomain

ValidateSecurityContextConstraintsName can be used to check whether the given security context constraint name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.

Functions

func IsValidSysctlPattern

func IsValidSysctlPattern(name string) bool

func ValidatePodSecurityPolicyReview

func ValidatePodSecurityPolicyReview(podSecurityPolicyReview *securityapi.PodSecurityPolicyReview) field.ErrorList

ValidatePodSecurityPolicyReview validates PodSecurityPolicyReview.

func ValidatePodSecurityPolicySelfSubjectReview

func ValidatePodSecurityPolicySelfSubjectReview(podSecurityPolicySelfSubjectReview *securityapi.PodSecurityPolicySelfSubjectReview) field.ErrorList

ValidatePodSecurityPolicySelfSubjectReview validates PodSecurityPolicySelfSubjectReview.

func ValidatePodSecurityPolicySubjectReview

func ValidatePodSecurityPolicySubjectReview(podSecurityPolicySubjectReview *securityapi.PodSecurityPolicySubjectReview) field.ErrorList

ValidatePodSecurityPolicySubjectReview validates PodSecurityPolicySubjectReview.

func ValidateSecurityContextConstraints

func ValidateSecurityContextConstraints(scc *securityapi.SecurityContextConstraints) field.ErrorList

func ValidateSecurityContextConstraintsUpdate

func ValidateSecurityContextConstraintsUpdate(newScc, oldScc *securityapi.SecurityContextConstraints) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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