zz_generated.deepcopy.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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 v1beta1
  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. if in.Overhead != nil {
  48. in, out := &in.Overhead, &out.Overhead
  49. *out = new(Overhead)
  50. (*in).DeepCopyInto(*out)
  51. }
  52. if in.Scheduling != nil {
  53. in, out := &in.Scheduling, &out.Scheduling
  54. *out = new(Scheduling)
  55. (*in).DeepCopyInto(*out)
  56. }
  57. return
  58. }
  59. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClass.
  60. func (in *RuntimeClass) DeepCopy() *RuntimeClass {
  61. if in == nil {
  62. return nil
  63. }
  64. out := new(RuntimeClass)
  65. in.DeepCopyInto(out)
  66. return out
  67. }
  68. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  69. func (in *RuntimeClass) DeepCopyObject() runtime.Object {
  70. if c := in.DeepCopy(); c != nil {
  71. return c
  72. }
  73. return nil
  74. }
  75. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  76. func (in *RuntimeClassList) DeepCopyInto(out *RuntimeClassList) {
  77. *out = *in
  78. out.TypeMeta = in.TypeMeta
  79. in.ListMeta.DeepCopyInto(&out.ListMeta)
  80. if in.Items != nil {
  81. in, out := &in.Items, &out.Items
  82. *out = make([]RuntimeClass, len(*in))
  83. for i := range *in {
  84. (*in)[i].DeepCopyInto(&(*out)[i])
  85. }
  86. }
  87. return
  88. }
  89. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassList.
  90. func (in *RuntimeClassList) DeepCopy() *RuntimeClassList {
  91. if in == nil {
  92. return nil
  93. }
  94. out := new(RuntimeClassList)
  95. in.DeepCopyInto(out)
  96. return out
  97. }
  98. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  99. func (in *RuntimeClassList) DeepCopyObject() runtime.Object {
  100. if c := in.DeepCopy(); c != nil {
  101. return c
  102. }
  103. return nil
  104. }
  105. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  106. func (in *Scheduling) DeepCopyInto(out *Scheduling) {
  107. *out = *in
  108. if in.NodeSelector != nil {
  109. in, out := &in.NodeSelector, &out.NodeSelector
  110. *out = make(map[string]string, len(*in))
  111. for key, val := range *in {
  112. (*out)[key] = val
  113. }
  114. }
  115. if in.Tolerations != nil {
  116. in, out := &in.Tolerations, &out.Tolerations
  117. *out = make([]v1.Toleration, len(*in))
  118. for i := range *in {
  119. (*in)[i].DeepCopyInto(&(*out)[i])
  120. }
  121. }
  122. return
  123. }
  124. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduling.
  125. func (in *Scheduling) DeepCopy() *Scheduling {
  126. if in == nil {
  127. return nil
  128. }
  129. out := new(Scheduling)
  130. in.DeepCopyInto(out)
  131. return out
  132. }