Debian Codegraph @

pkg/apis/meta/internalversion/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 internalversion
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 *List) DeepCopyInto(out *List) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ListMeta.DeepCopyInto(&out.ListMeta)
33 if in.Items != nil {
34 in, out := &in.Items, &out.Items
35 *out = make([]runtime.Object, len(*in))
36 for i := range *in {
37 if (*in)[i] != nil {
38 (*out)[i] = (*in)[i].DeepCopyObject()
39 }
40 }
41 }
42 return
43 }
44
45 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
46 func (in *List) DeepCopy() *List {
47 if in == nil {
48 return nil
49 }
50 out := new(List)
51 in.DeepCopyInto(out)
52 return out
53 }
54
55 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
56 func (in *List) DeepCopyObject() runtime.Object {
57 if c := in.DeepCopy(); c != nil {
58 return c
59 }
60 return nil
61 }
62
63 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
64 func (in *ListOptions) DeepCopyInto(out *ListOptions) {
65 *out = *in
66 out.TypeMeta = in.TypeMeta
67 if in.LabelSelector != nil {
68 out.LabelSelector = in.LabelSelector.DeepCopySelector()
69 }
70 if in.FieldSelector != nil {
71 out.FieldSelector = in.FieldSelector.DeepCopySelector()
72 }
73 if in.TimeoutSeconds != nil {
74 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
75 *out = new(int64)
76 **out = **in
77 }
78 if in.SendInitialEvents != nil {
79 in, out := &in.SendInitialEvents, &out.SendInitialEvents
80 *out = new(bool)
81 **out = **in
82 }
83 return
84 }
85
86 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions.
87 func (in *ListOptions) DeepCopy() *ListOptions {
88 if in == nil {
89 return nil
90 }
91 out := new(ListOptions)
92 in.DeepCopyInto(out)
93 return out
94 }
95
96 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
97 func (in *ListOptions) DeepCopyObject() runtime.Object {
98 if c := in.DeepCopy(); c != nil {
99 return c
100 }
101 return nil
102 }