Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HorizontalPodAutoscaler (0.32 sec)

  1. pkg/printers/internalversion/printers_test.go

    	if err != nil {
    		t.Errorf("unable to parse label selector: %v", err)
    	}
    	tests := []struct {
    		hpa      autoscaling.HorizontalPodAutoscaler
    		expected []metav1.TableRow
    	}{
    		// minReplicas unset
    		{
    			hpa: autoscaling.HorizontalPodAutoscaler{
    				ObjectMeta: metav1.ObjectMeta{Name: "some-hpa"},
    				Spec: autoscaling.HorizontalPodAutoscalerSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    	}
    
    	ret := strings.Join(list, ", ")
    	if more {
    		return fmt.Sprintf("%s + %d more...", ret, count-max)
    	}
    	return ret
    }
    
    func printHorizontalPodAutoscaler(obj *autoscaling.HorizontalPodAutoscaler, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	reference := fmt.Sprintf("%s/%s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top