Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MetricSpec (0.23 sec)

  1. pkg/printers/internalversion/printers_test.go

    						Name: "some-rc",
    						Kind: "ReplicationController",
    					},
    					MinReplicas: &minReplicasVal,
    					MaxReplicas: 10,
    					Metrics: []autoscaling.MetricSpec{
    						{
    							Type: autoscaling.ExternalMetricSourceType,
    							External: &autoscaling.ExternalMetricSource{
    								Metric: autoscaling.MetricIdentifier{
    									Name:     "some-external-metric",
    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

    		r, err := printDeployment(&list.Items[i], options)
    		if err != nil {
    			return nil, err
    		}
    		rows = append(rows, r...)
    	}
    	return rows, nil
    }
    
    func formatHPAMetrics(specs []autoscaling.MetricSpec, statuses []autoscaling.MetricStatus) string {
    	if len(specs) == 0 {
    		return "<none>"
    	}
    	list := []string{}
    	max := 2
    	more := false
    	count := 0
    	for i, spec := range specs {
    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