kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/gateway/v1alpha1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2020 The KubeSphere 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 controller-gen. DO NOT EDIT.
    21  
    22  package v1alpha1
    23  
    24  import (
    25  	"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 *ControllerSpec) DeepCopyInto(out *ControllerSpec) {
    30  	*out = *in
    31  	if in.Replicas != nil {
    32  		in, out := &in.Replicas, &out.Replicas
    33  		*out = new(int32)
    34  		**out = **in
    35  	}
    36  	if in.Annotations != nil {
    37  		in, out := &in.Annotations, &out.Annotations
    38  		*out = make(map[string]string, len(*in))
    39  		for key, val := range *in {
    40  			(*out)[key] = val
    41  		}
    42  	}
    43  	if in.Config != nil {
    44  		in, out := &in.Config, &out.Config
    45  		*out = make(map[string]string, len(*in))
    46  		for key, val := range *in {
    47  			(*out)[key] = val
    48  		}
    49  	}
    50  	out.Scope = in.Scope
    51  	if in.TCP != nil {
    52  		in, out := &in.TCP, &out.TCP
    53  		*out = make(map[string]string, len(*in))
    54  		for key, val := range *in {
    55  			(*out)[key] = val
    56  		}
    57  	}
    58  	if in.UDP != nil {
    59  		in, out := &in.UDP, &out.UDP
    60  		*out = make(map[string]string, len(*in))
    61  		for key, val := range *in {
    62  			(*out)[key] = val
    63  		}
    64  	}
    65  }
    66  
    67  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerSpec.
    68  func (in *ControllerSpec) DeepCopy() *ControllerSpec {
    69  	if in == nil {
    70  		return nil
    71  	}
    72  	out := new(ControllerSpec)
    73  	in.DeepCopyInto(out)
    74  	return out
    75  }
    76  
    77  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    78  func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
    79  	*out = *in
    80  	if in.Replicas != nil {
    81  		in, out := &in.Replicas, &out.Replicas
    82  		*out = new(int32)
    83  		**out = **in
    84  	}
    85  	if in.Annotations != nil {
    86  		in, out := &in.Annotations, &out.Annotations
    87  		*out = make(map[string]string, len(*in))
    88  		for key, val := range *in {
    89  			(*out)[key] = val
    90  		}
    91  	}
    92  	in.Resources.DeepCopyInto(&out.Resources)
    93  }
    94  
    95  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
    96  func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
    97  	if in == nil {
    98  		return nil
    99  	}
   100  	out := new(DeploymentSpec)
   101  	in.DeepCopyInto(out)
   102  	return out
   103  }
   104  
   105  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   106  func (in *Gateway) DeepCopyInto(out *Gateway) {
   107  	*out = *in
   108  	out.TypeMeta = in.TypeMeta
   109  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   110  	in.Spec.DeepCopyInto(&out.Spec)
   111  	in.Status.DeepCopyInto(&out.Status)
   112  }
   113  
   114  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
   115  func (in *Gateway) DeepCopy() *Gateway {
   116  	if in == nil {
   117  		return nil
   118  	}
   119  	out := new(Gateway)
   120  	in.DeepCopyInto(out)
   121  	return out
   122  }
   123  
   124  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   125  func (in *Gateway) DeepCopyObject() runtime.Object {
   126  	if c := in.DeepCopy(); c != nil {
   127  		return c
   128  	}
   129  	return nil
   130  }
   131  
   132  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   133  func (in *GatewayList) DeepCopyInto(out *GatewayList) {
   134  	*out = *in
   135  	out.TypeMeta = in.TypeMeta
   136  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   137  	if in.Items != nil {
   138  		in, out := &in.Items, &out.Items
   139  		*out = make([]Gateway, len(*in))
   140  		for i := range *in {
   141  			(*in)[i].DeepCopyInto(&(*out)[i])
   142  		}
   143  	}
   144  }
   145  
   146  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList.
   147  func (in *GatewayList) DeepCopy() *GatewayList {
   148  	if in == nil {
   149  		return nil
   150  	}
   151  	out := new(GatewayList)
   152  	in.DeepCopyInto(out)
   153  	return out
   154  }
   155  
   156  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   157  func (in *GatewayList) DeepCopyObject() runtime.Object {
   158  	if c := in.DeepCopy(); c != nil {
   159  		return c
   160  	}
   161  	return nil
   162  }
   163  
   164  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   165  func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) {
   166  	*out = *in
   167  	in.Controller.DeepCopyInto(&out.Controller)
   168  	in.Service.DeepCopyInto(&out.Service)
   169  	in.Deployment.DeepCopyInto(&out.Deployment)
   170  }
   171  
   172  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec.
   173  func (in *GatewaySpec) DeepCopy() *GatewaySpec {
   174  	if in == nil {
   175  		return nil
   176  	}
   177  	out := new(GatewaySpec)
   178  	in.DeepCopyInto(out)
   179  	return out
   180  }
   181  
   182  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   183  func (in *Scope) DeepCopyInto(out *Scope) {
   184  	*out = *in
   185  }
   186  
   187  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scope.
   188  func (in *Scope) DeepCopy() *Scope {
   189  	if in == nil {
   190  		return nil
   191  	}
   192  	out := new(Scope)
   193  	in.DeepCopyInto(out)
   194  	return out
   195  }
   196  
   197  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   198  func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) {
   199  	*out = *in
   200  	if in.Annotations != nil {
   201  		in, out := &in.Annotations, &out.Annotations
   202  		*out = make(map[string]string, len(*in))
   203  		for key, val := range *in {
   204  			(*out)[key] = val
   205  		}
   206  	}
   207  }
   208  
   209  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
   210  func (in *ServiceSpec) DeepCopy() *ServiceSpec {
   211  	if in == nil {
   212  		return nil
   213  	}
   214  	out := new(ServiceSpec)
   215  	in.DeepCopyInto(out)
   216  	return out
   217  }