- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for MetricSourceType (0.42 sec)
-
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) -
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) -
staging/src/k8s.io/api/autoscaling/v2/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: Thu May 23 17:42:49 UTC 2024 - 28.5K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
MinReplicas: utilpointer.Int32(1), MaxReplicas: 5, Metrics: []autoscaling.MetricSpec{{ Type: autoscaling.MetricSourceType("InvalidType"), }}, }, }, msg: "type: Unsupported value", }, { horizontalPodAutoscaler: autoscaling.HorizontalPodAutoscaler{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal.go
resourceName v1.ResourceName, namespace string, container string, selector labels.Selector, sourceType autoscalingv2.MetricSourceType) (replicaCountProposal int32, metricStatus *autoscalingv2.MetricValueStatus, timestampProposal time.Time, metricNameProposal string, condition autoscalingv2.HorizontalPodAutoscalerCondition, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 63.6K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2beta1/generated.pb.go
} postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGenerated } if postIndex > l { return io.ErrUnexpectedEOF } m.Type = MetricSourceType(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) } var msglen int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 142.9K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v1/generated.pb.go
} postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGenerated } if postIndex > l { return io.ErrUnexpectedEOF } m.Type = MetricSourceType(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) } var msglen int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 153K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2/generated.pb.go
} postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGenerated } if postIndex > l { return io.ErrUnexpectedEOF } m.Type = MetricSourceType(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) } var msglen int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 162.9K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go
} postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGenerated } if postIndex > l { return io.ErrUnexpectedEOF } m.Type = MetricSourceType(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) } var msglen int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 163K bytes - Viewed (0)