- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for metricsTarget (0.31 sec)
-
pkg/controller/podautoscaler/horizontal_test.go
Name: v1.ResourceCPU, Target: autoscalingv2.MetricTarget{ Type: autoscalingv2.UtilizationMetricType, AverageUtilization: &tc.CPUTarget, }, }, }, } } if len(tc.metricsTarget) > 0 { obj.Items[0].Spec.Metrics = append(obj.Items[0].Spec.Metrics, tc.metricsTarget...) } if len(obj.Items[0].Spec.Metrics) == 0 {
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/client-go/applyconfigurations/autoscaling/v2/metrictarget.go
AverageUtilization *int32 `json:"averageUtilization,omitempty"` } // MetricTargetApplyConfiguration constructs an declarative configuration of the MetricTarget type for use with // apply. func MetricTarget() *MetricTargetApplyConfiguration { return &MetricTargetApplyConfiguration{} } // WithType sets the Type field in the declarative configuration to the given value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 02:34:54 UTC 2021 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metrictarget.go
AverageUtilization *int32 `json:"averageUtilization,omitempty"` } // MetricTargetApplyConfiguration constructs an declarative configuration of the MetricTarget type for use with // apply. func MetricTarget() *MetricTargetApplyConfiguration { return &MetricTargetApplyConfiguration{} } // WithType sets the Type field in the declarative configuration to the given value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 3.1K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
Target: autoscaling.MetricTarget{ Type: autoscaling.AverageValueMetricType, AverageValue: resource.NewMilliQuantity(100, resource.DecimalSI), }, }, Pods: &autoscaling.PodsMetricSource{ Metric: autoscaling.MetricIdentifier{ Name: "somemetric", }, Target: autoscaling.MetricTarget{
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/apis/autoscaling/v1/conversion_test.go
Target: autoscaling.MetricTarget{ Type: autoscaling.AverageValueMetricType, AverageValue: resource.NewMilliQuantity(300, resource.DecimalSI), }, }, }, { Type: autoscaling.ResourceMetricSourceType, Resource: &autoscaling.ResourceMetricSource{ Name: api.ResourceCPU, Target: autoscaling.MetricTarget{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 08 12:14:37 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/apis/autoscaling/v2beta1/conversion.go
) func Convert_autoscaling_MetricTarget_To_v2beta1_CrossVersionObjectReference(in *autoscaling.MetricTarget, out *autoscalingv2beta1.CrossVersionObjectReference, s conversion.Scope) error { return nil } func Convert_v2beta1_CrossVersionObjectReference_To_autoscaling_MetricTarget(in *autoscalingv2beta1.CrossVersionObjectReference, out *autoscaling.MetricTarget, s conversion.Scope) error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 03 16:28:10 UTC 2021 - 13.4K bytes - Viewed (0) -
pkg/apis/autoscaling/fuzzer/fuzzer.go
Metric: podMetricID, Target: autoscaling.MetricTarget{ Type: autoscaling.AverageValueMetricType, AverageValue: &averageValue, }, }, }, { Type: autoscaling.ObjectMetricSourceType, Object: &autoscaling.ObjectMetricSource{ Metric: objMetricID, Target: autoscaling.MetricTarget{ Type: autoscaling.ValueMetricType, Value: &averageValue,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 15 06:03:59 UTC 2022 - 5.1K bytes - Viewed (0) -
pkg/apis/autoscaling/v1/conversion.go
) func Convert_autoscaling_MetricTarget_To_v1_CrossVersionObjectReference(in *autoscaling.MetricTarget, out *autoscalingv1.CrossVersionObjectReference, s conversion.Scope) error { return nil } func Convert_v1_CrossVersionObjectReference_To_autoscaling_MetricTarget(in *autoscalingv1.CrossVersionObjectReference, out *autoscaling.MetricTarget, s conversion.Scope) error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 16 03:29:22 UTC 2021 - 21.2K bytes - Viewed (0) -
pkg/apis/autoscaling/v2/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v2.MetricTarget)(nil), (*autoscaling.MetricTarget)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v2_MetricTarget_To_autoscaling_MetricTarget(a.(*v2.MetricTarget), b.(*autoscaling.MetricTarget), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 02:34:54 UTC 2021 - 58.5K bytes - Viewed (0) -
pkg/apis/autoscaling/v2beta2/zz_generated.conversion.go
if err := s.AddGeneratedConversionFunc((*v2beta2.MetricTarget)(nil), (*autoscaling.MetricTarget)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v2beta2_MetricTarget_To_autoscaling_MetricTarget(a.(*v2beta2.MetricTarget), b.(*autoscaling.MetricTarget), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 60.9K bytes - Viewed (0)