...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/datafusion/v1beta1

     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 v1beta1
    26  
    27  import (
    28  	v1alpha1 "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 *DataFusionInstance) DeepCopyInto(out *DataFusionInstance) {
    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 DataFusionInstance.
    43  func (in *DataFusionInstance) DeepCopy() *DataFusionInstance {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(DataFusionInstance)
    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 *DataFusionInstance) 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 *DataFusionInstanceList) DeepCopyInto(out *DataFusionInstanceList) {
    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([]DataFusionInstance, 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 DataFusionInstanceList.
    76  func (in *DataFusionInstanceList) DeepCopy() *DataFusionInstanceList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(DataFusionInstanceList)
    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 *DataFusionInstanceList) 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 *DataFusionInstanceSpec) DeepCopyInto(out *DataFusionInstanceSpec) {
    95  	*out = *in
    96  	if in.DataprocServiceAccountRef != nil {
    97  		in, out := &in.DataprocServiceAccountRef, &out.DataprocServiceAccountRef
    98  		*out = new(v1alpha1.ResourceRef)
    99  		**out = **in
   100  	}
   101  	if in.Description != nil {
   102  		in, out := &in.Description, &out.Description
   103  		*out = new(string)
   104  		**out = **in
   105  	}
   106  	if in.DisplayName != nil {
   107  		in, out := &in.DisplayName, &out.DisplayName
   108  		*out = new(string)
   109  		**out = **in
   110  	}
   111  	if in.EnableStackdriverLogging != nil {
   112  		in, out := &in.EnableStackdriverLogging, &out.EnableStackdriverLogging
   113  		*out = new(bool)
   114  		**out = **in
   115  	}
   116  	if in.EnableStackdriverMonitoring != nil {
   117  		in, out := &in.EnableStackdriverMonitoring, &out.EnableStackdriverMonitoring
   118  		*out = new(bool)
   119  		**out = **in
   120  	}
   121  	if in.NetworkConfig != nil {
   122  		in, out := &in.NetworkConfig, &out.NetworkConfig
   123  		*out = new(InstanceNetworkConfig)
   124  		(*in).DeepCopyInto(*out)
   125  	}
   126  	if in.Options != nil {
   127  		in, out := &in.Options, &out.Options
   128  		*out = make(map[string]string, len(*in))
   129  		for key, val := range *in {
   130  			(*out)[key] = val
   131  		}
   132  	}
   133  	if in.PrivateInstance != nil {
   134  		in, out := &in.PrivateInstance, &out.PrivateInstance
   135  		*out = new(bool)
   136  		**out = **in
   137  	}
   138  	if in.ResourceID != nil {
   139  		in, out := &in.ResourceID, &out.ResourceID
   140  		*out = new(string)
   141  		**out = **in
   142  	}
   143  	if in.Version != nil {
   144  		in, out := &in.Version, &out.Version
   145  		*out = new(string)
   146  		**out = **in
   147  	}
   148  	if in.Zone != nil {
   149  		in, out := &in.Zone, &out.Zone
   150  		*out = new(string)
   151  		**out = **in
   152  	}
   153  	return
   154  }
   155  
   156  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataFusionInstanceSpec.
   157  func (in *DataFusionInstanceSpec) DeepCopy() *DataFusionInstanceSpec {
   158  	if in == nil {
   159  		return nil
   160  	}
   161  	out := new(DataFusionInstanceSpec)
   162  	in.DeepCopyInto(out)
   163  	return out
   164  }
   165  
   166  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   167  func (in *DataFusionInstanceStatus) DeepCopyInto(out *DataFusionInstanceStatus) {
   168  	*out = *in
   169  	if in.Conditions != nil {
   170  		in, out := &in.Conditions, &out.Conditions
   171  		*out = make([]v1alpha1.Condition, len(*in))
   172  		copy(*out, *in)
   173  	}
   174  	if in.ApiEndpoint != nil {
   175  		in, out := &in.ApiEndpoint, &out.ApiEndpoint
   176  		*out = new(string)
   177  		**out = **in
   178  	}
   179  	if in.AvailableVersion != nil {
   180  		in, out := &in.AvailableVersion, &out.AvailableVersion
   181  		*out = make([]InstanceAvailableVersionStatus, len(*in))
   182  		for i := range *in {
   183  			(*in)[i].DeepCopyInto(&(*out)[i])
   184  		}
   185  	}
   186  	if in.CreateTime != nil {
   187  		in, out := &in.CreateTime, &out.CreateTime
   188  		*out = new(string)
   189  		**out = **in
   190  	}
   191  	if in.GcsBucket != nil {
   192  		in, out := &in.GcsBucket, &out.GcsBucket
   193  		*out = new(string)
   194  		**out = **in
   195  	}
   196  	if in.ObservedGeneration != nil {
   197  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   198  		*out = new(int)
   199  		**out = **in
   200  	}
   201  	if in.P4ServiceAccount != nil {
   202  		in, out := &in.P4ServiceAccount, &out.P4ServiceAccount
   203  		*out = new(string)
   204  		**out = **in
   205  	}
   206  	if in.ServiceEndpoint != nil {
   207  		in, out := &in.ServiceEndpoint, &out.ServiceEndpoint
   208  		*out = new(string)
   209  		**out = **in
   210  	}
   211  	if in.State != nil {
   212  		in, out := &in.State, &out.State
   213  		*out = new(string)
   214  		**out = **in
   215  	}
   216  	if in.StateMessage != nil {
   217  		in, out := &in.StateMessage, &out.StateMessage
   218  		*out = new(string)
   219  		**out = **in
   220  	}
   221  	if in.TenantProjectId != nil {
   222  		in, out := &in.TenantProjectId, &out.TenantProjectId
   223  		*out = new(string)
   224  		**out = **in
   225  	}
   226  	if in.UpdateTime != nil {
   227  		in, out := &in.UpdateTime, &out.UpdateTime
   228  		*out = new(string)
   229  		**out = **in
   230  	}
   231  	return
   232  }
   233  
   234  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataFusionInstanceStatus.
   235  func (in *DataFusionInstanceStatus) DeepCopy() *DataFusionInstanceStatus {
   236  	if in == nil {
   237  		return nil
   238  	}
   239  	out := new(DataFusionInstanceStatus)
   240  	in.DeepCopyInto(out)
   241  	return out
   242  }
   243  
   244  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   245  func (in *InstanceAvailableVersionStatus) DeepCopyInto(out *InstanceAvailableVersionStatus) {
   246  	*out = *in
   247  	if in.AvailableFeatures != nil {
   248  		in, out := &in.AvailableFeatures, &out.AvailableFeatures
   249  		*out = make([]string, len(*in))
   250  		copy(*out, *in)
   251  	}
   252  	if in.DefaultVersion != nil {
   253  		in, out := &in.DefaultVersion, &out.DefaultVersion
   254  		*out = new(bool)
   255  		**out = **in
   256  	}
   257  	if in.VersionNumber != nil {
   258  		in, out := &in.VersionNumber, &out.VersionNumber
   259  		*out = new(string)
   260  		**out = **in
   261  	}
   262  	return
   263  }
   264  
   265  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAvailableVersionStatus.
   266  func (in *InstanceAvailableVersionStatus) DeepCopy() *InstanceAvailableVersionStatus {
   267  	if in == nil {
   268  		return nil
   269  	}
   270  	out := new(InstanceAvailableVersionStatus)
   271  	in.DeepCopyInto(out)
   272  	return out
   273  }
   274  
   275  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   276  func (in *InstanceNetworkConfig) DeepCopyInto(out *InstanceNetworkConfig) {
   277  	*out = *in
   278  	if in.IpAllocation != nil {
   279  		in, out := &in.IpAllocation, &out.IpAllocation
   280  		*out = new(string)
   281  		**out = **in
   282  	}
   283  	if in.NetworkRef != nil {
   284  		in, out := &in.NetworkRef, &out.NetworkRef
   285  		*out = new(v1alpha1.ResourceRef)
   286  		**out = **in
   287  	}
   288  	return
   289  }
   290  
   291  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkConfig.
   292  func (in *InstanceNetworkConfig) DeepCopy() *InstanceNetworkConfig {
   293  	if in == nil {
   294  		return nil
   295  	}
   296  	out := new(InstanceNetworkConfig)
   297  	in.DeepCopyInto(out)
   298  	return out
   299  }
   300  

View as plain text