...

Source file src/github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/bigqueryconnection/v1alpha1/zz_generated.deepcopy.go

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/bigqueryconnection/v1alpha1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright 2020 Google LLC
     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  // *** DISCLAIMER ***
    19  // Config Connector's go-client for CRDs is currently in ALPHA, which means
    20  // that future versions of the go-client may include breaking changes.
    21  // Please try it out and give us feedback!
    22  
    23  // Code generated by main. DO NOT EDIT.
    24  
    25  package v1alpha1
    26  
    27  import (
    28  	k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
    29  	runtime "k8s.io/apimachinery/pkg/runtime"
    30  )
    31  
    32  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    33  func (in *BigQueryConnectionConnection) DeepCopyInto(out *BigQueryConnectionConnection) {
    34  	*out = *in
    35  	out.TypeMeta = in.TypeMeta
    36  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    37  	in.Spec.DeepCopyInto(&out.Spec)
    38  	in.Status.DeepCopyInto(&out.Status)
    39  	return
    40  }
    41  
    42  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnection.
    43  func (in *BigQueryConnectionConnection) DeepCopy() *BigQueryConnectionConnection {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(BigQueryConnectionConnection)
    48  	in.DeepCopyInto(out)
    49  	return out
    50  }
    51  
    52  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    53  func (in *BigQueryConnectionConnection) DeepCopyObject() runtime.Object {
    54  	if c := in.DeepCopy(); c != nil {
    55  		return c
    56  	}
    57  	return nil
    58  }
    59  
    60  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    61  func (in *BigQueryConnectionConnectionList) DeepCopyInto(out *BigQueryConnectionConnectionList) {
    62  	*out = *in
    63  	out.TypeMeta = in.TypeMeta
    64  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    65  	if in.Items != nil {
    66  		in, out := &in.Items, &out.Items
    67  		*out = make([]BigQueryConnectionConnection, len(*in))
    68  		for i := range *in {
    69  			(*in)[i].DeepCopyInto(&(*out)[i])
    70  		}
    71  	}
    72  	return
    73  }
    74  
    75  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnectionList.
    76  func (in *BigQueryConnectionConnectionList) DeepCopy() *BigQueryConnectionConnectionList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(BigQueryConnectionConnectionList)
    81  	in.DeepCopyInto(out)
    82  	return out
    83  }
    84  
    85  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    86  func (in *BigQueryConnectionConnectionList) DeepCopyObject() runtime.Object {
    87  	if c := in.DeepCopy(); c != nil {
    88  		return c
    89  	}
    90  	return nil
    91  }
    92  
    93  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    94  func (in *BigQueryConnectionConnectionSpec) DeepCopyInto(out *BigQueryConnectionConnectionSpec) {
    95  	*out = *in
    96  	if in.Aws != nil {
    97  		in, out := &in.Aws, &out.Aws
    98  		*out = new(ConnectionAws)
    99  		(*in).DeepCopyInto(*out)
   100  	}
   101  	if in.Azure != nil {
   102  		in, out := &in.Azure, &out.Azure
   103  		*out = new(ConnectionAzure)
   104  		(*in).DeepCopyInto(*out)
   105  	}
   106  	if in.CloudResource != nil {
   107  		in, out := &in.CloudResource, &out.CloudResource
   108  		*out = new(ConnectionCloudResource)
   109  		(*in).DeepCopyInto(*out)
   110  	}
   111  	if in.CloudSpanner != nil {
   112  		in, out := &in.CloudSpanner, &out.CloudSpanner
   113  		*out = new(ConnectionCloudSpanner)
   114  		(*in).DeepCopyInto(*out)
   115  	}
   116  	if in.CloudSql != nil {
   117  		in, out := &in.CloudSql, &out.CloudSql
   118  		*out = new(ConnectionCloudSql)
   119  		(*in).DeepCopyInto(*out)
   120  	}
   121  	if in.Description != nil {
   122  		in, out := &in.Description, &out.Description
   123  		*out = new(string)
   124  		**out = **in
   125  	}
   126  	if in.FriendlyName != nil {
   127  		in, out := &in.FriendlyName, &out.FriendlyName
   128  		*out = new(string)
   129  		**out = **in
   130  	}
   131  	out.ProjectRef = in.ProjectRef
   132  	if in.ResourceID != nil {
   133  		in, out := &in.ResourceID, &out.ResourceID
   134  		*out = new(string)
   135  		**out = **in
   136  	}
   137  	return
   138  }
   139  
   140  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnectionSpec.
   141  func (in *BigQueryConnectionConnectionSpec) DeepCopy() *BigQueryConnectionConnectionSpec {
   142  	if in == nil {
   143  		return nil
   144  	}
   145  	out := new(BigQueryConnectionConnectionSpec)
   146  	in.DeepCopyInto(out)
   147  	return out
   148  }
   149  
   150  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   151  func (in *BigQueryConnectionConnectionStatus) DeepCopyInto(out *BigQueryConnectionConnectionStatus) {
   152  	*out = *in
   153  	if in.Conditions != nil {
   154  		in, out := &in.Conditions, &out.Conditions
   155  		*out = make([]k8sv1alpha1.Condition, len(*in))
   156  		copy(*out, *in)
   157  	}
   158  	if in.HasCredential != nil {
   159  		in, out := &in.HasCredential, &out.HasCredential
   160  		*out = new(bool)
   161  		**out = **in
   162  	}
   163  	if in.Name != nil {
   164  		in, out := &in.Name, &out.Name
   165  		*out = new(string)
   166  		**out = **in
   167  	}
   168  	if in.ObservedGeneration != nil {
   169  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   170  		*out = new(int)
   171  		**out = **in
   172  	}
   173  	return
   174  }
   175  
   176  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnectionStatus.
   177  func (in *BigQueryConnectionConnectionStatus) DeepCopy() *BigQueryConnectionConnectionStatus {
   178  	if in == nil {
   179  		return nil
   180  	}
   181  	out := new(BigQueryConnectionConnectionStatus)
   182  	in.DeepCopyInto(out)
   183  	return out
   184  }
   185  
   186  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   187  func (in *ConnectionAccessRole) DeepCopyInto(out *ConnectionAccessRole) {
   188  	*out = *in
   189  	if in.Identity != nil {
   190  		in, out := &in.Identity, &out.Identity
   191  		*out = new(string)
   192  		**out = **in
   193  	}
   194  	return
   195  }
   196  
   197  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionAccessRole.
   198  func (in *ConnectionAccessRole) DeepCopy() *ConnectionAccessRole {
   199  	if in == nil {
   200  		return nil
   201  	}
   202  	out := new(ConnectionAccessRole)
   203  	in.DeepCopyInto(out)
   204  	return out
   205  }
   206  
   207  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   208  func (in *ConnectionAws) DeepCopyInto(out *ConnectionAws) {
   209  	*out = *in
   210  	in.AccessRole.DeepCopyInto(&out.AccessRole)
   211  	return
   212  }
   213  
   214  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionAws.
   215  func (in *ConnectionAws) DeepCopy() *ConnectionAws {
   216  	if in == nil {
   217  		return nil
   218  	}
   219  	out := new(ConnectionAws)
   220  	in.DeepCopyInto(out)
   221  	return out
   222  }
   223  
   224  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   225  func (in *ConnectionAzure) DeepCopyInto(out *ConnectionAzure) {
   226  	*out = *in
   227  	if in.Application != nil {
   228  		in, out := &in.Application, &out.Application
   229  		*out = new(string)
   230  		**out = **in
   231  	}
   232  	if in.ClientId != nil {
   233  		in, out := &in.ClientId, &out.ClientId
   234  		*out = new(string)
   235  		**out = **in
   236  	}
   237  	if in.FederatedApplicationClientId != nil {
   238  		in, out := &in.FederatedApplicationClientId, &out.FederatedApplicationClientId
   239  		*out = new(string)
   240  		**out = **in
   241  	}
   242  	if in.Identity != nil {
   243  		in, out := &in.Identity, &out.Identity
   244  		*out = new(string)
   245  		**out = **in
   246  	}
   247  	if in.ObjectId != nil {
   248  		in, out := &in.ObjectId, &out.ObjectId
   249  		*out = new(string)
   250  		**out = **in
   251  	}
   252  	if in.RedirectUri != nil {
   253  		in, out := &in.RedirectUri, &out.RedirectUri
   254  		*out = new(string)
   255  		**out = **in
   256  	}
   257  	return
   258  }
   259  
   260  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionAzure.
   261  func (in *ConnectionAzure) DeepCopy() *ConnectionAzure {
   262  	if in == nil {
   263  		return nil
   264  	}
   265  	out := new(ConnectionAzure)
   266  	in.DeepCopyInto(out)
   267  	return out
   268  }
   269  
   270  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   271  func (in *ConnectionCloudResource) DeepCopyInto(out *ConnectionCloudResource) {
   272  	*out = *in
   273  	if in.ServiceAccountId != nil {
   274  		in, out := &in.ServiceAccountId, &out.ServiceAccountId
   275  		*out = new(string)
   276  		**out = **in
   277  	}
   278  	return
   279  }
   280  
   281  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCloudResource.
   282  func (in *ConnectionCloudResource) DeepCopy() *ConnectionCloudResource {
   283  	if in == nil {
   284  		return nil
   285  	}
   286  	out := new(ConnectionCloudResource)
   287  	in.DeepCopyInto(out)
   288  	return out
   289  }
   290  
   291  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   292  func (in *ConnectionCloudSpanner) DeepCopyInto(out *ConnectionCloudSpanner) {
   293  	*out = *in
   294  	if in.UseParallelism != nil {
   295  		in, out := &in.UseParallelism, &out.UseParallelism
   296  		*out = new(bool)
   297  		**out = **in
   298  	}
   299  	if in.UseServerlessAnalytics != nil {
   300  		in, out := &in.UseServerlessAnalytics, &out.UseServerlessAnalytics
   301  		*out = new(bool)
   302  		**out = **in
   303  	}
   304  	return
   305  }
   306  
   307  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCloudSpanner.
   308  func (in *ConnectionCloudSpanner) DeepCopy() *ConnectionCloudSpanner {
   309  	if in == nil {
   310  		return nil
   311  	}
   312  	out := new(ConnectionCloudSpanner)
   313  	in.DeepCopyInto(out)
   314  	return out
   315  }
   316  
   317  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   318  func (in *ConnectionCloudSql) DeepCopyInto(out *ConnectionCloudSql) {
   319  	*out = *in
   320  	in.Credential.DeepCopyInto(&out.Credential)
   321  	if in.ServiceAccountId != nil {
   322  		in, out := &in.ServiceAccountId, &out.ServiceAccountId
   323  		*out = new(string)
   324  		**out = **in
   325  	}
   326  	return
   327  }
   328  
   329  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCloudSql.
   330  func (in *ConnectionCloudSql) DeepCopy() *ConnectionCloudSql {
   331  	if in == nil {
   332  		return nil
   333  	}
   334  	out := new(ConnectionCloudSql)
   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 *ConnectionCredential) DeepCopyInto(out *ConnectionCredential) {
   341  	*out = *in
   342  	in.Password.DeepCopyInto(&out.Password)
   343  	return
   344  }
   345  
   346  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCredential.
   347  func (in *ConnectionCredential) DeepCopy() *ConnectionCredential {
   348  	if in == nil {
   349  		return nil
   350  	}
   351  	out := new(ConnectionCredential)
   352  	in.DeepCopyInto(out)
   353  	return out
   354  }
   355  
   356  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   357  func (in *ConnectionPassword) DeepCopyInto(out *ConnectionPassword) {
   358  	*out = *in
   359  	if in.Value != nil {
   360  		in, out := &in.Value, &out.Value
   361  		*out = new(string)
   362  		**out = **in
   363  	}
   364  	if in.ValueFrom != nil {
   365  		in, out := &in.ValueFrom, &out.ValueFrom
   366  		*out = new(ConnectionValueFrom)
   367  		(*in).DeepCopyInto(*out)
   368  	}
   369  	return
   370  }
   371  
   372  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPassword.
   373  func (in *ConnectionPassword) DeepCopy() *ConnectionPassword {
   374  	if in == nil {
   375  		return nil
   376  	}
   377  	out := new(ConnectionPassword)
   378  	in.DeepCopyInto(out)
   379  	return out
   380  }
   381  
   382  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   383  func (in *ConnectionValueFrom) DeepCopyInto(out *ConnectionValueFrom) {
   384  	*out = *in
   385  	if in.SecretKeyRef != nil {
   386  		in, out := &in.SecretKeyRef, &out.SecretKeyRef
   387  		*out = new(k8sv1alpha1.ResourceRef)
   388  		**out = **in
   389  	}
   390  	return
   391  }
   392  
   393  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionValueFrom.
   394  func (in *ConnectionValueFrom) DeepCopy() *ConnectionValueFrom {
   395  	if in == nil {
   396  		return nil
   397  	}
   398  	out := new(ConnectionValueFrom)
   399  	in.DeepCopyInto(out)
   400  	return out
   401  }
   402  

View as plain text