...

Source file src/github.com/openshift/api/route/v1/zz_generated.deepcopy.go

Documentation: github.com/openshift/api/route/v1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Code generated by deepcopy-gen. DO NOT EDIT.
     5  
     6  package v1
     7  
     8  import (
     9  	runtime "k8s.io/apimachinery/pkg/runtime"
    10  )
    11  
    12  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    13  func (in *Route) DeepCopyInto(out *Route) {
    14  	*out = *in
    15  	out.TypeMeta = in.TypeMeta
    16  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    17  	in.Spec.DeepCopyInto(&out.Spec)
    18  	in.Status.DeepCopyInto(&out.Status)
    19  	return
    20  }
    21  
    22  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
    23  func (in *Route) DeepCopy() *Route {
    24  	if in == nil {
    25  		return nil
    26  	}
    27  	out := new(Route)
    28  	in.DeepCopyInto(out)
    29  	return out
    30  }
    31  
    32  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    33  func (in *Route) DeepCopyObject() runtime.Object {
    34  	if c := in.DeepCopy(); c != nil {
    35  		return c
    36  	}
    37  	return nil
    38  }
    39  
    40  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    41  func (in *RouteIngress) DeepCopyInto(out *RouteIngress) {
    42  	*out = *in
    43  	if in.Conditions != nil {
    44  		in, out := &in.Conditions, &out.Conditions
    45  		*out = make([]RouteIngressCondition, len(*in))
    46  		for i := range *in {
    47  			(*in)[i].DeepCopyInto(&(*out)[i])
    48  		}
    49  	}
    50  	return
    51  }
    52  
    53  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteIngress.
    54  func (in *RouteIngress) DeepCopy() *RouteIngress {
    55  	if in == nil {
    56  		return nil
    57  	}
    58  	out := new(RouteIngress)
    59  	in.DeepCopyInto(out)
    60  	return out
    61  }
    62  
    63  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    64  func (in *RouteIngressCondition) DeepCopyInto(out *RouteIngressCondition) {
    65  	*out = *in
    66  	if in.LastTransitionTime != nil {
    67  		in, out := &in.LastTransitionTime, &out.LastTransitionTime
    68  		*out = (*in).DeepCopy()
    69  	}
    70  	return
    71  }
    72  
    73  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteIngressCondition.
    74  func (in *RouteIngressCondition) DeepCopy() *RouteIngressCondition {
    75  	if in == nil {
    76  		return nil
    77  	}
    78  	out := new(RouteIngressCondition)
    79  	in.DeepCopyInto(out)
    80  	return out
    81  }
    82  
    83  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    84  func (in *RouteList) DeepCopyInto(out *RouteList) {
    85  	*out = *in
    86  	out.TypeMeta = in.TypeMeta
    87  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    88  	if in.Items != nil {
    89  		in, out := &in.Items, &out.Items
    90  		*out = make([]Route, len(*in))
    91  		for i := range *in {
    92  			(*in)[i].DeepCopyInto(&(*out)[i])
    93  		}
    94  	}
    95  	return
    96  }
    97  
    98  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteList.
    99  func (in *RouteList) DeepCopy() *RouteList {
   100  	if in == nil {
   101  		return nil
   102  	}
   103  	out := new(RouteList)
   104  	in.DeepCopyInto(out)
   105  	return out
   106  }
   107  
   108  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   109  func (in *RouteList) DeepCopyObject() runtime.Object {
   110  	if c := in.DeepCopy(); c != nil {
   111  		return c
   112  	}
   113  	return nil
   114  }
   115  
   116  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   117  func (in *RoutePort) DeepCopyInto(out *RoutePort) {
   118  	*out = *in
   119  	out.TargetPort = in.TargetPort
   120  	return
   121  }
   122  
   123  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePort.
   124  func (in *RoutePort) DeepCopy() *RoutePort {
   125  	if in == nil {
   126  		return nil
   127  	}
   128  	out := new(RoutePort)
   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 *RouteSpec) DeepCopyInto(out *RouteSpec) {
   135  	*out = *in
   136  	in.To.DeepCopyInto(&out.To)
   137  	if in.AlternateBackends != nil {
   138  		in, out := &in.AlternateBackends, &out.AlternateBackends
   139  		*out = make([]RouteTargetReference, len(*in))
   140  		for i := range *in {
   141  			(*in)[i].DeepCopyInto(&(*out)[i])
   142  		}
   143  	}
   144  	if in.Port != nil {
   145  		in, out := &in.Port, &out.Port
   146  		*out = new(RoutePort)
   147  		**out = **in
   148  	}
   149  	if in.TLS != nil {
   150  		in, out := &in.TLS, &out.TLS
   151  		*out = new(TLSConfig)
   152  		**out = **in
   153  	}
   154  	return
   155  }
   156  
   157  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
   158  func (in *RouteSpec) DeepCopy() *RouteSpec {
   159  	if in == nil {
   160  		return nil
   161  	}
   162  	out := new(RouteSpec)
   163  	in.DeepCopyInto(out)
   164  	return out
   165  }
   166  
   167  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   168  func (in *RouteStatus) DeepCopyInto(out *RouteStatus) {
   169  	*out = *in
   170  	if in.Ingress != nil {
   171  		in, out := &in.Ingress, &out.Ingress
   172  		*out = make([]RouteIngress, len(*in))
   173  		for i := range *in {
   174  			(*in)[i].DeepCopyInto(&(*out)[i])
   175  		}
   176  	}
   177  	return
   178  }
   179  
   180  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteStatus.
   181  func (in *RouteStatus) DeepCopy() *RouteStatus {
   182  	if in == nil {
   183  		return nil
   184  	}
   185  	out := new(RouteStatus)
   186  	in.DeepCopyInto(out)
   187  	return out
   188  }
   189  
   190  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   191  func (in *RouteTargetReference) DeepCopyInto(out *RouteTargetReference) {
   192  	*out = *in
   193  	if in.Weight != nil {
   194  		in, out := &in.Weight, &out.Weight
   195  		*out = new(int32)
   196  		**out = **in
   197  	}
   198  	return
   199  }
   200  
   201  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTargetReference.
   202  func (in *RouteTargetReference) DeepCopy() *RouteTargetReference {
   203  	if in == nil {
   204  		return nil
   205  	}
   206  	out := new(RouteTargetReference)
   207  	in.DeepCopyInto(out)
   208  	return out
   209  }
   210  
   211  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   212  func (in *RouterShard) DeepCopyInto(out *RouterShard) {
   213  	*out = *in
   214  	return
   215  }
   216  
   217  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterShard.
   218  func (in *RouterShard) DeepCopy() *RouterShard {
   219  	if in == nil {
   220  		return nil
   221  	}
   222  	out := new(RouterShard)
   223  	in.DeepCopyInto(out)
   224  	return out
   225  }
   226  
   227  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   228  func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
   229  	*out = *in
   230  	return
   231  }
   232  
   233  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
   234  func (in *TLSConfig) DeepCopy() *TLSConfig {
   235  	if in == nil {
   236  		return nil
   237  	}
   238  	out := new(TLSConfig)
   239  	in.DeepCopyInto(out)
   240  	return out
   241  }
   242  

View as plain text