github.com/ferryproxy/api@v0.4.2/apis/traffic/v1alpha2/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2022 FerryProxy 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 v1alpha2
    23  
    24  import (
    25  	"k8s.io/apimachinery/pkg/apis/meta/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 *Hub) DeepCopyInto(out *Hub) {
    31  	*out = *in
    32  	out.TypeMeta = in.TypeMeta
    33  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    34  	in.Spec.DeepCopyInto(&out.Spec)
    35  	in.Status.DeepCopyInto(&out.Status)
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hub.
    39  func (in *Hub) DeepCopy() *Hub {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(Hub)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    49  func (in *Hub) DeepCopyObject() runtime.Object {
    50  	if c := in.DeepCopy(); c != nil {
    51  		return c
    52  	}
    53  	return nil
    54  }
    55  
    56  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    57  func (in *HubList) DeepCopyInto(out *HubList) {
    58  	*out = *in
    59  	out.TypeMeta = in.TypeMeta
    60  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    61  	if in.Items != nil {
    62  		in, out := &in.Items, &out.Items
    63  		*out = make([]Hub, len(*in))
    64  		for i := range *in {
    65  			(*in)[i].DeepCopyInto(&(*out)[i])
    66  		}
    67  	}
    68  }
    69  
    70  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubList.
    71  func (in *HubList) DeepCopy() *HubList {
    72  	if in == nil {
    73  		return nil
    74  	}
    75  	out := new(HubList)
    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 *HubList) 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 *HubSpec) DeepCopyInto(out *HubSpec) {
    90  	*out = *in
    91  	in.Gateway.DeepCopyInto(&out.Gateway)
    92  	if in.Override != nil {
    93  		in, out := &in.Override, &out.Override
    94  		*out = make(map[string]HubSpecGateway, len(*in))
    95  		for key, val := range *in {
    96  			(*out)[key] = *val.DeepCopy()
    97  		}
    98  	}
    99  }
   100  
   101  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubSpec.
   102  func (in *HubSpec) DeepCopy() *HubSpec {
   103  	if in == nil {
   104  		return nil
   105  	}
   106  	out := new(HubSpec)
   107  	in.DeepCopyInto(out)
   108  	return out
   109  }
   110  
   111  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   112  func (in *HubSpecGateway) DeepCopyInto(out *HubSpecGateway) {
   113  	*out = *in
   114  	if in.NavigationWay != nil {
   115  		in, out := &in.NavigationWay, &out.NavigationWay
   116  		*out = make([]HubSpecGatewayWay, len(*in))
   117  		copy(*out, *in)
   118  	}
   119  	if in.ReceptionWay != nil {
   120  		in, out := &in.ReceptionWay, &out.ReceptionWay
   121  		*out = make([]HubSpecGatewayWay, len(*in))
   122  		copy(*out, *in)
   123  	}
   124  	if in.NavigationProxy != nil {
   125  		in, out := &in.NavigationProxy, &out.NavigationProxy
   126  		*out = make([]HubSpecGatewayProxy, len(*in))
   127  		copy(*out, *in)
   128  	}
   129  	if in.ReceptionProxy != nil {
   130  		in, out := &in.ReceptionProxy, &out.ReceptionProxy
   131  		*out = make([]HubSpecGatewayProxy, len(*in))
   132  		copy(*out, *in)
   133  	}
   134  }
   135  
   136  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubSpecGateway.
   137  func (in *HubSpecGateway) DeepCopy() *HubSpecGateway {
   138  	if in == nil {
   139  		return nil
   140  	}
   141  	out := new(HubSpecGateway)
   142  	in.DeepCopyInto(out)
   143  	return out
   144  }
   145  
   146  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   147  func (in *HubSpecGatewayProxy) DeepCopyInto(out *HubSpecGatewayProxy) {
   148  	*out = *in
   149  }
   150  
   151  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubSpecGatewayProxy.
   152  func (in *HubSpecGatewayProxy) DeepCopy() *HubSpecGatewayProxy {
   153  	if in == nil {
   154  		return nil
   155  	}
   156  	out := new(HubSpecGatewayProxy)
   157  	in.DeepCopyInto(out)
   158  	return out
   159  }
   160  
   161  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   162  func (in *HubSpecGatewayWay) DeepCopyInto(out *HubSpecGatewayWay) {
   163  	*out = *in
   164  }
   165  
   166  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubSpecGatewayWay.
   167  func (in *HubSpecGatewayWay) DeepCopy() *HubSpecGatewayWay {
   168  	if in == nil {
   169  		return nil
   170  	}
   171  	out := new(HubSpecGatewayWay)
   172  	in.DeepCopyInto(out)
   173  	return out
   174  }
   175  
   176  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   177  func (in *HubStatus) DeepCopyInto(out *HubStatus) {
   178  	*out = *in
   179  	in.LastSynchronizationTimestamp.DeepCopyInto(&out.LastSynchronizationTimestamp)
   180  	if in.Conditions != nil {
   181  		in, out := &in.Conditions, &out.Conditions
   182  		*out = make([]v1.Condition, len(*in))
   183  		for i := range *in {
   184  			(*in)[i].DeepCopyInto(&(*out)[i])
   185  		}
   186  	}
   187  }
   188  
   189  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubStatus.
   190  func (in *HubStatus) DeepCopy() *HubStatus {
   191  	if in == nil {
   192  		return nil
   193  	}
   194  	out := new(HubStatus)
   195  	in.DeepCopyInto(out)
   196  	return out
   197  }
   198  
   199  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   200  func (in *Route) DeepCopyInto(out *Route) {
   201  	*out = *in
   202  	out.TypeMeta = in.TypeMeta
   203  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   204  	out.Spec = in.Spec
   205  	in.Status.DeepCopyInto(&out.Status)
   206  }
   207  
   208  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
   209  func (in *Route) DeepCopy() *Route {
   210  	if in == nil {
   211  		return nil
   212  	}
   213  	out := new(Route)
   214  	in.DeepCopyInto(out)
   215  	return out
   216  }
   217  
   218  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   219  func (in *Route) DeepCopyObject() runtime.Object {
   220  	if c := in.DeepCopy(); c != nil {
   221  		return c
   222  	}
   223  	return nil
   224  }
   225  
   226  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   227  func (in *RouteList) DeepCopyInto(out *RouteList) {
   228  	*out = *in
   229  	out.TypeMeta = in.TypeMeta
   230  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   231  	if in.Items != nil {
   232  		in, out := &in.Items, &out.Items
   233  		*out = make([]Route, len(*in))
   234  		for i := range *in {
   235  			(*in)[i].DeepCopyInto(&(*out)[i])
   236  		}
   237  	}
   238  }
   239  
   240  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteList.
   241  func (in *RouteList) DeepCopy() *RouteList {
   242  	if in == nil {
   243  		return nil
   244  	}
   245  	out := new(RouteList)
   246  	in.DeepCopyInto(out)
   247  	return out
   248  }
   249  
   250  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   251  func (in *RouteList) DeepCopyObject() runtime.Object {
   252  	if c := in.DeepCopy(); c != nil {
   253  		return c
   254  	}
   255  	return nil
   256  }
   257  
   258  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   259  func (in *RoutePolicy) DeepCopyInto(out *RoutePolicy) {
   260  	*out = *in
   261  	out.TypeMeta = in.TypeMeta
   262  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   263  	in.Spec.DeepCopyInto(&out.Spec)
   264  	in.Status.DeepCopyInto(&out.Status)
   265  }
   266  
   267  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePolicy.
   268  func (in *RoutePolicy) DeepCopy() *RoutePolicy {
   269  	if in == nil {
   270  		return nil
   271  	}
   272  	out := new(RoutePolicy)
   273  	in.DeepCopyInto(out)
   274  	return out
   275  }
   276  
   277  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   278  func (in *RoutePolicy) DeepCopyObject() runtime.Object {
   279  	if c := in.DeepCopy(); c != nil {
   280  		return c
   281  	}
   282  	return nil
   283  }
   284  
   285  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   286  func (in *RoutePolicyList) DeepCopyInto(out *RoutePolicyList) {
   287  	*out = *in
   288  	out.TypeMeta = in.TypeMeta
   289  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   290  	if in.Items != nil {
   291  		in, out := &in.Items, &out.Items
   292  		*out = make([]RoutePolicy, len(*in))
   293  		for i := range *in {
   294  			(*in)[i].DeepCopyInto(&(*out)[i])
   295  		}
   296  	}
   297  }
   298  
   299  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePolicyList.
   300  func (in *RoutePolicyList) DeepCopy() *RoutePolicyList {
   301  	if in == nil {
   302  		return nil
   303  	}
   304  	out := new(RoutePolicyList)
   305  	in.DeepCopyInto(out)
   306  	return out
   307  }
   308  
   309  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   310  func (in *RoutePolicyList) DeepCopyObject() runtime.Object {
   311  	if c := in.DeepCopy(); c != nil {
   312  		return c
   313  	}
   314  	return nil
   315  }
   316  
   317  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   318  func (in *RoutePolicySpec) DeepCopyInto(out *RoutePolicySpec) {
   319  	*out = *in
   320  	if in.Exports != nil {
   321  		in, out := &in.Exports, &out.Exports
   322  		*out = make([]RoutePolicySpecRule, len(*in))
   323  		for i := range *in {
   324  			(*in)[i].DeepCopyInto(&(*out)[i])
   325  		}
   326  	}
   327  	if in.Imports != nil {
   328  		in, out := &in.Imports, &out.Imports
   329  		*out = make([]RoutePolicySpecRule, len(*in))
   330  		for i := range *in {
   331  			(*in)[i].DeepCopyInto(&(*out)[i])
   332  		}
   333  	}
   334  }
   335  
   336  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePolicySpec.
   337  func (in *RoutePolicySpec) DeepCopy() *RoutePolicySpec {
   338  	if in == nil {
   339  		return nil
   340  	}
   341  	out := new(RoutePolicySpec)
   342  	in.DeepCopyInto(out)
   343  	return out
   344  }
   345  
   346  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   347  func (in *RoutePolicySpecRule) DeepCopyInto(out *RoutePolicySpecRule) {
   348  	*out = *in
   349  	in.Service.DeepCopyInto(&out.Service)
   350  }
   351  
   352  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePolicySpecRule.
   353  func (in *RoutePolicySpecRule) DeepCopy() *RoutePolicySpecRule {
   354  	if in == nil {
   355  		return nil
   356  	}
   357  	out := new(RoutePolicySpecRule)
   358  	in.DeepCopyInto(out)
   359  	return out
   360  }
   361  
   362  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   363  func (in *RoutePolicySpecRuleService) DeepCopyInto(out *RoutePolicySpecRuleService) {
   364  	*out = *in
   365  	if in.Labels != nil {
   366  		in, out := &in.Labels, &out.Labels
   367  		*out = make(map[string]string, len(*in))
   368  		for key, val := range *in {
   369  			(*out)[key] = val
   370  		}
   371  	}
   372  }
   373  
   374  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePolicySpecRuleService.
   375  func (in *RoutePolicySpecRuleService) DeepCopy() *RoutePolicySpecRuleService {
   376  	if in == nil {
   377  		return nil
   378  	}
   379  	out := new(RoutePolicySpecRuleService)
   380  	in.DeepCopyInto(out)
   381  	return out
   382  }
   383  
   384  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   385  func (in *RoutePolicyStatus) DeepCopyInto(out *RoutePolicyStatus) {
   386  	*out = *in
   387  	in.LastSynchronizationTimestamp.DeepCopyInto(&out.LastSynchronizationTimestamp)
   388  	if in.Conditions != nil {
   389  		in, out := &in.Conditions, &out.Conditions
   390  		*out = make([]v1.Condition, len(*in))
   391  		for i := range *in {
   392  			(*in)[i].DeepCopyInto(&(*out)[i])
   393  		}
   394  	}
   395  }
   396  
   397  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePolicyStatus.
   398  func (in *RoutePolicyStatus) DeepCopy() *RoutePolicyStatus {
   399  	if in == nil {
   400  		return nil
   401  	}
   402  	out := new(RoutePolicyStatus)
   403  	in.DeepCopyInto(out)
   404  	return out
   405  }
   406  
   407  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   408  func (in *RouteSpec) DeepCopyInto(out *RouteSpec) {
   409  	*out = *in
   410  	out.Import = in.Import
   411  	out.Export = in.Export
   412  }
   413  
   414  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
   415  func (in *RouteSpec) DeepCopy() *RouteSpec {
   416  	if in == nil {
   417  		return nil
   418  	}
   419  	out := new(RouteSpec)
   420  	in.DeepCopyInto(out)
   421  	return out
   422  }
   423  
   424  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   425  func (in *RouteSpecRule) DeepCopyInto(out *RouteSpecRule) {
   426  	*out = *in
   427  	out.Service = in.Service
   428  }
   429  
   430  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpecRule.
   431  func (in *RouteSpecRule) DeepCopy() *RouteSpecRule {
   432  	if in == nil {
   433  		return nil
   434  	}
   435  	out := new(RouteSpecRule)
   436  	in.DeepCopyInto(out)
   437  	return out
   438  }
   439  
   440  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   441  func (in *RouteSpecRuleService) DeepCopyInto(out *RouteSpecRuleService) {
   442  	*out = *in
   443  }
   444  
   445  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpecRuleService.
   446  func (in *RouteSpecRuleService) DeepCopy() *RouteSpecRuleService {
   447  	if in == nil {
   448  		return nil
   449  	}
   450  	out := new(RouteSpecRuleService)
   451  	in.DeepCopyInto(out)
   452  	return out
   453  }
   454  
   455  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   456  func (in *RouteStatus) DeepCopyInto(out *RouteStatus) {
   457  	*out = *in
   458  	in.LastSynchronizationTimestamp.DeepCopyInto(&out.LastSynchronizationTimestamp)
   459  	if in.Conditions != nil {
   460  		in, out := &in.Conditions, &out.Conditions
   461  		*out = make([]v1.Condition, len(*in))
   462  		for i := range *in {
   463  			(*in)[i].DeepCopyInto(&(*out)[i])
   464  		}
   465  	}
   466  }
   467  
   468  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteStatus.
   469  func (in *RouteStatus) DeepCopy() *RouteStatus {
   470  	if in == nil {
   471  		return nil
   472  	}
   473  	out := new(RouteStatus)
   474  	in.DeepCopyInto(out)
   475  	return out
   476  }