| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
package v1beta1 |
| 23 |
|
| 24 |
import ( |
| 25 |
v1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 26 |
runtime "k8s.io/apimachinery/pkg/runtime" |
| 27 |
) |
| 28 |
|
| 29 |
|
| 30 |
func (in *MetricListOptions) DeepCopyInto(out *MetricListOptions) { |
| 31 |
*out = *in |
| 32 |
out.TypeMeta = in.TypeMeta |
| 33 |
return |
| 34 |
} |
| 35 |
|
| 36 |
|
| 37 |
func (in *MetricListOptions) DeepCopy() *MetricListOptions { |
| 38 |
if in == nil { |
| 39 |
return nil |
| 40 |
} |
| 41 |
out := new(MetricListOptions) |
| 42 |
in.DeepCopyInto(out) |
| 43 |
return out |
| 44 |
} |
| 45 |
|
| 46 |
|
| 47 |
func (in *MetricListOptions) DeepCopyObject() runtime.Object { |
| 48 |
if c := in.DeepCopy(); c != nil { |
| 49 |
return c |
| 50 |
} |
| 51 |
return nil |
| 52 |
} |
| 53 |
|
| 54 |
|
| 55 |
func (in *MetricValue) DeepCopyInto(out *MetricValue) { |
| 56 |
*out = *in |
| 57 |
out.TypeMeta = in.TypeMeta |
| 58 |
out.DescribedObject = in.DescribedObject |
| 59 |
in.Timestamp.DeepCopyInto(&out.Timestamp) |
| 60 |
if in.WindowSeconds != nil { |
| 61 |
in, out := &in.WindowSeconds, &out.WindowSeconds |
| 62 |
*out = new(int64) |
| 63 |
**out = **in |
| 64 |
} |
| 65 |
out.Value = in.Value.DeepCopy() |
| 66 |
if in.Selector != nil { |
| 67 |
in, out := &in.Selector, &out.Selector |
| 68 |
*out = new(v1.LabelSelector) |
| 69 |
(*in).DeepCopyInto(*out) |
| 70 |
} |
| 71 |
return |
| 72 |
} |
| 73 |
|
| 74 |
|
| 75 |
func (in *MetricValue) DeepCopy() *MetricValue { |
| 76 |
if in == nil { |
| 77 |
return nil |
| 78 |
} |
| 79 |
out := new(MetricValue) |
| 80 |
in.DeepCopyInto(out) |
| 81 |
return out |
| 82 |
} |
| 83 |
|
| 84 |
|
| 85 |
func (in *MetricValue) DeepCopyObject() runtime.Object { |
| 86 |
if c := in.DeepCopy(); c != nil { |
| 87 |
return c |
| 88 |
} |
| 89 |
return nil |
| 90 |
} |
| 91 |
|
| 92 |
|
| 93 |
func (in *MetricValueList) DeepCopyInto(out *MetricValueList) { |
| 94 |
*out = *in |
| 95 |
out.TypeMeta = in.TypeMeta |
| 96 |
in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 97 |
if in.Items != nil { |
| 98 |
in, out := &in.Items, &out.Items |
| 99 |
*out = make([]MetricValue, len(*in)) |
| 100 |
for i := range *in { |
| 101 |
(*in)[i].DeepCopyInto(&(*out)[i]) |
| 102 |
} |
| 103 |
} |
| 104 |
return |
| 105 |
} |
| 106 |
|
| 107 |
|
| 108 |
func (in *MetricValueList) DeepCopy() *MetricValueList { |
| 109 |
if in == nil { |
| 110 |
return nil |
| 111 |
} |
| 112 |
out := new(MetricValueList) |
| 113 |
in.DeepCopyInto(out) |
| 114 |
return out |
| 115 |
} |
| 116 |
|
| 117 |
|
| 118 |
func (in *MetricValueList) DeepCopyObject() runtime.Object { |
| 119 |
if c := in.DeepCopy(); c != nil { |
| 120 |
return c |
| 121 |
} |
| 122 |
return nil |
| 123 |
} |