Documentation ¶
Index ¶
- func PolicyBindingNameValidator(policyRefNamespace string) validation.ValidateNameFunc
- func ValidateClusterPolicy(policy *authorizationapi.ClusterPolicy) fielderrors.ValidationErrorList
- func ValidateClusterPolicyBinding(policy *authorizationapi.ClusterPolicyBinding) fielderrors.ValidationErrorList
- func ValidateClusterPolicyBindingUpdate(policy *authorizationapi.ClusterPolicyBinding, ...) fielderrors.ValidationErrorList
- func ValidateClusterPolicyUpdate(policy *authorizationapi.ClusterPolicy, ...) fielderrors.ValidationErrorList
- func ValidateClusterRole(policy *authorizationapi.ClusterRole) fielderrors.ValidationErrorList
- func ValidateClusterRoleBinding(policy *authorizationapi.ClusterRoleBinding) fielderrors.ValidationErrorList
- func ValidateClusterRoleBindingUpdate(policy *authorizationapi.ClusterRoleBinding, ...) fielderrors.ValidationErrorList
- func ValidateClusterRoleUpdate(policy *authorizationapi.ClusterRole, oldRole *authorizationapi.ClusterRole) fielderrors.ValidationErrorList
- func ValidateLocalPolicy(policy *authorizationapi.Policy) fielderrors.ValidationErrorList
- func ValidateLocalPolicyBinding(policy *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
- func ValidateLocalPolicyBindingUpdate(policy *authorizationapi.PolicyBinding, ...) fielderrors.ValidationErrorList
- func ValidateLocalPolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy) fielderrors.ValidationErrorList
- func ValidateLocalRole(policy *authorizationapi.Role) fielderrors.ValidationErrorList
- func ValidateLocalRoleBinding(policy *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
- func ValidateLocalRoleBindingUpdate(policy *authorizationapi.RoleBinding, ...) fielderrors.ValidationErrorList
- func ValidateLocalRoleUpdate(policy *authorizationapi.Role, oldRole *authorizationapi.Role) fielderrors.ValidationErrorList
- func ValidatePolicy(policy *authorizationapi.Policy, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidatePolicyBindingUpdate(policyBinding *authorizationapi.PolicyBinding, ...) fielderrors.ValidationErrorList
- func ValidatePolicyName(name string, prefix bool) (bool, string)
- func ValidatePolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy, ...) fielderrors.ValidationErrorList
- func ValidateRole(role *authorizationapi.Role, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidateRoleBindingName(name string, prefix bool) (bool, string)
- func ValidateRoleBindingUpdate(roleBinding *authorizationapi.RoleBinding, ...) fielderrors.ValidationErrorList
- func ValidateRoleName(name string, prefix bool) (bool, string)
- func ValidateRoleUpdate(role *authorizationapi.Role, oldRole *authorizationapi.Role, isNamespaced bool) fielderrors.ValidationErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PolicyBindingNameValidator ¶ added in v0.4.4
func PolicyBindingNameValidator(policyRefNamespace string) validation.ValidateNameFunc
func ValidateClusterPolicy ¶ added in v0.5.1
func ValidateClusterPolicy(policy *authorizationapi.ClusterPolicy) fielderrors.ValidationErrorList
func ValidateClusterPolicyBinding ¶ added in v0.5.1
func ValidateClusterPolicyBinding(policy *authorizationapi.ClusterPolicyBinding) fielderrors.ValidationErrorList
func ValidateClusterPolicyBindingUpdate ¶ added in v0.5.1
func ValidateClusterPolicyBindingUpdate(policy *authorizationapi.ClusterPolicyBinding, oldPolicyBinding *authorizationapi.ClusterPolicyBinding) fielderrors.ValidationErrorList
func ValidateClusterPolicyUpdate ¶ added in v0.5.1
func ValidateClusterPolicyUpdate(policy *authorizationapi.ClusterPolicy, oldPolicy *authorizationapi.ClusterPolicy) fielderrors.ValidationErrorList
func ValidateClusterRole ¶ added in v0.5.1
func ValidateClusterRole(policy *authorizationapi.ClusterRole) fielderrors.ValidationErrorList
func ValidateClusterRoleBinding ¶ added in v0.5.1
func ValidateClusterRoleBinding(policy *authorizationapi.ClusterRoleBinding) fielderrors.ValidationErrorList
func ValidateClusterRoleBindingUpdate ¶ added in v0.5.1
func ValidateClusterRoleBindingUpdate(policy *authorizationapi.ClusterRoleBinding, oldRoleBinding *authorizationapi.ClusterRoleBinding) fielderrors.ValidationErrorList
func ValidateClusterRoleUpdate ¶ added in v0.5.1
func ValidateClusterRoleUpdate(policy *authorizationapi.ClusterRole, oldRole *authorizationapi.ClusterRole) fielderrors.ValidationErrorList
func ValidateLocalPolicy ¶ added in v0.5.1
func ValidateLocalPolicy(policy *authorizationapi.Policy) fielderrors.ValidationErrorList
func ValidateLocalPolicyBinding ¶ added in v0.5.1
func ValidateLocalPolicyBinding(policy *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
func ValidateLocalPolicyBindingUpdate ¶ added in v0.5.1
func ValidateLocalPolicyBindingUpdate(policy *authorizationapi.PolicyBinding, oldPolicyBinding *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
func ValidateLocalPolicyUpdate ¶ added in v0.5.1
func ValidateLocalPolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy) fielderrors.ValidationErrorList
func ValidateLocalRole ¶ added in v0.5.1
func ValidateLocalRole(policy *authorizationapi.Role) fielderrors.ValidationErrorList
func ValidateLocalRoleBinding ¶ added in v0.5.1
func ValidateLocalRoleBinding(policy *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
func ValidateLocalRoleBindingUpdate ¶ added in v0.5.1
func ValidateLocalRoleBindingUpdate(policy *authorizationapi.RoleBinding, oldRoleBinding *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
func ValidateLocalRoleUpdate ¶ added in v0.5.1
func ValidateLocalRoleUpdate(policy *authorizationapi.Role, oldRole *authorizationapi.Role) fielderrors.ValidationErrorList
func ValidatePolicy ¶ added in v0.4.4
func ValidatePolicy(policy *authorizationapi.Policy, isNamespaced bool) fielderrors.ValidationErrorList
func ValidatePolicyBinding ¶
func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding, isNamespaced bool) fielderrors.ValidationErrorList
func ValidatePolicyBindingUpdate ¶ added in v0.4.4
func ValidatePolicyBindingUpdate(policyBinding *authorizationapi.PolicyBinding, oldPolicyBinding *authorizationapi.PolicyBinding, isNamespaced bool) fielderrors.ValidationErrorList
func ValidatePolicyName ¶ added in v0.4.4
func ValidatePolicyUpdate ¶ added in v0.4.4
func ValidatePolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateRole ¶
func ValidateRole(role *authorizationapi.Role, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateRoleBinding ¶
func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateRoleBindingName ¶ added in v0.4.4
func ValidateRoleBindingUpdate ¶ added in v0.4.4
func ValidateRoleBindingUpdate(roleBinding *authorizationapi.RoleBinding, oldRoleBinding *authorizationapi.RoleBinding, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateRoleName ¶ added in v0.4.4
func ValidateRoleUpdate ¶ added in v0.5.1
func ValidateRoleUpdate(role *authorizationapi.Role, oldRole *authorizationapi.Role, isNamespaced bool) fielderrors.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.