Documentation ¶
Index ¶
- func NewValidator(resources map[schema.GroupResource]bool, ...) (admission.Interface, error)
- func RequireNameCluster(name string, prefix bool) []string
- func ValidateConfigMapReference(path *field.Path, configMap configv1.ConfigMapNameReference, required bool) field.ErrorList
- func ValidateSecretReference(path *field.Path, secret configv1.SecretNameReference, required bool) field.ErrorList
- type ObjectValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidator ¶
func NewValidator(resources map[schema.GroupResource]bool, validators map[schema.GroupVersionKind]ObjectValidator) (admission.Interface, error)
func RequireNameCluster ¶
RequireNameCluster is a name validation function that requires the name to be cluster. It's handy for config.openshift.io types.
func ValidateSecretReference ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.