func (persistentvolumeStrategy) ValidateUpdate(ctx api.Context, obj, old runtime.Object) field.ErrorList { errorList := validation.ValidatePersistentVolume(obj.(*api.PersistentVolume)) return append(errorList, validation.ValidatePersistentVolumeUpdate(obj.(*api.PersistentVolume), old.(*api.PersistentVolume))...) }
func (persistentvolumeStrategy) Validate(ctx api.Context, obj runtime.Object) field.ErrorList { persistentvolume := obj.(*api.PersistentVolume) return validation.ValidatePersistentVolume(persistentvolume) }