Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for PodsMetricSource (0.38 sec)

  1. staging/src/k8s.io/api/autoscaling/v2/zz_generated.deepcopy.go

    func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
    	*out = *in
    	in.Metric.DeepCopyInto(&out.Metric)
    	in.Target.DeepCopyInto(&out.Target)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
    func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/autoscaling/v1/zz_generated.deepcopy.go

    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
    func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
    	if in == nil {
    		return nil
    	}
    	out := new(PodsMetricSource)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 16.8K bytes
    - Viewed (0)
  3. pkg/apis/autoscaling/v2beta1/conversion.go

    		Name:     in.MetricName,
    		Selector: in.Selector,
    	}
    	return nil
    }
    
    func Convert_autoscaling_PodsMetricSource_To_v2beta1_PodsMetricSource(in *autoscaling.PodsMetricSource, out *autoscalingv2beta1.PodsMetricSource, s conversion.Scope) error {
    	if in.Target.AverageValue != nil {
    		targetAverageValue := *in.Target.AverageValue
    		out.TargetAverageValue = targetAverageValue
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 03 16:28:10 UTC 2021
    - 13.4K bytes
    - Viewed (0)
  4. pkg/apis/autoscaling/zz_generated.deepcopy.go

    func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
    	*out = *in
    	in.Metric.DeepCopyInto(&out.Metric)
    	in.Target.DeepCopyInto(&out.Target)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
    func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 19.4K bytes
    - Viewed (0)
  5. pkg/apis/autoscaling/v1/conversion.go

    		Name:     in.MetricName,
    		Selector: in.Selector,
    	}
    	return nil
    }
    
    func Convert_autoscaling_PodsMetricSource_To_v1_PodsMetricSource(in *autoscaling.PodsMetricSource, out *autoscalingv1.PodsMetricSource, s conversion.Scope) error {
    	if in.Target.AverageValue != nil {
    		out.TargetAverageValue = *in.Target.AverageValue
    	}
    
    	out.MetricName = in.Metric.Name
    	out.Selector = in.Metric.Selector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 16 03:29:22 UTC 2021
    - 21.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

      optional k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 5;
    }
    
    // PodsMetricSource indicates how to scale on a metric describing each pod in
    // the current scale target (for example, transactions-processed-per-second).
    // The values will be averaged together before being compared to the target
    // value.
    message PodsMetricSource {
      // metricName is the name of the metric in question
      optional string metricName = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. pkg/apis/autoscaling/fuzzer/fuzzer.go

    			targetUtilization := int32(c.RandUint64())
    			averageValue := randomQuantity()
    			s.Metrics = []autoscaling.MetricSpec{
    				{
    					Type: autoscaling.PodsMetricSourceType,
    					Pods: &autoscaling.PodsMetricSource{
    						Metric: podMetricID,
    						Target: autoscaling.MetricTarget{
    							Type:         autoscaling.AverageValueMetricType,
    							AverageValue: &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)
  8. staging/src/k8s.io/api/autoscaling/v2beta1/generated.pb.go

    func (m *PodsMetricSource) Reset()      { *m = PodsMetricSource{} }
    func (*PodsMetricSource) ProtoMessage() {}
    func (*PodsMetricSource) Descriptor() ([]byte, []int) {
    	return fileDescriptor_ea74040359c1ed83, []int{14}
    }
    func (m *PodsMetricSource) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PodsMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2beta1/types.go

    }
    
    // PodsMetricSource indicates how to scale on a metric describing each pod in
    // the current scale target (for example, transactions-processed-per-second).
    // The values will be averaged together before being compared to the target
    // value.
    type PodsMetricSource struct {
    	// metricName is the name of the metric in question
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 26.9K bytes
    - Viewed (0)
  10. pkg/apis/autoscaling/validation/validation_test.go

    				Name: "myrc",
    			},
    			MinReplicas: utilpointer.Int32(1),
    			MaxReplicas: 5,
    			Metrics: []autoscaling.MetricSpec{{
    				Type: autoscaling.PodsMetricSourceType,
    				Pods: &autoscaling.PodsMetricSource{
    					Metric: autoscaling.MetricIdentifier{
    						Name: "somemetric",
    					},
    					Target: autoscaling.MetricTarget{
    						Type:         autoscaling.AverageValueMetricType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
Back to top