Debian Codegraph @

pkg/apis/custom_metrics/v1beta1/zz_generated.deepcopy.go

raw symbols SCIP
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 v1beta1
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 *MetricListOptions) DeepCopyInto(out *MetricListOptions) {
31 *out = *in
32 out.TypeMeta = in.TypeMeta
33 return
34 }
35
36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricListOptions.
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 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
47 func (in *MetricListOptions) DeepCopyObject() runtime.Object {
48 if c := in.DeepCopy(); c != nil {
49 return c
50 }
51 return nil
52 }
53
54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue.
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 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
85 func (in *MetricValue) DeepCopyObject() runtime.Object {
86 if c := in.DeepCopy(); c != nil {
87 return c
88 }
89 return nil
90 }
91
92 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList.
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 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
118 func (in *MetricValueList) DeepCopyObject() runtime.Object {
119 if c := in.DeepCopy(); c != nil {
120 return c
121 }
122 return nil
123 }