Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + var Validator = &RuntimeObjectsValidator + func HasObjectMeta(obj runtime.Object) bool + type RuntimeObjectValidator interface + Validate func(obj runtime.Object) field.ErrorList + ValidateUpdate func(obj, old runtime.Object) field.ErrorList + type RuntimeObjectValidatorInfo struct + HasObjectMeta bool + IsNamespaced bool + UpdateAllowed bool + Validator RuntimeObjectValidator + type RuntimeObjectsValidator struct + func (v *RuntimeObjectsValidator) GetInfo(obj runtime.Object) (RuntimeObjectValidatorInfo, bool) + func (v *RuntimeObjectsValidator) GetRequiresNamespace(obj runtime.Object) (bool, error) + func (v *RuntimeObjectsValidator) MustRegister(obj runtime.Object, namespaceScoped bool, validateFunction interface{}, ...) + func (v *RuntimeObjectsValidator) Register(obj runtime.Object, namespaceScoped bool, validateFunction interface{}, ...) error + func (v *RuntimeObjectsValidator) Validate(obj runtime.Object) field.ErrorList + func (v *RuntimeObjectsValidator) ValidateUpdate(obj, old runtime.Object) field.ErrorList + type WrappingValidator struct + func NewValidationWrapper(validateFunction interface{}, validateUpdateFunction interface{}) (*WrappingValidator, error) + func (v *WrappingValidator) Validate(obj runtime.Object) field.ErrorList + func (v *WrappingValidator) ValidateUpdate(obj, old runtime.Object) field.ErrorList