validation

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 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 ValidatePolicyName(name string, prefix bool) (bool, string)

func ValidatePolicyUpdate added in v0.4.4

func ValidatePolicyUpdate(oldPolicy *authorizationapi.Policy, policy *authorizationapi.Policy) fielderrors.ValidationErrorList

func ValidateRole

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 ValidateRoleBindingName(name string, prefix bool) (bool, string)

func ValidateRoleBindingUpdate added in v0.4.4

func ValidateRoleBindingUpdate(oldRoleBinding *authorizationapi.RoleBinding, roleBinding *authorizationapi.RoleBinding) fielderrors.ValidationErrorList

func ValidateRoleName added in v0.4.4

func ValidateRoleName(name string, prefix bool) (bool, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL