github.com/oam-dev/cluster-gateway@v1.9.0/pkg/apis/cluster/v1alpha1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2021 The KubeVela 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      http://www.apache.org/licenses/LICENSE-2.0
    11  Unless required by applicable law or agreed to in writing, software
    12  distributed under the License is distributed on an "AS IS" BASIS,
    13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14  See the License for the specific language governing permissions and
    15  limitations under the License.
    16  */
    17  
    18  // Code generated by controller-gen. DO NOT EDIT.
    19  
    20  package v1alpha1
    21  
    22  import (
    23  	"k8s.io/apimachinery/pkg/runtime"
    24  )
    25  
    26  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    27  func (in *ClientIdentityExchangeRule) DeepCopyInto(out *ClientIdentityExchangeRule) {
    28  	*out = *in
    29  	if in.Source != nil {
    30  		in, out := &in.Source, &out.Source
    31  		*out = new(IdentityExchangerSource)
    32  		(*in).DeepCopyInto(*out)
    33  	}
    34  	if in.Target != nil {
    35  		in, out := &in.Target, &out.Target
    36  		*out = new(IdentityExchangerTarget)
    37  		(*in).DeepCopyInto(*out)
    38  	}
    39  	if in.URL != nil {
    40  		in, out := &in.URL, &out.URL
    41  		*out = new(string)
    42  		**out = **in
    43  	}
    44  }
    45  
    46  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIdentityExchangeRule.
    47  func (in *ClientIdentityExchangeRule) DeepCopy() *ClientIdentityExchangeRule {
    48  	if in == nil {
    49  		return nil
    50  	}
    51  	out := new(ClientIdentityExchangeRule)
    52  	in.DeepCopyInto(out)
    53  	return out
    54  }
    55  
    56  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    57  func (in *ClientIdentityExchanger) DeepCopyInto(out *ClientIdentityExchanger) {
    58  	*out = *in
    59  	if in.Rules != nil {
    60  		in, out := &in.Rules, &out.Rules
    61  		*out = make([]ClientIdentityExchangeRule, len(*in))
    62  		for i := range *in {
    63  			(*in)[i].DeepCopyInto(&(*out)[i])
    64  		}
    65  	}
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIdentityExchanger.
    69  func (in *ClientIdentityExchanger) DeepCopy() *ClientIdentityExchanger {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(ClientIdentityExchanger)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    79  func (in *ClusterAccess) DeepCopyInto(out *ClusterAccess) {
    80  	*out = *in
    81  	if in.Endpoint != nil {
    82  		in, out := &in.Endpoint, &out.Endpoint
    83  		*out = new(ClusterEndpoint)
    84  		(*in).DeepCopyInto(*out)
    85  	}
    86  	if in.Credential != nil {
    87  		in, out := &in.Credential, &out.Credential
    88  		*out = new(ClusterAccessCredential)
    89  		(*in).DeepCopyInto(*out)
    90  	}
    91  }
    92  
    93  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAccess.
    94  func (in *ClusterAccess) DeepCopy() *ClusterAccess {
    95  	if in == nil {
    96  		return nil
    97  	}
    98  	out := new(ClusterAccess)
    99  	in.DeepCopyInto(out)
   100  	return out
   101  }
   102  
   103  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   104  func (in *ClusterAccessCredential) DeepCopyInto(out *ClusterAccessCredential) {
   105  	*out = *in
   106  	if in.X509 != nil {
   107  		in, out := &in.X509, &out.X509
   108  		*out = new(X509)
   109  		(*in).DeepCopyInto(*out)
   110  	}
   111  }
   112  
   113  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAccessCredential.
   114  func (in *ClusterAccessCredential) DeepCopy() *ClusterAccessCredential {
   115  	if in == nil {
   116  		return nil
   117  	}
   118  	out := new(ClusterAccessCredential)
   119  	in.DeepCopyInto(out)
   120  	return out
   121  }
   122  
   123  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   124  func (in *ClusterEndpoint) DeepCopyInto(out *ClusterEndpoint) {
   125  	*out = *in
   126  	if in.Const != nil {
   127  		in, out := &in.Const, &out.Const
   128  		*out = new(ClusterEndpointConst)
   129  		(*in).DeepCopyInto(*out)
   130  	}
   131  }
   132  
   133  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEndpoint.
   134  func (in *ClusterEndpoint) DeepCopy() *ClusterEndpoint {
   135  	if in == nil {
   136  		return nil
   137  	}
   138  	out := new(ClusterEndpoint)
   139  	in.DeepCopyInto(out)
   140  	return out
   141  }
   142  
   143  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   144  func (in *ClusterEndpointConst) DeepCopyInto(out *ClusterEndpointConst) {
   145  	*out = *in
   146  	if in.CABundle != nil {
   147  		in, out := &in.CABundle, &out.CABundle
   148  		*out = make([]byte, len(*in))
   149  		copy(*out, *in)
   150  	}
   151  	if in.Insecure != nil {
   152  		in, out := &in.Insecure, &out.Insecure
   153  		*out = new(bool)
   154  		**out = **in
   155  	}
   156  }
   157  
   158  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEndpointConst.
   159  func (in *ClusterEndpointConst) DeepCopy() *ClusterEndpointConst {
   160  	if in == nil {
   161  		return nil
   162  	}
   163  	out := new(ClusterEndpointConst)
   164  	in.DeepCopyInto(out)
   165  	return out
   166  }
   167  
   168  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   169  func (in *ClusterGateway) DeepCopyInto(out *ClusterGateway) {
   170  	*out = *in
   171  	out.TypeMeta = in.TypeMeta
   172  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   173  	in.Spec.DeepCopyInto(&out.Spec)
   174  	out.Status = in.Status
   175  }
   176  
   177  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGateway.
   178  func (in *ClusterGateway) DeepCopy() *ClusterGateway {
   179  	if in == nil {
   180  		return nil
   181  	}
   182  	out := new(ClusterGateway)
   183  	in.DeepCopyInto(out)
   184  	return out
   185  }
   186  
   187  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   188  func (in *ClusterGateway) DeepCopyObject() runtime.Object {
   189  	if c := in.DeepCopy(); c != nil {
   190  		return c
   191  	}
   192  	return nil
   193  }
   194  
   195  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   196  func (in *ClusterGatewayHealth) DeepCopyInto(out *ClusterGatewayHealth) {
   197  	*out = *in
   198  	out.TypeMeta = in.TypeMeta
   199  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   200  	in.Spec.DeepCopyInto(&out.Spec)
   201  	out.Status = in.Status
   202  }
   203  
   204  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGatewayHealth.
   205  func (in *ClusterGatewayHealth) DeepCopy() *ClusterGatewayHealth {
   206  	if in == nil {
   207  		return nil
   208  	}
   209  	out := new(ClusterGatewayHealth)
   210  	in.DeepCopyInto(out)
   211  	return out
   212  }
   213  
   214  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   215  func (in *ClusterGatewayList) DeepCopyInto(out *ClusterGatewayList) {
   216  	*out = *in
   217  	out.TypeMeta = in.TypeMeta
   218  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   219  	if in.Items != nil {
   220  		in, out := &in.Items, &out.Items
   221  		*out = make([]ClusterGateway, len(*in))
   222  		for i := range *in {
   223  			(*in)[i].DeepCopyInto(&(*out)[i])
   224  		}
   225  	}
   226  }
   227  
   228  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGatewayList.
   229  func (in *ClusterGatewayList) DeepCopy() *ClusterGatewayList {
   230  	if in == nil {
   231  		return nil
   232  	}
   233  	out := new(ClusterGatewayList)
   234  	in.DeepCopyInto(out)
   235  	return out
   236  }
   237  
   238  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   239  func (in *ClusterGatewayList) DeepCopyObject() runtime.Object {
   240  	if c := in.DeepCopy(); c != nil {
   241  		return c
   242  	}
   243  	return nil
   244  }
   245  
   246  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   247  func (in *ClusterGatewayProxy) DeepCopyInto(out *ClusterGatewayProxy) {
   248  	*out = *in
   249  }
   250  
   251  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGatewayProxy.
   252  func (in *ClusterGatewayProxy) DeepCopy() *ClusterGatewayProxy {
   253  	if in == nil {
   254  		return nil
   255  	}
   256  	out := new(ClusterGatewayProxy)
   257  	in.DeepCopyInto(out)
   258  	return out
   259  }
   260  
   261  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   262  func (in *ClusterGatewayProxyConfiguration) DeepCopyInto(out *ClusterGatewayProxyConfiguration) {
   263  	*out = *in
   264  	out.TypeMeta = in.TypeMeta
   265  	in.Spec.DeepCopyInto(&out.Spec)
   266  }
   267  
   268  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGatewayProxyConfiguration.
   269  func (in *ClusterGatewayProxyConfiguration) DeepCopy() *ClusterGatewayProxyConfiguration {
   270  	if in == nil {
   271  		return nil
   272  	}
   273  	out := new(ClusterGatewayProxyConfiguration)
   274  	in.DeepCopyInto(out)
   275  	return out
   276  }
   277  
   278  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   279  func (in *ClusterGatewayProxyConfigurationSpec) DeepCopyInto(out *ClusterGatewayProxyConfigurationSpec) {
   280  	*out = *in
   281  	in.ClientIdentityExchanger.DeepCopyInto(&out.ClientIdentityExchanger)
   282  }
   283  
   284  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGatewayProxyConfigurationSpec.
   285  func (in *ClusterGatewayProxyConfigurationSpec) DeepCopy() *ClusterGatewayProxyConfigurationSpec {
   286  	if in == nil {
   287  		return nil
   288  	}
   289  	out := new(ClusterGatewayProxyConfigurationSpec)
   290  	in.DeepCopyInto(out)
   291  	return out
   292  }
   293  
   294  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   295  func (in *ClusterGatewayProxyOptions) DeepCopyInto(out *ClusterGatewayProxyOptions) {
   296  	*out = *in
   297  	out.TypeMeta = in.TypeMeta
   298  }
   299  
   300  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGatewayProxyOptions.
   301  func (in *ClusterGatewayProxyOptions) DeepCopy() *ClusterGatewayProxyOptions {
   302  	if in == nil {
   303  		return nil
   304  	}
   305  	out := new(ClusterGatewayProxyOptions)
   306  	in.DeepCopyInto(out)
   307  	return out
   308  }
   309  
   310  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   311  func (in *ClusterGatewayProxyOptions) DeepCopyObject() runtime.Object {
   312  	if c := in.DeepCopy(); c != nil {
   313  		return c
   314  	}
   315  	return nil
   316  }
   317  
   318  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   319  func (in *ClusterGatewaySpec) DeepCopyInto(out *ClusterGatewaySpec) {
   320  	*out = *in
   321  	in.Access.DeepCopyInto(&out.Access)
   322  	if in.ProxyConfig != nil {
   323  		in, out := &in.ProxyConfig, &out.ProxyConfig
   324  		*out = new(ClusterGatewayProxyConfiguration)
   325  		(*in).DeepCopyInto(*out)
   326  	}
   327  }
   328  
   329  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGatewaySpec.
   330  func (in *ClusterGatewaySpec) DeepCopy() *ClusterGatewaySpec {
   331  	if in == nil {
   332  		return nil
   333  	}
   334  	out := new(ClusterGatewaySpec)
   335  	in.DeepCopyInto(out)
   336  	return out
   337  }
   338  
   339  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   340  func (in *ClusterGatewayStatus) DeepCopyInto(out *ClusterGatewayStatus) {
   341  	*out = *in
   342  }
   343  
   344  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGatewayStatus.
   345  func (in *ClusterGatewayStatus) DeepCopy() *ClusterGatewayStatus {
   346  	if in == nil {
   347  		return nil
   348  	}
   349  	out := new(ClusterGatewayStatus)
   350  	in.DeepCopyInto(out)
   351  	return out
   352  }
   353  
   354  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   355  func (in *IdentityExchangerSource) DeepCopyInto(out *IdentityExchangerSource) {
   356  	*out = *in
   357  	if in.User != nil {
   358  		in, out := &in.User, &out.User
   359  		*out = new(string)
   360  		**out = **in
   361  	}
   362  	if in.Group != nil {
   363  		in, out := &in.Group, &out.Group
   364  		*out = new(string)
   365  		**out = **in
   366  	}
   367  	if in.UID != nil {
   368  		in, out := &in.UID, &out.UID
   369  		*out = new(string)
   370  		**out = **in
   371  	}
   372  	if in.Cluster != nil {
   373  		in, out := &in.Cluster, &out.Cluster
   374  		*out = new(string)
   375  		**out = **in
   376  	}
   377  	if in.UserPattern != nil {
   378  		in, out := &in.UserPattern, &out.UserPattern
   379  		*out = new(string)
   380  		**out = **in
   381  	}
   382  	if in.GroupPattern != nil {
   383  		in, out := &in.GroupPattern, &out.GroupPattern
   384  		*out = new(string)
   385  		**out = **in
   386  	}
   387  	if in.ClusterPattern != nil {
   388  		in, out := &in.ClusterPattern, &out.ClusterPattern
   389  		*out = new(string)
   390  		**out = **in
   391  	}
   392  }
   393  
   394  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityExchangerSource.
   395  func (in *IdentityExchangerSource) DeepCopy() *IdentityExchangerSource {
   396  	if in == nil {
   397  		return nil
   398  	}
   399  	out := new(IdentityExchangerSource)
   400  	in.DeepCopyInto(out)
   401  	return out
   402  }
   403  
   404  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   405  func (in *IdentityExchangerTarget) DeepCopyInto(out *IdentityExchangerTarget) {
   406  	*out = *in
   407  	if in.Groups != nil {
   408  		in, out := &in.Groups, &out.Groups
   409  		*out = make([]string, len(*in))
   410  		copy(*out, *in)
   411  	}
   412  }
   413  
   414  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityExchangerTarget.
   415  func (in *IdentityExchangerTarget) DeepCopy() *IdentityExchangerTarget {
   416  	if in == nil {
   417  		return nil
   418  	}
   419  	out := new(IdentityExchangerTarget)
   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 *VirtualCluster) DeepCopyInto(out *VirtualCluster) {
   426  	*out = *in
   427  	out.TypeMeta = in.TypeMeta
   428  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   429  	out.Spec = in.Spec
   430  }
   431  
   432  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualCluster.
   433  func (in *VirtualCluster) DeepCopy() *VirtualCluster {
   434  	if in == nil {
   435  		return nil
   436  	}
   437  	out := new(VirtualCluster)
   438  	in.DeepCopyInto(out)
   439  	return out
   440  }
   441  
   442  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   443  func (in *VirtualCluster) DeepCopyObject() runtime.Object {
   444  	if c := in.DeepCopy(); c != nil {
   445  		return c
   446  	}
   447  	return nil
   448  }
   449  
   450  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   451  func (in *VirtualClusterList) DeepCopyInto(out *VirtualClusterList) {
   452  	*out = *in
   453  	out.TypeMeta = in.TypeMeta
   454  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   455  	if in.Items != nil {
   456  		in, out := &in.Items, &out.Items
   457  		*out = make([]VirtualCluster, len(*in))
   458  		for i := range *in {
   459  			(*in)[i].DeepCopyInto(&(*out)[i])
   460  		}
   461  	}
   462  }
   463  
   464  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualClusterList.
   465  func (in *VirtualClusterList) DeepCopy() *VirtualClusterList {
   466  	if in == nil {
   467  		return nil
   468  	}
   469  	out := new(VirtualClusterList)
   470  	in.DeepCopyInto(out)
   471  	return out
   472  }
   473  
   474  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   475  func (in *VirtualClusterList) DeepCopyObject() runtime.Object {
   476  	if c := in.DeepCopy(); c != nil {
   477  		return c
   478  	}
   479  	return nil
   480  }
   481  
   482  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   483  func (in *VirtualClusterSpec) DeepCopyInto(out *VirtualClusterSpec) {
   484  	*out = *in
   485  }
   486  
   487  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualClusterSpec.
   488  func (in *VirtualClusterSpec) DeepCopy() *VirtualClusterSpec {
   489  	if in == nil {
   490  		return nil
   491  	}
   492  	out := new(VirtualClusterSpec)
   493  	in.DeepCopyInto(out)
   494  	return out
   495  }
   496  
   497  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   498  func (in *X509) DeepCopyInto(out *X509) {
   499  	*out = *in
   500  	if in.Certificate != nil {
   501  		in, out := &in.Certificate, &out.Certificate
   502  		*out = make([]byte, len(*in))
   503  		copy(*out, *in)
   504  	}
   505  	if in.PrivateKey != nil {
   506  		in, out := &in.PrivateKey, &out.PrivateKey
   507  		*out = make([]byte, len(*in))
   508  		copy(*out, *in)
   509  	}
   510  }
   511  
   512  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new X509.
   513  func (in *X509) DeepCopy() *X509 {
   514  	if in == nil {
   515  		return nil
   516  	}
   517  	out := new(X509)
   518  	in.DeepCopyInto(out)
   519  	return out
   520  }