Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 548 for cedric (0.15 sec)

  1. staging/src/k8s.io/api/autoscaling/v2/types.go

    	// metric identifies the target metric by name and selector
    	Metric MetricIdentifier `json:"metric" protobuf:"bytes,1,name=metric"`
    
    	// current contains the current value for the given metric
    	Current MetricValueStatus `json:"current" protobuf:"bytes,2,name=current"`
    }
    
    // MetricValueStatus holds the current value for a metric
    type MetricValueStatus struct {
    	// value is the current value of the metric (as a quantity).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    	r := &dto.MetricFamily{}
    	r.Name = mf.Name
    	r.Help = mf.Help
    	r.Type = mf.Type
    	r.Metric = make([]*dto.Metric, len(mf.Metric))
    	for i, m := range mf.Metric {
    		r.Metric[i] = deepCopyMetric(m)
    	}
    	return r
    }
    
    func deepCopyMetric(m *dto.Metric) *dto.Metric {
    	r := &dto.Metric{}
    	r.Label = make([]*dto.LabelPair, len(m.Label))
    	for i, lp := range m.Label {
    		r.Label[i] = deepCopyLabelPair(lp)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v2beta1/types_swagger_doc_generated.go

    	"metricName":          "metricName is the name of a metric used for autoscaling in metric system.",
    	"metricSelector":      "metricSelector is used to identify a specific time series within a given metric.",
    	"currentValue":        "currentValue is the current value of the metric (as a quantity)",
    	"currentAverageValue": "currentAverageValue is the current value of metric averaged over autoscaled pods.",
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v2beta1/types.go

    	// increased, and vice-versa.  See the individual metric source types for
    	// more information about how each type of metric must respond.
    	// +optional
    	// +listType=atomic
    	Metrics []MetricSpec `json:"metrics,omitempty" protobuf:"bytes,4,rep,name=metrics"`
    }
    
    // MetricSourceType indicates the type of metric.
    type MetricSourceType string
    
    const (
    	// ObjectMetricSourceType is a metric describing a kubernetes object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 26.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta1/generated.proto

    }
    
    // ExternalMetricStatus indicates the current value of a global metric
    // not associated with any Kubernetes object.
    message ExternalMetricStatus {
      // metricName is the name of a metric used for autoscaling in
      // metric system.
      optional string metricName = 1;
    
      // metricSelector is used to identify a specific time series
      // within a given metric.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v2beta2/types.go

    	// metric identifies the target metric by name and selector
    	Metric MetricIdentifier `json:"metric" protobuf:"bytes,1,name=metric"`
    
    	// current contains the current value for the given metric
    	Current MetricValueStatus `json:"current" protobuf:"bytes,2,name=current"`
    }
    
    // MetricValueStatus holds the current value for a metric
    type MetricValueStatus struct {
    	// value is the current value of the metric (as a quantity).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v1/types_swagger_doc_generated.go

    	"metricSelector":      "metricSelector is used to identify a specific time series within a given metric.",
    	"currentValue":        "currentValue is the current value of the metric (as a quantity)",
    	"currentAverageValue": "currentAverageValue is the current value of metric averaged over autoscaled pods.",
    }
    
    func (ExternalMetricStatus) SwaggerDoc() map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  8. pkg/apis/autoscaling/types.go

    // value.
    type PodsMetricSource struct {
    	// metric identifies the target metric by name and selector
    	Metric MetricIdentifier
    	// target specifies the target value for the given metric
    	Target MetricTarget
    }
    
    // ResourceMetricSource indicates how to scale on a resource metric known to
    // Kubernetes, as specified in requests and limits, describing each pod in the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  9. pkg/apis/autoscaling/v1/conversion.go

    	for _, metric := range in.Spec.Metrics {
    		if metric.Type == autoscaling.ResourceMetricSourceType && metric.Resource != nil && metric.Resource.Name == core.ResourceCPU && metric.Resource.Target.AverageUtilization != nil {
    			continue
    		}
    
    		convMetric := autoscalingv1.MetricSpec{}
    		if err := Convert_autoscaling_MetricSpec_To_v1_MetricSpec(&metric, &convMetric, s); err != nil {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 16 03:29:22 UTC 2021
    - 21.2K bytes
    - Viewed (0)
  10. cmd/metrics-v3-types.go

    		arg += "/"
    	}
    	return strings.HasPrefix(descendant, arg)
    }
    
    // MetricType - represents the type of a metric.
    type MetricType int
    
    const (
    	// CounterMT - represents a counter metric.
    	CounterMT MetricType = iota
    	// GaugeMT - represents a gauge metric.
    	GaugeMT
    	// HistogramMT - represents a histogram metric.
    	HistogramMT
    	// rangeL - represents a range label.
    	rangeL = "range"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top