Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expectedFields (0.1 sec)

  1. pkg/apis/autoscaling/validation/validation.go

    		}
    	}
    
    	var expectedField string
    	switch spec.Type {
    
    	case autoscaling.ObjectMetricSourceType:
    		if spec.Object == nil {
    			allErrs = append(allErrs, field.Required(fldPath.Child("object"), "must populate information for the given metric source"))
    		}
    		expectedField = "object"
    	case autoscaling.PodsMetricSourceType:
    		if spec.Pods == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top