zz_generated.deepcopy.go 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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 v1alpha1
  17. import (
  18. v1 "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 *Overhead) DeepCopyInto(out *Overhead) {
  23. *out = *in
  24. if in.PodFixed != nil {
  25. in, out := &in.PodFixed, &out.PodFixed
  26. *out = make(v1.ResourceList, len(*in))
  27. for key, val := range *in {
  28. (*out)[key] = val.DeepCopy()
  29. }
  30. }
  31. return
  32. }
  33. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Overhead.
  34. func (in *Overhead) DeepCopy() *Overhead {
  35. if in == nil {
  36. return nil
  37. }
  38. out := new(Overhead)
  39. in.DeepCopyInto(out)
  40. return out
  41. }
  42. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  43. func (in *RuntimeClass) DeepCopyInto(out *RuntimeClass) {
  44. *out = *in
  45. out.TypeMeta = in.TypeMeta
  46. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  47. in.Spec.DeepCopyInto(&out.Spec)
  48. return
  49. }
  50. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClass.
  51. func (in *RuntimeClass) DeepCopy() *RuntimeClass {
  52. if in == nil {
  53. return nil
  54. }
  55. out := new(RuntimeClass)
  56. in.DeepCopyInto(out)
  57. return out
  58. }
  59. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  60. func (in *RuntimeClass) DeepCopyObject() runtime.Object {
  61. if c := in.DeepCopy(); c != nil {
  62. return c
  63. }
  64. return nil
  65. }
  66. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  67. func (in *RuntimeClassList) DeepCopyInto(out *RuntimeClassList) {
  68. *out = *in
  69. out.TypeMeta = in.TypeMeta
  70. in.ListMeta.DeepCopyInto(&out.ListMeta)
  71. if in.Items != nil {
  72. in, out := &in.Items, &out.Items
  73. *out = make([]RuntimeClass, len(*in))
  74. for i := range *in {
  75. (*in)[i].DeepCopyInto(&(*out)[i])
  76. }
  77. }
  78. return
  79. }
  80. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassList.
  81. func (in *RuntimeClassList) DeepCopy() *RuntimeClassList {
  82. if in == nil {
  83. return nil
  84. }
  85. out := new(RuntimeClassList)
  86. in.DeepCopyInto(out)
  87. return out
  88. }
  89. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  90. func (in *RuntimeClassList) DeepCopyObject() runtime.Object {
  91. if c := in.DeepCopy(); c != nil {
  92. return c
  93. }
  94. return nil
  95. }
  96. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  97. func (in *RuntimeClassSpec) DeepCopyInto(out *RuntimeClassSpec) {
  98. *out = *in
  99. if in.Overhead != nil {
  100. in, out := &in.Overhead, &out.Overhead
  101. *out = new(Overhead)
  102. (*in).DeepCopyInto(*out)
  103. }
  104. if in.Scheduling != nil {
  105. in, out := &in.Scheduling, &out.Scheduling
  106. *out = new(Scheduling)
  107. (*in).DeepCopyInto(*out)
  108. }
  109. return
  110. }
  111. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassSpec.
  112. func (in *RuntimeClassSpec) DeepCopy() *RuntimeClassSpec {
  113. if in == nil {
  114. return nil
  115. }
  116. out := new(RuntimeClassSpec)
  117. in.DeepCopyInto(out)
  118. return out
  119. }
  120. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  121. func (in *Scheduling) DeepCopyInto(out *Scheduling) {
  122. *out = *in
  123. if in.NodeSelector != nil {
  124. in, out := &in.NodeSelector, &out.NodeSelector
  125. *out = make(map[string]string, len(*in))
  126. for key, val := range *in {
  127. (*out)[key] = val
  128. }
  129. }
  130. if in.Tolerations != nil {
  131. in, out := &in.Tolerations, &out.Tolerations
  132. *out = make([]v1.Toleration, len(*in))
  133. for i := range *in {
  134. (*in)[i].DeepCopyInto(&(*out)[i])
  135. }
  136. }
  137. return
  138. }
  139. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduling.
  140. func (in *Scheduling) DeepCopy() *Scheduling {
  141. if in == nil {
  142. return nil
  143. }
  144. out := new(Scheduling)
  145. in.DeepCopyInto(out)
  146. return out
  147. }