zz_generated.deepcopy.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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 internalversion
  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 *List) DeepCopyInto(out *List) {
  21. *out = *in
  22. out.TypeMeta = in.TypeMeta
  23. out.ListMeta = in.ListMeta
  24. if in.Items != nil {
  25. in, out := &in.Items, &out.Items
  26. *out = make([]runtime.Object, len(*in))
  27. for i := range *in {
  28. if (*in)[i] == nil {
  29. (*out)[i] = nil
  30. } else {
  31. (*out)[i] = (*in)[i].DeepCopyObject()
  32. }
  33. }
  34. }
  35. return
  36. }
  37. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
  38. func (in *List) DeepCopy() *List {
  39. if in == nil {
  40. return nil
  41. }
  42. out := new(List)
  43. in.DeepCopyInto(out)
  44. return out
  45. }
  46. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  47. func (in *List) DeepCopyObject() runtime.Object {
  48. if c := in.DeepCopy(); c != nil {
  49. return c
  50. }
  51. return nil
  52. }
  53. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  54. func (in *ListOptions) DeepCopyInto(out *ListOptions) {
  55. *out = *in
  56. out.TypeMeta = in.TypeMeta
  57. if in.LabelSelector == nil {
  58. out.LabelSelector = nil
  59. } else {
  60. out.LabelSelector = in.LabelSelector.DeepCopySelector()
  61. }
  62. if in.FieldSelector == nil {
  63. out.FieldSelector = nil
  64. } else {
  65. out.FieldSelector = in.FieldSelector.DeepCopySelector()
  66. }
  67. if in.TimeoutSeconds != nil {
  68. in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
  69. if *in == nil {
  70. *out = nil
  71. } else {
  72. *out = new(int64)
  73. **out = **in
  74. }
  75. }
  76. return
  77. }
  78. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions.
  79. func (in *ListOptions) DeepCopy() *ListOptions {
  80. if in == nil {
  81. return nil
  82. }
  83. out := new(ListOptions)
  84. in.DeepCopyInto(out)
  85. return out
  86. }
  87. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  88. func (in *ListOptions) DeepCopyObject() runtime.Object {
  89. if c := in.DeepCopy(); c != nil {
  90. return c
  91. }
  92. return nil
  93. }