Documentation ¶
Index ¶
- Variables
- func IsValidSysctlPattern(name string) bool
- func ValidatePodSecurityPolicyReview(podSecurityPolicyReview *securityapi.PodSecurityPolicyReview) field.ErrorList
- func ValidatePodSecurityPolicySelfSubjectReview(...) field.ErrorList
- func ValidatePodSecurityPolicySubjectReview(podSecurityPolicySubjectReview *securityapi.PodSecurityPolicySubjectReview) field.ErrorList
- func ValidateSecurityContextConstraints(scc *securityapi.SecurityContextConstraints) field.ErrorList
- func ValidateSecurityContextConstraintsUpdate(newScc, oldScc *securityapi.SecurityContextConstraints) field.ErrorList
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 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.
Click to show internal directories.
Click to hide internal directories.