github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/api/networking/v1/zz_generated.deepcopy.go (about)

     1  // +build !ignore_autogenerated
     2  
     3  /*
     4  
     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 controller-gen. DO NOT EDIT.
    20  
    21  package v1
    22  
    23  import (
    24  	"github.com/caos/orbos/internal/operator/networking/kinds/orb"
    25  	"github.com/caos/orbos/pkg/tree"
    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 *Empty) DeepCopyInto(out *Empty) {
    31  	*out = *in
    32  }
    33  
    34  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Empty.
    35  func (in *Empty) DeepCopy() *Empty {
    36  	if in == nil {
    37  		return nil
    38  	}
    39  	out := new(Empty)
    40  	in.DeepCopyInto(out)
    41  	return out
    42  }
    43  
    44  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    45  func (in *Networking) DeepCopyInto(out *Networking) {
    46  	*out = *in
    47  	out.TypeMeta = in.TypeMeta
    48  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    49  	in.Spec.DeepCopyInto(&out.Spec)
    50  	out.Status = in.Status
    51  }
    52  
    53  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
    54  func (in *Networking) DeepCopy() *Networking {
    55  	if in == nil {
    56  		return nil
    57  	}
    58  	out := new(Networking)
    59  	in.DeepCopyInto(out)
    60  	return out
    61  }
    62  
    63  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    64  func (in *Networking) DeepCopyObject() runtime.Object {
    65  	if c := in.DeepCopy(); c != nil {
    66  		return c
    67  	}
    68  	return nil
    69  }
    70  
    71  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    72  func (in *NetworkingList) DeepCopyInto(out *NetworkingList) {
    73  	*out = *in
    74  	out.TypeMeta = in.TypeMeta
    75  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    76  	if in.Items != nil {
    77  		in, out := &in.Items, &out.Items
    78  		*out = make([]Networking, len(*in))
    79  		for i := range *in {
    80  			(*in)[i].DeepCopyInto(&(*out)[i])
    81  		}
    82  	}
    83  }
    84  
    85  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkingList.
    86  func (in *NetworkingList) DeepCopy() *NetworkingList {
    87  	if in == nil {
    88  		return nil
    89  	}
    90  	out := new(NetworkingList)
    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 *NetworkingList) 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 *Spec) DeepCopyInto(out *Spec) {
   105  	*out = *in
   106  	if in.Common != nil {
   107  		in, out := &in.Common, &out.Common
   108  		*out = new(tree.Common)
   109  		**out = **in
   110  	}
   111  	if in.Spec != nil {
   112  		in, out := &in.Spec, &out.Spec
   113  		*out = new(orb.Spec)
   114  		(*in).DeepCopyInto(*out)
   115  	}
   116  	if in.Networking != nil {
   117  		in, out := &in.Networking, &out.Networking
   118  		*out = new(Empty)
   119  		**out = **in
   120  	}
   121  }
   122  
   123  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.
   124  func (in *Spec) DeepCopy() *Spec {
   125  	if in == nil {
   126  		return nil
   127  	}
   128  	out := new(Spec)
   129  	in.DeepCopyInto(out)
   130  	return out
   131  }
   132  
   133  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   134  func (in *Status) DeepCopyInto(out *Status) {
   135  	*out = *in
   136  }
   137  
   138  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
   139  func (in *Status) DeepCopy() *Status {
   140  	if in == nil {
   141  		return nil
   142  	}
   143  	out := new(Status)
   144  	in.DeepCopyInto(out)
   145  	return out
   146  }