Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the V2beta2ObjectMetricStatus class.
 /// </summary>
 /// <param name="current">current contains the current value for the
 /// given metric</param>
 /// <param name="metric">metric identifies the target metric by name
 /// and selector</param>
 public V2beta2ObjectMetricStatus(V2beta2MetricValueStatus current, V2beta2CrossVersionObjectReference describedObject, V2beta2MetricIdentifier metric)
 {
     Current         = current;
     DescribedObject = describedObject;
     Metric          = metric;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the
 /// V2beta2ContainerResourceMetricStatus class.
 /// </summary>
 /// <param name="container">Container is the name of the container in
 /// the pods of the scaling target</param>
 /// <param name="current">current contains the current value for the
 /// given metric</param>
 /// <param name="name">Name is the name of the resource in
 /// question.</param>
 public V2beta2ContainerResourceMetricStatus(string container, V2beta2MetricValueStatus current, string name)
 {
     Container = container;
     Current   = current;
     Name      = name;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the V2beta2ExternalMetricStatus
 /// class.
 /// </summary>
 /// <param name="current">current contains the current value for the
 /// given metric</param>
 /// <param name="metric">metric identifies the target metric by name
 /// and selector</param>
 public V2beta2ExternalMetricStatus(V2beta2MetricValueStatus current, V2beta2MetricIdentifier metric)
 {
     Current = current;
     Metric  = metric;
     CustomInit();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the V2beta2ResourceMetricStatus
 /// class.
 /// </summary>
 /// <param name="current">current contains the current value for the
 /// given metric</param>
 /// <param name="name">Name is the name of the resource in
 /// question.</param>
 public V2beta2ResourceMetricStatus(V2beta2MetricValueStatus current, string name)
 {
     Current = current;
     Name    = name;
     CustomInit();
 }