Documentation ¶
Index ¶
- func PolicyBindingNameValidator(policyRefNamespace string) validation.ValidateNameFunc
- func ValidatePolicy(policy *authorizationapi.Policy) fielderrors.ValidationErrorList
- func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
- func ValidatePolicyBindingUpdate(oldPolicyBinding *authorizationapi.PolicyBinding, ...) fielderrors.ValidationErrorList
- func ValidatePolicyName(name string, prefix bool) (bool, string)
- func ValidatePolicyUpdate(oldPolicy *authorizationapi.Policy, policy *authorizationapi.Policy) fielderrors.ValidationErrorList
- func ValidateRole(role *authorizationapi.Role) fielderrors.ValidationErrorList
- func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
- func ValidateRoleBindingName(name string, prefix bool) (bool, string)
- func ValidateRoleBindingUpdate(oldRoleBinding *authorizationapi.RoleBinding, ...) fielderrors.ValidationErrorList
- func ValidateRoleName(name string, prefix bool) (bool, string)
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 ValidatePolicy ¶ added in v0.4.4
func ValidatePolicy(policy *authorizationapi.Policy) fielderrors.ValidationErrorList
func ValidatePolicyBinding ¶
func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
ValidatePolicyBinding tests required fields for a PolicyBinding.
func ValidatePolicyBindingUpdate ¶ added in v0.4.4
func ValidatePolicyBindingUpdate(oldPolicyBinding *authorizationapi.PolicyBinding, policyBinding *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
func ValidatePolicyName ¶ added in v0.4.4
func ValidatePolicyUpdate ¶ added in v0.4.4
func ValidatePolicyUpdate(oldPolicy *authorizationapi.Policy, policy *authorizationapi.Policy) fielderrors.ValidationErrorList
func ValidateRole ¶
func ValidateRole(role *authorizationapi.Role) fielderrors.ValidationErrorList
ValidateRole tests required fields for a Role.
func ValidateRoleBinding ¶
func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
ValidateRoleBinding tests required fields for a RoleBinding.
func ValidateRoleBindingName ¶ added in v0.4.4
func ValidateRoleBindingUpdate ¶ added in v0.4.4
func ValidateRoleBindingUpdate(oldRoleBinding *authorizationapi.RoleBinding, roleBinding *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.