...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/bigquerydatatransfer/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 *BigQueryDataTransferConfig) DeepCopyInto(out *BigQueryDataTransferConfig) {
    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 BigQueryDataTransferConfig.
    43  func (in *BigQueryDataTransferConfig) DeepCopy() *BigQueryDataTransferConfig {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(BigQueryDataTransferConfig)
    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 *BigQueryDataTransferConfig) 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 *BigQueryDataTransferConfigList) DeepCopyInto(out *BigQueryDataTransferConfigList) {
    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([]BigQueryDataTransferConfig, 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 BigQueryDataTransferConfigList.
    76  func (in *BigQueryDataTransferConfigList) DeepCopy() *BigQueryDataTransferConfigList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(BigQueryDataTransferConfigList)
    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 *BigQueryDataTransferConfigList) 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 *BigQueryDataTransferConfigSpec) DeepCopyInto(out *BigQueryDataTransferConfigSpec) {
    95  	*out = *in
    96  	if in.DataRefreshWindowDays != nil {
    97  		in, out := &in.DataRefreshWindowDays, &out.DataRefreshWindowDays
    98  		*out = new(int)
    99  		**out = **in
   100  	}
   101  	if in.DestinationDatasetId != nil {
   102  		in, out := &in.DestinationDatasetId, &out.DestinationDatasetId
   103  		*out = new(string)
   104  		**out = **in
   105  	}
   106  	if in.Disabled != nil {
   107  		in, out := &in.Disabled, &out.Disabled
   108  		*out = new(bool)
   109  		**out = **in
   110  	}
   111  	if in.EmailPreferences != nil {
   112  		in, out := &in.EmailPreferences, &out.EmailPreferences
   113  		*out = new(ConfigEmailPreferences)
   114  		**out = **in
   115  	}
   116  	if in.Location != nil {
   117  		in, out := &in.Location, &out.Location
   118  		*out = new(string)
   119  		**out = **in
   120  	}
   121  	if in.NotificationPubsubTopic != nil {
   122  		in, out := &in.NotificationPubsubTopic, &out.NotificationPubsubTopic
   123  		*out = new(string)
   124  		**out = **in
   125  	}
   126  	if in.Params != nil {
   127  		in, out := &in.Params, &out.Params
   128  		*out = make(map[string]string, len(*in))
   129  		for key, val := range *in {
   130  			(*out)[key] = val
   131  		}
   132  	}
   133  	out.ProjectRef = in.ProjectRef
   134  	if in.ResourceID != nil {
   135  		in, out := &in.ResourceID, &out.ResourceID
   136  		*out = new(string)
   137  		**out = **in
   138  	}
   139  	if in.Schedule != nil {
   140  		in, out := &in.Schedule, &out.Schedule
   141  		*out = new(string)
   142  		**out = **in
   143  	}
   144  	if in.ScheduleOptions != nil {
   145  		in, out := &in.ScheduleOptions, &out.ScheduleOptions
   146  		*out = new(ConfigScheduleOptions)
   147  		(*in).DeepCopyInto(*out)
   148  	}
   149  	if in.SensitiveParams != nil {
   150  		in, out := &in.SensitiveParams, &out.SensitiveParams
   151  		*out = new(ConfigSensitiveParams)
   152  		(*in).DeepCopyInto(*out)
   153  	}
   154  	if in.ServiceAccountName != nil {
   155  		in, out := &in.ServiceAccountName, &out.ServiceAccountName
   156  		*out = new(string)
   157  		**out = **in
   158  	}
   159  	return
   160  }
   161  
   162  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryDataTransferConfigSpec.
   163  func (in *BigQueryDataTransferConfigSpec) DeepCopy() *BigQueryDataTransferConfigSpec {
   164  	if in == nil {
   165  		return nil
   166  	}
   167  	out := new(BigQueryDataTransferConfigSpec)
   168  	in.DeepCopyInto(out)
   169  	return out
   170  }
   171  
   172  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   173  func (in *BigQueryDataTransferConfigStatus) DeepCopyInto(out *BigQueryDataTransferConfigStatus) {
   174  	*out = *in
   175  	if in.Conditions != nil {
   176  		in, out := &in.Conditions, &out.Conditions
   177  		*out = make([]k8sv1alpha1.Condition, len(*in))
   178  		copy(*out, *in)
   179  	}
   180  	if in.Name != nil {
   181  		in, out := &in.Name, &out.Name
   182  		*out = new(string)
   183  		**out = **in
   184  	}
   185  	if in.ObservedGeneration != nil {
   186  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   187  		*out = new(int)
   188  		**out = **in
   189  	}
   190  	return
   191  }
   192  
   193  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryDataTransferConfigStatus.
   194  func (in *BigQueryDataTransferConfigStatus) DeepCopy() *BigQueryDataTransferConfigStatus {
   195  	if in == nil {
   196  		return nil
   197  	}
   198  	out := new(BigQueryDataTransferConfigStatus)
   199  	in.DeepCopyInto(out)
   200  	return out
   201  }
   202  
   203  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   204  func (in *ConfigEmailPreferences) DeepCopyInto(out *ConfigEmailPreferences) {
   205  	*out = *in
   206  	return
   207  }
   208  
   209  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigEmailPreferences.
   210  func (in *ConfigEmailPreferences) DeepCopy() *ConfigEmailPreferences {
   211  	if in == nil {
   212  		return nil
   213  	}
   214  	out := new(ConfigEmailPreferences)
   215  	in.DeepCopyInto(out)
   216  	return out
   217  }
   218  
   219  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   220  func (in *ConfigScheduleOptions) DeepCopyInto(out *ConfigScheduleOptions) {
   221  	*out = *in
   222  	if in.DisableAutoScheduling != nil {
   223  		in, out := &in.DisableAutoScheduling, &out.DisableAutoScheduling
   224  		*out = new(bool)
   225  		**out = **in
   226  	}
   227  	if in.EndTime != nil {
   228  		in, out := &in.EndTime, &out.EndTime
   229  		*out = new(string)
   230  		**out = **in
   231  	}
   232  	if in.StartTime != nil {
   233  		in, out := &in.StartTime, &out.StartTime
   234  		*out = new(string)
   235  		**out = **in
   236  	}
   237  	return
   238  }
   239  
   240  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigScheduleOptions.
   241  func (in *ConfigScheduleOptions) DeepCopy() *ConfigScheduleOptions {
   242  	if in == nil {
   243  		return nil
   244  	}
   245  	out := new(ConfigScheduleOptions)
   246  	in.DeepCopyInto(out)
   247  	return out
   248  }
   249  
   250  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   251  func (in *ConfigSecretAccessKey) DeepCopyInto(out *ConfigSecretAccessKey) {
   252  	*out = *in
   253  	if in.Value != nil {
   254  		in, out := &in.Value, &out.Value
   255  		*out = new(string)
   256  		**out = **in
   257  	}
   258  	if in.ValueFrom != nil {
   259  		in, out := &in.ValueFrom, &out.ValueFrom
   260  		*out = new(ConfigValueFrom)
   261  		(*in).DeepCopyInto(*out)
   262  	}
   263  	return
   264  }
   265  
   266  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSecretAccessKey.
   267  func (in *ConfigSecretAccessKey) DeepCopy() *ConfigSecretAccessKey {
   268  	if in == nil {
   269  		return nil
   270  	}
   271  	out := new(ConfigSecretAccessKey)
   272  	in.DeepCopyInto(out)
   273  	return out
   274  }
   275  
   276  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   277  func (in *ConfigSensitiveParams) DeepCopyInto(out *ConfigSensitiveParams) {
   278  	*out = *in
   279  	in.SecretAccessKey.DeepCopyInto(&out.SecretAccessKey)
   280  	return
   281  }
   282  
   283  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSensitiveParams.
   284  func (in *ConfigSensitiveParams) DeepCopy() *ConfigSensitiveParams {
   285  	if in == nil {
   286  		return nil
   287  	}
   288  	out := new(ConfigSensitiveParams)
   289  	in.DeepCopyInto(out)
   290  	return out
   291  }
   292  
   293  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   294  func (in *ConfigValueFrom) DeepCopyInto(out *ConfigValueFrom) {
   295  	*out = *in
   296  	if in.SecretKeyRef != nil {
   297  		in, out := &in.SecretKeyRef, &out.SecretKeyRef
   298  		*out = new(k8sv1alpha1.ResourceRef)
   299  		**out = **in
   300  	}
   301  	return
   302  }
   303  
   304  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigValueFrom.
   305  func (in *ConfigValueFrom) DeepCopy() *ConfigValueFrom {
   306  	if in == nil {
   307  		return nil
   308  	}
   309  	out := new(ConfigValueFrom)
   310  	in.DeepCopyInto(out)
   311  	return out
   312  }
   313  

View as plain text