zz_generated.deepcopy.go 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 *PriorityClass) DeepCopyInto(out *PriorityClass) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. if in.PreemptionPolicy != nil {
  27. in, out := &in.PreemptionPolicy, &out.PreemptionPolicy
  28. *out = new(v1.PreemptionPolicy)
  29. **out = **in
  30. }
  31. return
  32. }
  33. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
  34. func (in *PriorityClass) DeepCopy() *PriorityClass {
  35. if in == nil {
  36. return nil
  37. }
  38. out := new(PriorityClass)
  39. in.DeepCopyInto(out)
  40. return out
  41. }
  42. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  43. func (in *PriorityClass) DeepCopyObject() runtime.Object {
  44. if c := in.DeepCopy(); c != nil {
  45. return c
  46. }
  47. return nil
  48. }
  49. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  50. func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) {
  51. *out = *in
  52. out.TypeMeta = in.TypeMeta
  53. in.ListMeta.DeepCopyInto(&out.ListMeta)
  54. if in.Items != nil {
  55. in, out := &in.Items, &out.Items
  56. *out = make([]PriorityClass, len(*in))
  57. for i := range *in {
  58. (*in)[i].DeepCopyInto(&(*out)[i])
  59. }
  60. }
  61. return
  62. }
  63. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList.
  64. func (in *PriorityClassList) DeepCopy() *PriorityClassList {
  65. if in == nil {
  66. return nil
  67. }
  68. out := new(PriorityClassList)
  69. in.DeepCopyInto(out)
  70. return out
  71. }
  72. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  73. func (in *PriorityClassList) DeepCopyObject() runtime.Object {
  74. if c := in.DeepCopy(); c != nil {
  75. return c
  76. }
  77. return nil
  78. }