Documentation ¶
Index ¶
- func PolicyBindingNameValidator(policyRefNamespace string) validation.ValidateNameFunc
- func ValidateClusterPolicy(policy *authorizationapi.ClusterPolicy) field.ErrorList
- func ValidateClusterPolicyBinding(policy *authorizationapi.ClusterPolicyBinding) field.ErrorList
- func ValidateClusterPolicyBindingUpdate(policy *authorizationapi.ClusterPolicyBinding, ...) field.ErrorList
- func ValidateClusterPolicyUpdate(policy *authorizationapi.ClusterPolicy, ...) field.ErrorList
- func ValidateClusterRole(policy *authorizationapi.ClusterRole) field.ErrorList
- func ValidateClusterRoleBinding(policy *authorizationapi.ClusterRoleBinding) field.ErrorList
- func ValidateClusterRoleBindingUpdate(policy *authorizationapi.ClusterRoleBinding, ...) field.ErrorList
- func ValidateClusterRoleUpdate(policy *authorizationapi.ClusterRole, oldRole *authorizationapi.ClusterRole) field.ErrorList
- func ValidateLocalPolicy(policy *authorizationapi.Policy) field.ErrorList
- func ValidateLocalPolicyBinding(policy *authorizationapi.PolicyBinding) field.ErrorList
- func ValidateLocalPolicyBindingUpdate(policy *authorizationapi.PolicyBinding, ...) field.ErrorList
- func ValidateLocalPolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy) field.ErrorList
- func ValidateLocalResourceAccessReview(review *authorizationapi.LocalResourceAccessReview) field.ErrorList
- func ValidateLocalRole(policy *authorizationapi.Role) field.ErrorList
- func ValidateLocalRoleBinding(policy *authorizationapi.RoleBinding) field.ErrorList
- func ValidateLocalRoleBindingUpdate(policy *authorizationapi.RoleBinding, ...) field.ErrorList
- func ValidateLocalRoleUpdate(policy *authorizationapi.Role, oldRole *authorizationapi.Role) field.ErrorList
- func ValidateLocalSubjectAccessReview(review *authorizationapi.LocalSubjectAccessReview) field.ErrorList
- func ValidatePolicy(policy *authorizationapi.Policy, isNamespaced bool) field.ErrorList
- func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding, isNamespaced bool) field.ErrorList
- func ValidatePolicyBindingUpdate(policyBinding *authorizationapi.PolicyBinding, ...) field.ErrorList
- func ValidatePolicyName(name string, prefix bool) []string
- func ValidatePolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy, ...) field.ErrorList
- func ValidateResourceAccessReview(review *authorizationapi.ResourceAccessReview) field.ErrorList
- func ValidateRole(role *authorizationapi.Role, isNamespaced bool) field.ErrorList
- func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding, isNamespaced bool) field.ErrorList
- func ValidateRoleBindingRestriction(rbr *authorizationapi.RoleBindingRestriction) field.ErrorList
- func ValidateRoleBindingRestrictionGroup(group *authorizationapi.GroupRestriction, fld *field.Path) field.ErrorList
- func ValidateRoleBindingRestrictionServiceAccount(sa *authorizationapi.ServiceAccountRestriction, fld *field.Path) field.ErrorList
- func ValidateRoleBindingRestrictionSpec(spec *authorizationapi.RoleBindingRestrictionSpec, fld *field.Path) field.ErrorList
- func ValidateRoleBindingRestrictionUpdate(rbr, old *authorizationapi.RoleBindingRestriction) field.ErrorList
- func ValidateRoleBindingRestrictionUser(user *authorizationapi.UserRestriction, fld *field.Path) field.ErrorList
- func ValidateRoleBindingUpdate(roleBinding *authorizationapi.RoleBinding, ...) field.ErrorList
- func ValidateRoleUpdate(role *authorizationapi.Role, oldRole *authorizationapi.Role, isNamespaced bool, ...) field.ErrorList
- func ValidateSelfSubjectRulesReview(review *authorizationapi.SelfSubjectRulesReview) field.ErrorList
- func ValidateSubjectAccessReview(review *authorizationapi.SubjectAccessReview) field.ErrorList
- func ValidateSubjectRulesReview(rules *authorizationapi.SubjectRulesReview) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PolicyBindingNameValidator ¶
func PolicyBindingNameValidator(policyRefNamespace string) validation.ValidateNameFunc
func ValidateClusterPolicy ¶
func ValidateClusterPolicy(policy *authorizationapi.ClusterPolicy) field.ErrorList
func ValidateClusterPolicyBinding ¶
func ValidateClusterPolicyBinding(policy *authorizationapi.ClusterPolicyBinding) field.ErrorList
func ValidateClusterPolicyBindingUpdate ¶
func ValidateClusterPolicyBindingUpdate(policy *authorizationapi.ClusterPolicyBinding, oldPolicyBinding *authorizationapi.ClusterPolicyBinding) field.ErrorList
func ValidateClusterPolicyUpdate ¶
func ValidateClusterPolicyUpdate(policy *authorizationapi.ClusterPolicy, oldPolicy *authorizationapi.ClusterPolicy) field.ErrorList
func ValidateClusterRole ¶
func ValidateClusterRole(policy *authorizationapi.ClusterRole) field.ErrorList
func ValidateClusterRoleBinding ¶
func ValidateClusterRoleBinding(policy *authorizationapi.ClusterRoleBinding) field.ErrorList
func ValidateClusterRoleBindingUpdate ¶
func ValidateClusterRoleBindingUpdate(policy *authorizationapi.ClusterRoleBinding, oldRoleBinding *authorizationapi.ClusterRoleBinding) field.ErrorList
func ValidateClusterRoleUpdate ¶
func ValidateClusterRoleUpdate(policy *authorizationapi.ClusterRole, oldRole *authorizationapi.ClusterRole) field.ErrorList
func ValidateLocalPolicy ¶
func ValidateLocalPolicy(policy *authorizationapi.Policy) field.ErrorList
func ValidateLocalPolicyBinding ¶
func ValidateLocalPolicyBinding(policy *authorizationapi.PolicyBinding) field.ErrorList
func ValidateLocalPolicyBindingUpdate ¶
func ValidateLocalPolicyBindingUpdate(policy *authorizationapi.PolicyBinding, oldPolicyBinding *authorizationapi.PolicyBinding) field.ErrorList
func ValidateLocalPolicyUpdate ¶
func ValidateLocalPolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy) field.ErrorList
func ValidateLocalResourceAccessReview ¶ added in v1.0.5
func ValidateLocalResourceAccessReview(review *authorizationapi.LocalResourceAccessReview) field.ErrorList
func ValidateLocalRole ¶
func ValidateLocalRole(policy *authorizationapi.Role) field.ErrorList
func ValidateLocalRoleBinding ¶
func ValidateLocalRoleBinding(policy *authorizationapi.RoleBinding) field.ErrorList
func ValidateLocalRoleBindingUpdate ¶
func ValidateLocalRoleBindingUpdate(policy *authorizationapi.RoleBinding, oldRoleBinding *authorizationapi.RoleBinding) field.ErrorList
func ValidateLocalRoleUpdate ¶
func ValidateLocalRoleUpdate(policy *authorizationapi.Role, oldRole *authorizationapi.Role) field.ErrorList
func ValidateLocalSubjectAccessReview ¶ added in v1.0.5
func ValidateLocalSubjectAccessReview(review *authorizationapi.LocalSubjectAccessReview) field.ErrorList
func ValidatePolicy ¶
func ValidatePolicy(policy *authorizationapi.Policy, isNamespaced bool) field.ErrorList
func ValidatePolicyBinding ¶
func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding, isNamespaced bool) field.ErrorList
func ValidatePolicyBindingUpdate ¶
func ValidatePolicyBindingUpdate(policyBinding *authorizationapi.PolicyBinding, oldPolicyBinding *authorizationapi.PolicyBinding, isNamespaced bool) field.ErrorList
func ValidatePolicyName ¶
func ValidatePolicyUpdate ¶
func ValidatePolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy, isNamespaced bool) field.ErrorList
func ValidateResourceAccessReview ¶
func ValidateResourceAccessReview(review *authorizationapi.ResourceAccessReview) field.ErrorList
func ValidateRole ¶
func ValidateRole(role *authorizationapi.Role, isNamespaced bool) field.ErrorList
func ValidateRoleBinding ¶
func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding, isNamespaced bool) field.ErrorList
func ValidateRoleBindingRestriction ¶ added in v1.4.0
func ValidateRoleBindingRestriction(rbr *authorizationapi.RoleBindingRestriction) field.ErrorList
func ValidateRoleBindingRestrictionGroup ¶ added in v1.4.0
func ValidateRoleBindingRestrictionGroup(group *authorizationapi.GroupRestriction, fld *field.Path) field.ErrorList
func ValidateRoleBindingRestrictionServiceAccount ¶ added in v1.4.0
func ValidateRoleBindingRestrictionServiceAccount(sa *authorizationapi.ServiceAccountRestriction, fld *field.Path) field.ErrorList
func ValidateRoleBindingRestrictionSpec ¶ added in v1.4.0
func ValidateRoleBindingRestrictionSpec(spec *authorizationapi.RoleBindingRestrictionSpec, fld *field.Path) field.ErrorList
func ValidateRoleBindingRestrictionUpdate ¶ added in v1.4.0
func ValidateRoleBindingRestrictionUpdate(rbr, old *authorizationapi.RoleBindingRestriction) field.ErrorList
func ValidateRoleBindingRestrictionUser ¶ added in v1.4.0
func ValidateRoleBindingRestrictionUser(user *authorizationapi.UserRestriction, fld *field.Path) field.ErrorList
func ValidateRoleBindingUpdate ¶
func ValidateRoleBindingUpdate(roleBinding *authorizationapi.RoleBinding, oldRoleBinding *authorizationapi.RoleBinding, isNamespaced bool) field.ErrorList
func ValidateRoleUpdate ¶
func ValidateRoleUpdate(role *authorizationapi.Role, oldRole *authorizationapi.Role, isNamespaced bool, fldPath *field.Path) field.ErrorList
func ValidateSelfSubjectRulesReview ¶ added in v1.3.0
func ValidateSelfSubjectRulesReview(review *authorizationapi.SelfSubjectRulesReview) field.ErrorList
func ValidateSubjectAccessReview ¶
func ValidateSubjectAccessReview(review *authorizationapi.SubjectAccessReview) field.ErrorList
func ValidateSubjectRulesReview ¶ added in v1.4.0
func ValidateSubjectRulesReview(rules *authorizationapi.SubjectRulesReview) field.ErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.