Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for autoscalingapiv2 (0.5 sec)

  1. pkg/controller/disruption/disruption_test.go

    	dc.scaleClient.AddReactor("get", "customresources", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		obj := &autoscalingapi.Scale{
    			ObjectMeta: metav1.ObjectMeta{
    				Namespace: metav1.NamespaceDefault,
    				UID:       customResourceUID,
    			},
    			Spec: autoscalingapi.ScaleSpec{
    				Replicas: replicas,
    			},
    		}
    		return true, obj, nil
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top