blob: 8490ec73fb2ca7a8008f856ca40427e4c67b8e5b [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package v1beta1
22
23import (
24 v1 "k8s.io/api/core/v1"
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.
29func (in *Endpoint) DeepCopyInto(out *Endpoint) {
30 *out = *in
31 if in.Addresses != nil {
32 in, out := &in.Addresses, &out.Addresses
33 *out = make([]string, len(*in))
34 copy(*out, *in)
35 }
36 in.Conditions.DeepCopyInto(&out.Conditions)
37 if in.Hostname != nil {
38 in, out := &in.Hostname, &out.Hostname
39 *out = new(string)
40 **out = **in
41 }
42 if in.TargetRef != nil {
43 in, out := &in.TargetRef, &out.TargetRef
44 *out = new(v1.ObjectReference)
45 **out = **in
46 }
47 if in.Topology != nil {
48 in, out := &in.Topology, &out.Topology
49 *out = make(map[string]string, len(*in))
50 for key, val := range *in {
51 (*out)[key] = val
52 }
53 }
54 return
55}
56
57// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
58func (in *Endpoint) DeepCopy() *Endpoint {
59 if in == nil {
60 return nil
61 }
62 out := new(Endpoint)
63 in.DeepCopyInto(out)
64 return out
65}
66
67// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
68func (in *EndpointConditions) DeepCopyInto(out *EndpointConditions) {
69 *out = *in
70 if in.Ready != nil {
71 in, out := &in.Ready, &out.Ready
72 *out = new(bool)
73 **out = **in
74 }
75 return
76}
77
78// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConditions.
79func (in *EndpointConditions) DeepCopy() *EndpointConditions {
80 if in == nil {
81 return nil
82 }
83 out := new(EndpointConditions)
84 in.DeepCopyInto(out)
85 return out
86}
87
88// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
89func (in *EndpointPort) DeepCopyInto(out *EndpointPort) {
90 *out = *in
91 if in.Name != nil {
92 in, out := &in.Name, &out.Name
93 *out = new(string)
94 **out = **in
95 }
96 if in.Protocol != nil {
97 in, out := &in.Protocol, &out.Protocol
98 *out = new(v1.Protocol)
99 **out = **in
100 }
101 if in.Port != nil {
102 in, out := &in.Port, &out.Port
103 *out = new(int32)
104 **out = **in
105 }
106 if in.AppProtocol != nil {
107 in, out := &in.AppProtocol, &out.AppProtocol
108 *out = new(string)
109 **out = **in
110 }
111 return
112}
113
114// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort.
115func (in *EndpointPort) DeepCopy() *EndpointPort {
116 if in == nil {
117 return nil
118 }
119 out := new(EndpointPort)
120 in.DeepCopyInto(out)
121 return out
122}
123
124// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
125func (in *EndpointSlice) DeepCopyInto(out *EndpointSlice) {
126 *out = *in
127 out.TypeMeta = in.TypeMeta
128 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
129 if in.Endpoints != nil {
130 in, out := &in.Endpoints, &out.Endpoints
131 *out = make([]Endpoint, len(*in))
132 for i := range *in {
133 (*in)[i].DeepCopyInto(&(*out)[i])
134 }
135 }
136 if in.Ports != nil {
137 in, out := &in.Ports, &out.Ports
138 *out = make([]EndpointPort, len(*in))
139 for i := range *in {
140 (*in)[i].DeepCopyInto(&(*out)[i])
141 }
142 }
143 return
144}
145
146// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSlice.
147func (in *EndpointSlice) DeepCopy() *EndpointSlice {
148 if in == nil {
149 return nil
150 }
151 out := new(EndpointSlice)
152 in.DeepCopyInto(out)
153 return out
154}
155
156// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
157func (in *EndpointSlice) DeepCopyObject() runtime.Object {
158 if c := in.DeepCopy(); c != nil {
159 return c
160 }
161 return nil
162}
163
164// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
165func (in *EndpointSliceList) DeepCopyInto(out *EndpointSliceList) {
166 *out = *in
167 out.TypeMeta = in.TypeMeta
168 in.ListMeta.DeepCopyInto(&out.ListMeta)
169 if in.Items != nil {
170 in, out := &in.Items, &out.Items
171 *out = make([]EndpointSlice, len(*in))
172 for i := range *in {
173 (*in)[i].DeepCopyInto(&(*out)[i])
174 }
175 }
176 return
177}
178
179// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSliceList.
180func (in *EndpointSliceList) DeepCopy() *EndpointSliceList {
181 if in == nil {
182 return nil
183 }
184 out := new(EndpointSliceList)
185 in.DeepCopyInto(out)
186 return out
187}
188
189// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
190func (in *EndpointSliceList) DeepCopyObject() runtime.Object {
191 if c := in.DeepCopy(); c != nil {
192 return c
193 }
194 return nil
195}