Scott Baker | e7144bc | 2019-10-01 14:16:47 -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 *Event) DeepCopyInto(out *Event) { |
| 30 | *out = *in |
| 31 | out.TypeMeta = in.TypeMeta |
| 32 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 33 | in.EventTime.DeepCopyInto(&out.EventTime) |
| 34 | if in.Series != nil { |
| 35 | in, out := &in.Series, &out.Series |
| 36 | *out = new(EventSeries) |
| 37 | (*in).DeepCopyInto(*out) |
| 38 | } |
| 39 | out.Regarding = in.Regarding |
| 40 | if in.Related != nil { |
| 41 | in, out := &in.Related, &out.Related |
| 42 | *out = new(v1.ObjectReference) |
| 43 | **out = **in |
| 44 | } |
| 45 | out.DeprecatedSource = in.DeprecatedSource |
| 46 | in.DeprecatedFirstTimestamp.DeepCopyInto(&out.DeprecatedFirstTimestamp) |
| 47 | in.DeprecatedLastTimestamp.DeepCopyInto(&out.DeprecatedLastTimestamp) |
| 48 | return |
| 49 | } |
| 50 | |
| 51 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. |
| 52 | func (in *Event) DeepCopy() *Event { |
| 53 | if in == nil { |
| 54 | return nil |
| 55 | } |
| 56 | out := new(Event) |
| 57 | in.DeepCopyInto(out) |
| 58 | return out |
| 59 | } |
| 60 | |
| 61 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 62 | func (in *Event) DeepCopyObject() runtime.Object { |
| 63 | if c := in.DeepCopy(); c != nil { |
| 64 | return c |
| 65 | } |
| 66 | return nil |
| 67 | } |
| 68 | |
| 69 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 70 | func (in *EventList) DeepCopyInto(out *EventList) { |
| 71 | *out = *in |
| 72 | out.TypeMeta = in.TypeMeta |
girishk | e7ca43b | 2019-10-10 12:30:03 +0000 | [diff] [blame] | 73 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 74 | if in.Items != nil { |
| 75 | in, out := &in.Items, &out.Items |
| 76 | *out = make([]Event, len(*in)) |
| 77 | for i := range *in { |
| 78 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 79 | } |
| 80 | } |
| 81 | return |
| 82 | } |
| 83 | |
| 84 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList. |
| 85 | func (in *EventList) DeepCopy() *EventList { |
| 86 | if in == nil { |
| 87 | return nil |
| 88 | } |
| 89 | out := new(EventList) |
| 90 | in.DeepCopyInto(out) |
| 91 | return out |
| 92 | } |
| 93 | |
| 94 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 95 | func (in *EventList) DeepCopyObject() runtime.Object { |
| 96 | if c := in.DeepCopy(); c != nil { |
| 97 | return c |
| 98 | } |
| 99 | return nil |
| 100 | } |
| 101 | |
| 102 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 103 | func (in *EventSeries) DeepCopyInto(out *EventSeries) { |
| 104 | *out = *in |
| 105 | in.LastObservedTime.DeepCopyInto(&out.LastObservedTime) |
| 106 | return |
| 107 | } |
| 108 | |
| 109 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSeries. |
| 110 | func (in *EventSeries) DeepCopy() *EventSeries { |
| 111 | if in == nil { |
| 112 | return nil |
| 113 | } |
| 114 | out := new(EventSeries) |
| 115 | in.DeepCopyInto(out) |
| 116 | return out |
| 117 | } |