...

Source file src/sigs.k8s.io/controller-runtime/examples/crd/pkg/zz_generated.deepcopy.go

Documentation: sigs.k8s.io/controller-runtime/examples/crd/pkg

     1  // +build !ignore_autogenerated
     2  
     3  /*
     4  Copyright 2019 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 main. DO NOT EDIT.
    20  
    21  package pkg
    22  
    23  import (
    24  	runtime "k8s.io/apimachinery/pkg/runtime"
    25  )
    26  
    27  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    28  func (c *ChaosPod) DeepCopyInto(out *ChaosPod) {
    29  	*out = *c
    30  	out.TypeMeta = c.TypeMeta
    31  	c.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    32  	c.Spec.DeepCopyInto(&out.Spec)
    33  	c.Status.DeepCopyInto(&out.Status)
    34  	return
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosPod.
    38  func (c *ChaosPod) DeepCopy() *ChaosPod {
    39  	if c == nil {
    40  		return nil
    41  	}
    42  	out := new(ChaosPod)
    43  	c.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    48  func (c *ChaosPod) DeepCopyObject() runtime.Object {
    49  	if c := c.DeepCopy(); c != nil {
    50  		return c
    51  	}
    52  	return nil
    53  }
    54  
    55  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    56  func (in *ChaosPodList) DeepCopyInto(out *ChaosPodList) {
    57  	*out = *in
    58  	out.TypeMeta = in.TypeMeta
    59  	out.ListMeta = in.ListMeta
    60  	if in.Items != nil {
    61  		in, out := &in.Items, &out.Items
    62  		*out = make([]ChaosPod, len(*in))
    63  		for i := range *in {
    64  			(*in)[i].DeepCopyInto(&(*out)[i])
    65  		}
    66  	}
    67  	return
    68  }
    69  
    70  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosPodList.
    71  func (in *ChaosPodList) DeepCopy() *ChaosPodList {
    72  	if in == nil {
    73  		return nil
    74  	}
    75  	out := new(ChaosPodList)
    76  	in.DeepCopyInto(out)
    77  	return out
    78  }
    79  
    80  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    81  func (in *ChaosPodList) DeepCopyObject() runtime.Object {
    82  	if c := in.DeepCopy(); c != nil {
    83  		return c
    84  	}
    85  	return nil
    86  }
    87  
    88  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    89  func (in *ChaosPodSpec) DeepCopyInto(out *ChaosPodSpec) {
    90  	*out = *in
    91  	in.Template.DeepCopyInto(&out.Template)
    92  	in.NextStop.DeepCopyInto(&out.NextStop)
    93  	return
    94  }
    95  
    96  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosPodSpec.
    97  func (in *ChaosPodSpec) DeepCopy() *ChaosPodSpec {
    98  	if in == nil {
    99  		return nil
   100  	}
   101  	out := new(ChaosPodSpec)
   102  	in.DeepCopyInto(out)
   103  	return out
   104  }
   105  
   106  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   107  func (in *ChaosPodStatus) DeepCopyInto(out *ChaosPodStatus) {
   108  	*out = *in
   109  	in.LastRun.DeepCopyInto(&out.LastRun)
   110  	return
   111  }
   112  
   113  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosPodStatus.
   114  func (in *ChaosPodStatus) DeepCopy() *ChaosPodStatus {
   115  	if in == nil {
   116  		return nil
   117  	}
   118  	out := new(ChaosPodStatus)
   119  	in.DeepCopyInto(out)
   120  	return out
   121  }
   122  

View as plain text