zz_generated.deepcopy.go 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. //go:build !ignore_autogenerated
  2. // +build !ignore_autogenerated
  3. /*
  4. Copyright 2022.
  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 controller-gen. DO NOT EDIT.
  16. package v1
  17. import (
  18. corev1 "k8s.io/api/core/v1"
  19. runtime "k8s.io/apimachinery/pkg/runtime"
  20. )
  21. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  22. func (in *BlueGreen) DeepCopyInto(out *BlueGreen) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. in.Spec.DeepCopyInto(&out.Spec)
  27. in.Status.DeepCopyInto(&out.Status)
  28. }
  29. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueGreen.
  30. func (in *BlueGreen) DeepCopy() *BlueGreen {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(BlueGreen)
  35. in.DeepCopyInto(out)
  36. return out
  37. }
  38. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  39. func (in *BlueGreen) DeepCopyObject() runtime.Object {
  40. if c := in.DeepCopy(); c != nil {
  41. return c
  42. }
  43. return nil
  44. }
  45. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  46. func (in *BlueGreenList) DeepCopyInto(out *BlueGreenList) {
  47. *out = *in
  48. out.TypeMeta = in.TypeMeta
  49. in.ListMeta.DeepCopyInto(&out.ListMeta)
  50. if in.Items != nil {
  51. in, out := &in.Items, &out.Items
  52. *out = make([]BlueGreen, len(*in))
  53. for i := range *in {
  54. (*in)[i].DeepCopyInto(&(*out)[i])
  55. }
  56. }
  57. }
  58. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueGreenList.
  59. func (in *BlueGreenList) DeepCopy() *BlueGreenList {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(BlueGreenList)
  64. in.DeepCopyInto(out)
  65. return out
  66. }
  67. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  68. func (in *BlueGreenList) DeepCopyObject() runtime.Object {
  69. if c := in.DeepCopy(); c != nil {
  70. return c
  71. }
  72. return nil
  73. }
  74. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  75. func (in *BlueGreenSpec) DeepCopyInto(out *BlueGreenSpec) {
  76. *out = *in
  77. if in.BlueSpec != nil {
  78. in, out := &in.BlueSpec, &out.BlueSpec
  79. *out = new(corev1.PodSpec)
  80. (*in).DeepCopyInto(*out)
  81. }
  82. if in.GreenSpec != nil {
  83. in, out := &in.GreenSpec, &out.GreenSpec
  84. *out = new(corev1.PodSpec)
  85. (*in).DeepCopyInto(*out)
  86. }
  87. }
  88. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueGreenSpec.
  89. func (in *BlueGreenSpec) DeepCopy() *BlueGreenSpec {
  90. if in == nil {
  91. return nil
  92. }
  93. out := new(BlueGreenSpec)
  94. in.DeepCopyInto(out)
  95. return out
  96. }
  97. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  98. func (in *BlueGreenStatus) DeepCopyInto(out *BlueGreenStatus) {
  99. *out = *in
  100. if in.RouteTo != nil {
  101. in, out := &in.RouteTo, &out.RouteTo
  102. *out = new(BlueOrGreen)
  103. **out = **in
  104. }
  105. }
  106. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueGreenStatus.
  107. func (in *BlueGreenStatus) DeepCopy() *BlueGreenStatus {
  108. if in == nil {
  109. return nil
  110. }
  111. out := new(BlueGreenStatus)
  112. in.DeepCopyInto(out)
  113. return out
  114. }