Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateCommonFields (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/rest/update.go

    	// there is no resource version specified in the object.
    	AllowUnconditionalUpdate() bool
    }
    
    // TODO: add other common fields that require global validation.
    func validateCommonFields(obj, old runtime.Object, strategy RESTUpdateStrategy) (field.ErrorList, error) {
    	allErrs := field.ErrorList{}
    	objectMeta, err := meta.Accessor(obj)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 11.8K bytes
    - Viewed (0)
Back to top