validation

package
Version: v4.1.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateSecurityContextConstraintsName = apimachineryvalidation.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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL