zz_generated.deepcopy.go 2.8 KB

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