validation

package
v3.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 License: Apache-2.0 Imports: 7 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 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