Debian Codegraph @

pkg/apis/custom_metrics/zz_generated.deepcopy.go

raw
1 //go:build !ignore_autogenerated
2 // +build !ignore_autogenerated
3
4 /*
5 Copyright The Kubernetes Authors.
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 */
19
20 // Code generated by deepcopy-gen. DO NOT EDIT.
21
22 package custom_metrics
23
24 import (
25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 )
28
29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
30 func (in *MetricIdentifier) DeepCopyInto(out *MetricIdentifier) {
31 *out = *in
32 if in.Selector != nil {
33 in, out := &in.Selector, &out.Selector
34 *out = new(v1.LabelSelector)
35 (*in).DeepCopyInto(*out)
36 }
37 return
38 }
39
40 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricIdentifier.
41 func (in *MetricIdentifier) DeepCopy() *MetricIdentifier {
42 if in == nil {
43 return nil
44 }
45 out := new(MetricIdentifier)
46 in.DeepCopyInto(out)
47 return out
48 }
49
50 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
51 func (in *MetricListOptions) DeepCopyInto(out *MetricListOptions) {
52 *out = *in
53 out.TypeMeta = in.TypeMeta
54 return
55 }
56
57 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricListOptions.
58 func (in *MetricListOptions) DeepCopy() *MetricListOptions {
59 if in == nil {
60 return nil
61 }
62 out := new(MetricListOptions)
63 in.DeepCopyInto(out)
64 return out
65 }
66
67 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
68 func (in *MetricListOptions) DeepCopyObject() runtime.Object {
69 if c := in.DeepCopy(); c != nil {
70 return c
71 }
72 return nil
73 }
74
75 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
76 func (in *MetricValue) DeepCopyInto(out *MetricValue) {
77 *out = *in
78 out.TypeMeta = in.TypeMeta
79 out.DescribedObject = in.DescribedObject
80 in.Metric.DeepCopyInto(&out.Metric)
81 in.Timestamp.DeepCopyInto(&out.Timestamp)
82 if in.WindowSeconds != nil {
83 in, out := &in.WindowSeconds, &out.WindowSeconds
84 *out = new(int64)
85 **out = **in
86 }
87 out.Value = in.Value.DeepCopy()
88 return
89 }
90
91 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue.
92 func (in *MetricValue) DeepCopy() *MetricValue {
93 if in == nil {
94 return nil
95 }
96 out := new(MetricValue)
97 in.DeepCopyInto(out)
98 return out
99 }
100
101 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
102 func (in *MetricValue) DeepCopyObject() runtime.Object {
103 if c := in.DeepCopy(); c != nil {
104 return c
105 }
106 return nil
107 }
108
109 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
110 func (in *MetricValueList) DeepCopyInto(out *MetricValueList) {
111 *out = *in
112 out.TypeMeta = in.TypeMeta
113 in.ListMeta.DeepCopyInto(&out.ListMeta)
114 if in.Items != nil {
115 in, out := &in.Items, &out.Items
116 *out = make([]MetricValue, len(*in))
117 for i := range *in {
118 (*in)[i].DeepCopyInto(&(*out)[i])
119 }
120 }
121 return
122 }
123
124 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList.
125 func (in *MetricValueList) DeepCopy() *MetricValueList {
126 if in == nil {
127 return nil
128 }
129 out := new(MetricValueList)
130 in.DeepCopyInto(out)
131 return out
132 }
133
134 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
135 func (in *MetricValueList) DeepCopyObject() runtime.Object {
136 if c := in.DeepCopy(); c != nil {
137 return c
138 }
139 return nil
140 }
141
142 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
143 func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
144 *out = *in
145 return
146 }
147
148 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
149 func (in *ObjectReference) DeepCopy() *ObjectReference {
150 if in == nil {
151 return nil
152 }
153 out := new(ObjectReference)
154 in.DeepCopyInto(out)
155 return out
156 }