zz_generated.deepcopy.go 1.6 KB

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