Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for MetricSourceType (0.27 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    	metricComputationActionLabels map[autoscalingv2.MetricSourceType][]monitor.ActionLabel
    	metricComputationErrorLabels  map[autoscalingv2.MetricSourceType][]monitor.ErrorLabel
    }
    
    func newMockMonitor() *mockMonitor {
    	return &mockMonitor{
    		metricComputationActionLabels: make(map[autoscalingv2.MetricSourceType][]monitor.ActionLabel),
    		metricComputationErrorLabels:  make(map[autoscalingv2.MetricSourceType][]monitor.ErrorLabel),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/monitor/monitor.go

    type Monitor interface {
    	ObserveReconciliationResult(action ActionLabel, err ErrorLabel, duration time.Duration)
    	ObserveMetricComputationResult(action ActionLabel, err ErrorLabel, duration time.Duration, metricType v2.MetricSourceType)
    }
    
    type monitor struct{}
    
    func New() Monitor {
    	return &monitor{}
    }
    
    // ObserveReconciliationResult observes some metrics from a reconciliation result.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:47:24 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricstatus.go

    )
    
    // MetricStatusApplyConfiguration represents an declarative configuration of the MetricStatus type for use
    // with apply.
    type MetricStatusApplyConfiguration struct {
    	Type              *v2beta2.MetricSourceType                        `json:"type,omitempty"`
    	Object            *ObjectMetricStatusApplyConfiguration            `json:"object,omitempty"`
    	Pods              *PodsMetricStatusApplyConfiguration              `json:"pods,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v2beta1/types.go

    	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
    	// (for example, hits-per-second on an Ingress object).
    	ObjectMetricSourceType MetricSourceType = "Object"
    	// PodsMetricSourceType is a metric describing each pod in the current scale
    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/client-go/applyconfigurations/autoscaling/v2beta2/metricspec.go

    )
    
    // MetricSpecApplyConfiguration represents an declarative configuration of the MetricSpec type for use
    // with apply.
    type MetricSpecApplyConfiguration struct {
    	Type              *v2beta2.MetricSourceType                        `json:"type,omitempty"`
    	Object            *ObjectMetricSourceApplyConfiguration            `json:"object,omitempty"`
    	Pods              *PodsMetricSourceApplyConfiguration              `json:"pods,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v1/types.go

    }
    
    // the types below are used in the alpha metrics annotation
    
    // MetricSourceType indicates the type of metric.
    // +enum
    type MetricSourceType string
    
    const (
    	// ObjectMetricSourceType is a metric describing a kubernetes object
    	// (for example, hits-per-second on an Ingress object).
    	ObjectMetricSourceType MetricSourceType = "Object"
    	// PodsMetricSourceType is a metric describing each pod in the current scale
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricspec.go

    )
    
    // MetricSpecApplyConfiguration represents an declarative configuration of the MetricSpec type for use
    // with apply.
    type MetricSpecApplyConfiguration struct {
    	Type              *v2.MetricSourceType                             `json:"type,omitempty"`
    	Object            *ObjectMetricSourceApplyConfiguration            `json:"object,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricspec.go

    )
    
    // MetricSpecApplyConfiguration represents an declarative configuration of the MetricSpec type for use
    // with apply.
    type MetricSpecApplyConfiguration struct {
    	Type              *v2beta1.MetricSourceType                        `json:"type,omitempty"`
    	Object            *ObjectMetricSourceApplyConfiguration            `json:"object,omitempty"`
    	Pods              *PodsMetricSourceApplyConfiguration              `json:"pods,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2beta2/types.go

    	PeriodSeconds int32 `json:"periodSeconds" protobuf:"varint,3,opt,name=periodSeconds"`
    }
    
    // MetricSourceType indicates the type of metric.
    type MetricSourceType string
    
    const (
    	// ObjectMetricSourceType is a metric describing a kubernetes object
    	// (for example, hits-per-second on an Ingress object).
    	ObjectMetricSourceType MetricSourceType = "Object"
    	// PodsMetricSourceType is a metric describing each pod in the current scale
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  10. pkg/apis/autoscaling/types.go

    	PeriodSeconds int32
    }
    
    // MetricSourceType indicates the type of metric.
    type MetricSourceType string
    
    const (
    	// ObjectMetricSourceType is a metric describing a kubernetes object
    	// (for example, hits-per-second on an Ingress object).
    	ObjectMetricSourceType MetricSourceType = "Object"
    	// PodsMetricSourceType is a metric describing each pod in the current scale
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 23.8K bytes
    - Viewed (0)
Back to top