zz_generated.deepcopy.go 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package clientauthentication
  16. import (
  17. runtime "k8s.io/apimachinery/pkg/runtime"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *Cluster) DeepCopyInto(out *Cluster) {
  21. *out = *in
  22. if in.CertificateAuthorityData != nil {
  23. in, out := &in.CertificateAuthorityData, &out.CertificateAuthorityData
  24. *out = make([]byte, len(*in))
  25. copy(*out, *in)
  26. }
  27. if in.Config != nil {
  28. out.Config = in.Config.DeepCopyObject()
  29. }
  30. return
  31. }
  32. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
  33. func (in *Cluster) DeepCopy() *Cluster {
  34. if in == nil {
  35. return nil
  36. }
  37. out := new(Cluster)
  38. in.DeepCopyInto(out)
  39. return out
  40. }
  41. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  42. func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
  43. *out = *in
  44. out.TypeMeta = in.TypeMeta
  45. in.Spec.DeepCopyInto(&out.Spec)
  46. if in.Status != nil {
  47. in, out := &in.Status, &out.Status
  48. *out = new(ExecCredentialStatus)
  49. (*in).DeepCopyInto(*out)
  50. }
  51. return
  52. }
  53. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredential.
  54. func (in *ExecCredential) DeepCopy() *ExecCredential {
  55. if in == nil {
  56. return nil
  57. }
  58. out := new(ExecCredential)
  59. in.DeepCopyInto(out)
  60. return out
  61. }
  62. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  63. func (in *ExecCredential) DeepCopyObject() runtime.Object {
  64. if c := in.DeepCopy(); c != nil {
  65. return c
  66. }
  67. return nil
  68. }
  69. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  70. func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
  71. *out = *in
  72. if in.Response != nil {
  73. in, out := &in.Response, &out.Response
  74. *out = new(Response)
  75. (*in).DeepCopyInto(*out)
  76. }
  77. if in.Cluster != nil {
  78. in, out := &in.Cluster, &out.Cluster
  79. *out = new(Cluster)
  80. (*in).DeepCopyInto(*out)
  81. }
  82. return
  83. }
  84. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialSpec.
  85. func (in *ExecCredentialSpec) DeepCopy() *ExecCredentialSpec {
  86. if in == nil {
  87. return nil
  88. }
  89. out := new(ExecCredentialSpec)
  90. in.DeepCopyInto(out)
  91. return out
  92. }
  93. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  94. func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
  95. *out = *in
  96. if in.ExpirationTimestamp != nil {
  97. in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
  98. *out = (*in).DeepCopy()
  99. }
  100. return
  101. }
  102. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialStatus.
  103. func (in *ExecCredentialStatus) DeepCopy() *ExecCredentialStatus {
  104. if in == nil {
  105. return nil
  106. }
  107. out := new(ExecCredentialStatus)
  108. in.DeepCopyInto(out)
  109. return out
  110. }
  111. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  112. func (in *Response) DeepCopyInto(out *Response) {
  113. *out = *in
  114. if in.Header != nil {
  115. in, out := &in.Header, &out.Header
  116. *out = make(map[string][]string, len(*in))
  117. for key, val := range *in {
  118. var outVal []string
  119. if val == nil {
  120. (*out)[key] = nil
  121. } else {
  122. in, out := &val, &outVal
  123. *out = make([]string, len(*in))
  124. copy(*out, *in)
  125. }
  126. (*out)[key] = outVal
  127. }
  128. }
  129. return
  130. }
  131. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Response.
  132. func (in *Response) DeepCopy() *Response {
  133. if in == nil {
  134. return nil
  135. }
  136. out := new(Response)
  137. in.DeepCopyInto(out)
  138. return out
  139. }