zz_generated.deepcopy.go 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 abac
  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 *Policy) DeepCopyInto(out *Policy) {
  21. *out = *in
  22. out.TypeMeta = in.TypeMeta
  23. out.Spec = in.Spec
  24. return
  25. }
  26. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
  27. func (in *Policy) DeepCopy() *Policy {
  28. if in == nil {
  29. return nil
  30. }
  31. out := new(Policy)
  32. in.DeepCopyInto(out)
  33. return out
  34. }
  35. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  36. func (in *Policy) DeepCopyObject() runtime.Object {
  37. if c := in.DeepCopy(); c != nil {
  38. return c
  39. }
  40. return nil
  41. }
  42. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  43. func (in *PolicySpec) DeepCopyInto(out *PolicySpec) {
  44. *out = *in
  45. return
  46. }
  47. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
  48. func (in *PolicySpec) DeepCopy() *PolicySpec {
  49. if in == nil {
  50. return nil
  51. }
  52. out := new(PolicySpec)
  53. in.DeepCopyInto(out)
  54. return out
  55. }