Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for MetricSourceType (0.31 sec)

  1. pkg/apis/autoscaling/v2/zz_generated.conversion.go

    }
    
    func autoConvert_v2_MetricSpec_To_autoscaling_MetricSpec(in *v2.MetricSpec, out *autoscaling.MetricSpec, s conversion.Scope) error {
    	out.Type = autoscaling.MetricSourceType(in.Type)
    	out.Object = (*autoscaling.ObjectMetricSource)(unsafe.Pointer(in.Object))
    	out.Pods = (*autoscaling.PodsMetricSource)(unsafe.Pointer(in.Pods))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 58.5K bytes
    - Viewed (0)
  2. pkg/apis/autoscaling/v1/zz_generated.conversion.go

    	return nil
    }
    
    func autoConvert_v1_MetricSpec_To_autoscaling_MetricSpec(in *v1.MetricSpec, out *autoscaling.MetricSpec, s conversion.Scope) error {
    	out.Type = autoscaling.MetricSourceType(in.Type)
    	if in.Object != nil {
    		in, out := &in.Object, &out.Object
    		*out = new(autoscaling.ObjectMetricSource)
    		if err := Convert_v1_ObjectMetricSource_To_autoscaling_ObjectMetricSource(*in, *out, s); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 43.7K bytes
    - Viewed (0)
  3. pkg/apis/autoscaling/v2beta2/zz_generated.conversion.go

    }
    
    func autoConvert_v2beta2_MetricSpec_To_autoscaling_MetricSpec(in *v2beta2.MetricSpec, out *autoscaling.MetricSpec, s conversion.Scope) error {
    	out.Type = autoscaling.MetricSourceType(in.Type)
    	out.Object = (*autoscaling.ObjectMetricSource)(unsafe.Pointer(in.Object))
    	out.Pods = (*autoscaling.PodsMetricSource)(unsafe.Pointer(in.Pods))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 60.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
Back to top