Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1beta1 |
| 22 | |
| 23 | import ( |
| 24 | v1 "k8s.io/api/core/v1" |
| 25 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 26 | ) |
| 27 | |
| 28 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 29 | func (in *PriorityClass) DeepCopyInto(out *PriorityClass) { |
| 30 | *out = *in |
| 31 | out.TypeMeta = in.TypeMeta |
| 32 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 33 | if in.PreemptionPolicy != nil { |
| 34 | in, out := &in.PreemptionPolicy, &out.PreemptionPolicy |
| 35 | *out = new(v1.PreemptionPolicy) |
| 36 | **out = **in |
| 37 | } |
| 38 | return |
| 39 | } |
| 40 | |
| 41 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. |
| 42 | func (in *PriorityClass) DeepCopy() *PriorityClass { |
| 43 | if in == nil { |
| 44 | return nil |
| 45 | } |
| 46 | out := new(PriorityClass) |
| 47 | in.DeepCopyInto(out) |
| 48 | return out |
| 49 | } |
| 50 | |
| 51 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 52 | func (in *PriorityClass) DeepCopyObject() runtime.Object { |
| 53 | if c := in.DeepCopy(); c != nil { |
| 54 | return c |
| 55 | } |
| 56 | return nil |
| 57 | } |
| 58 | |
| 59 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 60 | func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) { |
| 61 | *out = *in |
| 62 | out.TypeMeta = in.TypeMeta |
| 63 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 64 | if in.Items != nil { |
| 65 | in, out := &in.Items, &out.Items |
| 66 | *out = make([]PriorityClass, len(*in)) |
| 67 | for i := range *in { |
| 68 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 69 | } |
| 70 | } |
| 71 | return |
| 72 | } |
| 73 | |
| 74 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. |
| 75 | func (in *PriorityClassList) DeepCopy() *PriorityClassList { |
| 76 | if in == nil { |
| 77 | return nil |
| 78 | } |
| 79 | out := new(PriorityClassList) |
| 80 | in.DeepCopyInto(out) |
| 81 | return out |
| 82 | } |
| 83 | |
| 84 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 85 | func (in *PriorityClassList) DeepCopyObject() runtime.Object { |
| 86 | if c := in.DeepCopy(); c != nil { |
| 87 | return c |
| 88 | } |
| 89 | return nil |
| 90 | } |