Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateHorizontalPodAutoscaler (0.33 sec)

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

    				Value:         7,
    				PeriodSeconds: 8,
    			}},
    		},
    	}}
    	for _, behavior := range successCases {
    		hpa := prepareHPAWithBehavior(behavior)
    		if errs := ValidateHorizontalPodAutoscaler(&hpa); len(errs) != 0 {
    			t.Errorf("expected success: %v", errs)
    		}
    	}
    	errorCases := []struct {
    		behavior autoscaling.HorizontalPodAutoscalerBehavior
    		msg      string
    	}{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
Back to top