sslobodr | d046be8 | 2019-01-16 10:02:22 -0500 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package rest |
| 22 | |
| 23 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 24 | func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig) { |
| 25 | *out = *in |
| 26 | if in.CertData != nil { |
| 27 | in, out := &in.CertData, &out.CertData |
| 28 | *out = make([]byte, len(*in)) |
| 29 | copy(*out, *in) |
| 30 | } |
| 31 | if in.KeyData != nil { |
| 32 | in, out := &in.KeyData, &out.KeyData |
| 33 | *out = make([]byte, len(*in)) |
| 34 | copy(*out, *in) |
| 35 | } |
| 36 | if in.CAData != nil { |
| 37 | in, out := &in.CAData, &out.CAData |
| 38 | *out = make([]byte, len(*in)) |
| 39 | copy(*out, *in) |
| 40 | } |
| 41 | return |
| 42 | } |
| 43 | |
| 44 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig. |
| 45 | func (in *TLSClientConfig) DeepCopy() *TLSClientConfig { |
| 46 | if in == nil { |
| 47 | return nil |
| 48 | } |
| 49 | out := new(TLSClientConfig) |
| 50 | in.DeepCopyInto(out) |
| 51 | return out |
| 52 | } |