...

Source file src/k8s.io/api/events/v1beta1/zz_generated.deepcopy.go

Documentation: k8s.io/api/events/v1beta1

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

View as plain text