zz_generated.deepcopy.go 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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 v1
  17. import (
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. )
  20. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  21. func (in *Cluster) DeepCopyInto(out *Cluster) {
  22. *out = *in
  23. if in.CertificateAuthorityData != nil {
  24. in, out := &in.CertificateAuthorityData, &out.CertificateAuthorityData
  25. *out = make([]byte, len(*in))
  26. copy(*out, *in)
  27. }
  28. in.Config.DeepCopyInto(&out.Config)
  29. return
  30. }
  31. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
  32. func (in *Cluster) DeepCopy() *Cluster {
  33. if in == nil {
  34. return nil
  35. }
  36. out := new(Cluster)
  37. in.DeepCopyInto(out)
  38. return out
  39. }
  40. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  41. func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
  42. *out = *in
  43. out.TypeMeta = in.TypeMeta
  44. in.Spec.DeepCopyInto(&out.Spec)
  45. if in.Status != nil {
  46. in, out := &in.Status, &out.Status
  47. *out = new(ExecCredentialStatus)
  48. (*in).DeepCopyInto(*out)
  49. }
  50. return
  51. }
  52. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredential.
  53. func (in *ExecCredential) DeepCopy() *ExecCredential {
  54. if in == nil {
  55. return nil
  56. }
  57. out := new(ExecCredential)
  58. in.DeepCopyInto(out)
  59. return out
  60. }
  61. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  62. func (in *ExecCredential) DeepCopyObject() runtime.Object {
  63. if c := in.DeepCopy(); c != nil {
  64. return c
  65. }
  66. return nil
  67. }
  68. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  69. func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
  70. *out = *in
  71. if in.Cluster != nil {
  72. in, out := &in.Cluster, &out.Cluster
  73. *out = new(Cluster)
  74. (*in).DeepCopyInto(*out)
  75. }
  76. return
  77. }
  78. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialSpec.
  79. func (in *ExecCredentialSpec) DeepCopy() *ExecCredentialSpec {
  80. if in == nil {
  81. return nil
  82. }
  83. out := new(ExecCredentialSpec)
  84. in.DeepCopyInto(out)
  85. return out
  86. }
  87. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  88. func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
  89. *out = *in
  90. if in.ExpirationTimestamp != nil {
  91. in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
  92. *out = (*in).DeepCopy()
  93. }
  94. return
  95. }
  96. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialStatus.
  97. func (in *ExecCredentialStatus) DeepCopy() *ExecCredentialStatus {
  98. if in == nil {
  99. return nil
  100. }
  101. out := new(ExecCredentialStatus)
  102. in.DeepCopyInto(out)
  103. return out
  104. }