zz_generated.deepcopy.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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 v1beta1
  16. import (
  17. v1 "k8s.io/api/core/v1"
  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 *Overhead) DeepCopyInto(out *Overhead) {
  22. *out = *in
  23. if in.PodFixed != nil {
  24. in, out := &in.PodFixed, &out.PodFixed
  25. *out = make(v1.ResourceList, len(*in))
  26. for key, val := range *in {
  27. (*out)[key] = val.DeepCopy()
  28. }
  29. }
  30. return
  31. }
  32. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Overhead.
  33. func (in *Overhead) DeepCopy() *Overhead {
  34. if in == nil {
  35. return nil
  36. }
  37. out := new(Overhead)
  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 *RuntimeClass) DeepCopyInto(out *RuntimeClass) {
  43. *out = *in
  44. out.TypeMeta = in.TypeMeta
  45. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  46. if in.Overhead != nil {
  47. in, out := &in.Overhead, &out.Overhead
  48. *out = new(Overhead)
  49. (*in).DeepCopyInto(*out)
  50. }
  51. if in.Scheduling != nil {
  52. in, out := &in.Scheduling, &out.Scheduling
  53. *out = new(Scheduling)
  54. (*in).DeepCopyInto(*out)
  55. }
  56. return
  57. }
  58. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClass.
  59. func (in *RuntimeClass) DeepCopy() *RuntimeClass {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(RuntimeClass)
  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 *RuntimeClass) 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 *RuntimeClassList) DeepCopyInto(out *RuntimeClassList) {
  76. *out = *in
  77. out.TypeMeta = in.TypeMeta
  78. in.ListMeta.DeepCopyInto(&out.ListMeta)
  79. if in.Items != nil {
  80. in, out := &in.Items, &out.Items
  81. *out = make([]RuntimeClass, len(*in))
  82. for i := range *in {
  83. (*in)[i].DeepCopyInto(&(*out)[i])
  84. }
  85. }
  86. return
  87. }
  88. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassList.
  89. func (in *RuntimeClassList) DeepCopy() *RuntimeClassList {
  90. if in == nil {
  91. return nil
  92. }
  93. out := new(RuntimeClassList)
  94. in.DeepCopyInto(out)
  95. return out
  96. }
  97. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  98. func (in *RuntimeClassList) DeepCopyObject() runtime.Object {
  99. if c := in.DeepCopy(); c != nil {
  100. return c
  101. }
  102. return nil
  103. }
  104. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  105. func (in *Scheduling) DeepCopyInto(out *Scheduling) {
  106. *out = *in
  107. if in.NodeSelector != nil {
  108. in, out := &in.NodeSelector, &out.NodeSelector
  109. *out = make(map[string]string, len(*in))
  110. for key, val := range *in {
  111. (*out)[key] = val
  112. }
  113. }
  114. if in.Tolerations != nil {
  115. in, out := &in.Tolerations, &out.Tolerations
  116. *out = make([]v1.Toleration, len(*in))
  117. for i := range *in {
  118. (*in)[i].DeepCopyInto(&(*out)[i])
  119. }
  120. }
  121. return
  122. }
  123. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduling.
  124. func (in *Scheduling) DeepCopy() *Scheduling {
  125. if in == nil {
  126. return nil
  127. }
  128. out := new(Scheduling)
  129. in.DeepCopyInto(out)
  130. return out
  131. }