Debian Codegraph @

pkg/apis/external_metrics/v1beta1/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 v1beta1
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29 func (in *ExternalMetricValue) DeepCopyInto(out *ExternalMetricValue) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 if in.MetricLabels != nil {
33 in, out := &in.MetricLabels, &out.MetricLabels
34 *out = make(map[string]string, len(*in))
35 for key, val := range *in {
36 (*out)[key] = val
37 }
38 }
39 in.Timestamp.DeepCopyInto(&out.Timestamp)
40 if in.WindowSeconds != nil {
41 in, out := &in.WindowSeconds, &out.WindowSeconds
42 *out = new(int64)
43 **out = **in
44 }
45 out.Value = in.Value.DeepCopy()
46 return
47 }
48
49 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricValue.
50 func (in *ExternalMetricValue) DeepCopy() *ExternalMetricValue {
51 if in == nil {
52 return nil
53 }
54 out := new(ExternalMetricValue)
55 in.DeepCopyInto(out)
56 return out
57 }
58
59 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
60 func (in *ExternalMetricValue) DeepCopyObject() runtime.Object {
61 if c := in.DeepCopy(); c != nil {
62 return c
63 }
64 return nil
65 }
66
67 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
68 func (in *ExternalMetricValueList) DeepCopyInto(out *ExternalMetricValueList) {
69 *out = *in
70 out.TypeMeta = in.TypeMeta
71 in.ListMeta.DeepCopyInto(&out.ListMeta)
72 if in.Items != nil {
73 in, out := &in.Items, &out.Items
74 *out = make([]ExternalMetricValue, len(*in))
75 for i := range *in {
76 (*in)[i].DeepCopyInto(&(*out)[i])
77 }
78 }
79 return
80 }
81
82 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricValueList.
83 func (in *ExternalMetricValueList) DeepCopy() *ExternalMetricValueList {
84 if in == nil {
85 return nil
86 }
87 out := new(ExternalMetricValueList)
88 in.DeepCopyInto(out)
89 return out
90 }
91
92 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
93 func (in *ExternalMetricValueList) DeepCopyObject() runtime.Object {
94 if c := in.DeepCopy(); c != nil {
95 return c
96 }
97 return nil
98 }