zz_generated.deepcopy.go 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 *Configuration) DeepCopyInto(out *Configuration) {
  22. *out = *in
  23. out.TypeMeta = in.TypeMeta
  24. if in.LimitedResources != nil {
  25. in, out := &in.LimitedResources, &out.LimitedResources
  26. *out = make([]LimitedResource, len(*in))
  27. for i := range *in {
  28. (*in)[i].DeepCopyInto(&(*out)[i])
  29. }
  30. }
  31. return
  32. }
  33. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
  34. func (in *Configuration) DeepCopy() *Configuration {
  35. if in == nil {
  36. return nil
  37. }
  38. out := new(Configuration)
  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 *Configuration) 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 *LimitedResource) DeepCopyInto(out *LimitedResource) {
  51. *out = *in
  52. if in.MatchContains != nil {
  53. in, out := &in.MatchContains, &out.MatchContains
  54. *out = make([]string, len(*in))
  55. copy(*out, *in)
  56. }
  57. if in.MatchScopes != nil {
  58. in, out := &in.MatchScopes, &out.MatchScopes
  59. *out = make([]v1.ScopedResourceSelectorRequirement, len(*in))
  60. for i := range *in {
  61. (*in)[i].DeepCopyInto(&(*out)[i])
  62. }
  63. }
  64. return
  65. }
  66. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource.
  67. func (in *LimitedResource) DeepCopy() *LimitedResource {
  68. if in == nil {
  69. return nil
  70. }
  71. out := new(LimitedResource)
  72. in.DeepCopyInto(out)
  73. return out
  74. }