Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Convert_autoscaling_PodsMetricSource_To_v2beta1_PodsMetricSource (0.96 sec)

  1. pkg/apis/autoscaling/v2beta1/conversion.go

    		APIVersion: in.Target.APIVersion,
    	}
    	out.Metric = autoscaling.MetricIdentifier{
    		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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 03 16:28:10 UTC 2021
    - 13.4K bytes
    - Viewed (0)
  2. pkg/apis/autoscaling/v2beta1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddConversionFunc((*autoscaling.PodsMetricSource)(nil), (*v2beta1.PodsMetricSource)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_autoscaling_PodsMetricSource_To_v2beta1_PodsMetricSource(a.(*autoscaling.PodsMetricSource), b.(*v2beta1.PodsMetricSource), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 42.5K bytes
    - Viewed (0)
Back to top