Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for MetricSourceType (0.26 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricstatus.go

    )
    
    // MetricStatusApplyConfiguration represents an declarative configuration of the MetricStatus type for use
    // with apply.
    type MetricStatusApplyConfiguration struct {
    	Type              *v2.MetricSourceType                             `json:"type,omitempty"`
    	Object            *ObjectMetricStatusApplyConfiguration            `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)
  2. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricstatus.go

    )
    
    // MetricStatusApplyConfiguration represents an declarative configuration of the MetricStatus type for use
    // with apply.
    type MetricStatusApplyConfiguration struct {
    	Type              *v2beta1.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)
  3. 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)
  4. pkg/apis/autoscaling/v2beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v2beta1_MetricSpec_To_autoscaling_MetricSpec(in *v2beta1.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)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 42.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top