...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/spanner/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 *DatabaseEncryptionConfig) DeepCopyInto(out *DatabaseEncryptionConfig) {
    34  	*out = *in
    35  	out.KmsKeyRef = in.KmsKeyRef
    36  	return
    37  }
    38  
    39  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseEncryptionConfig.
    40  func (in *DatabaseEncryptionConfig) DeepCopy() *DatabaseEncryptionConfig {
    41  	if in == nil {
    42  		return nil
    43  	}
    44  	out := new(DatabaseEncryptionConfig)
    45  	in.DeepCopyInto(out)
    46  	return out
    47  }
    48  
    49  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    50  func (in *SpannerDatabase) DeepCopyInto(out *SpannerDatabase) {
    51  	*out = *in
    52  	out.TypeMeta = in.TypeMeta
    53  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    54  	in.Spec.DeepCopyInto(&out.Spec)
    55  	in.Status.DeepCopyInto(&out.Status)
    56  	return
    57  }
    58  
    59  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerDatabase.
    60  func (in *SpannerDatabase) DeepCopy() *SpannerDatabase {
    61  	if in == nil {
    62  		return nil
    63  	}
    64  	out := new(SpannerDatabase)
    65  	in.DeepCopyInto(out)
    66  	return out
    67  }
    68  
    69  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    70  func (in *SpannerDatabase) DeepCopyObject() runtime.Object {
    71  	if c := in.DeepCopy(); c != nil {
    72  		return c
    73  	}
    74  	return nil
    75  }
    76  
    77  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    78  func (in *SpannerDatabaseList) DeepCopyInto(out *SpannerDatabaseList) {
    79  	*out = *in
    80  	out.TypeMeta = in.TypeMeta
    81  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    82  	if in.Items != nil {
    83  		in, out := &in.Items, &out.Items
    84  		*out = make([]SpannerDatabase, len(*in))
    85  		for i := range *in {
    86  			(*in)[i].DeepCopyInto(&(*out)[i])
    87  		}
    88  	}
    89  	return
    90  }
    91  
    92  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerDatabaseList.
    93  func (in *SpannerDatabaseList) DeepCopy() *SpannerDatabaseList {
    94  	if in == nil {
    95  		return nil
    96  	}
    97  	out := new(SpannerDatabaseList)
    98  	in.DeepCopyInto(out)
    99  	return out
   100  }
   101  
   102  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   103  func (in *SpannerDatabaseList) DeepCopyObject() runtime.Object {
   104  	if c := in.DeepCopy(); c != nil {
   105  		return c
   106  	}
   107  	return nil
   108  }
   109  
   110  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   111  func (in *SpannerDatabaseSpec) DeepCopyInto(out *SpannerDatabaseSpec) {
   112  	*out = *in
   113  	if in.DatabaseDialect != nil {
   114  		in, out := &in.DatabaseDialect, &out.DatabaseDialect
   115  		*out = new(string)
   116  		**out = **in
   117  	}
   118  	if in.Ddl != nil {
   119  		in, out := &in.Ddl, &out.Ddl
   120  		*out = make([]string, len(*in))
   121  		copy(*out, *in)
   122  	}
   123  	if in.EncryptionConfig != nil {
   124  		in, out := &in.EncryptionConfig, &out.EncryptionConfig
   125  		*out = new(DatabaseEncryptionConfig)
   126  		**out = **in
   127  	}
   128  	out.InstanceRef = in.InstanceRef
   129  	if in.ResourceID != nil {
   130  		in, out := &in.ResourceID, &out.ResourceID
   131  		*out = new(string)
   132  		**out = **in
   133  	}
   134  	if in.VersionRetentionPeriod != nil {
   135  		in, out := &in.VersionRetentionPeriod, &out.VersionRetentionPeriod
   136  		*out = new(string)
   137  		**out = **in
   138  	}
   139  	return
   140  }
   141  
   142  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerDatabaseSpec.
   143  func (in *SpannerDatabaseSpec) DeepCopy() *SpannerDatabaseSpec {
   144  	if in == nil {
   145  		return nil
   146  	}
   147  	out := new(SpannerDatabaseSpec)
   148  	in.DeepCopyInto(out)
   149  	return out
   150  }
   151  
   152  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   153  func (in *SpannerDatabaseStatus) DeepCopyInto(out *SpannerDatabaseStatus) {
   154  	*out = *in
   155  	if in.Conditions != nil {
   156  		in, out := &in.Conditions, &out.Conditions
   157  		*out = make([]v1alpha1.Condition, len(*in))
   158  		copy(*out, *in)
   159  	}
   160  	if in.ObservedGeneration != nil {
   161  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   162  		*out = new(int)
   163  		**out = **in
   164  	}
   165  	if in.State != nil {
   166  		in, out := &in.State, &out.State
   167  		*out = new(string)
   168  		**out = **in
   169  	}
   170  	return
   171  }
   172  
   173  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerDatabaseStatus.
   174  func (in *SpannerDatabaseStatus) DeepCopy() *SpannerDatabaseStatus {
   175  	if in == nil {
   176  		return nil
   177  	}
   178  	out := new(SpannerDatabaseStatus)
   179  	in.DeepCopyInto(out)
   180  	return out
   181  }
   182  
   183  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   184  func (in *SpannerInstance) DeepCopyInto(out *SpannerInstance) {
   185  	*out = *in
   186  	out.TypeMeta = in.TypeMeta
   187  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   188  	in.Spec.DeepCopyInto(&out.Spec)
   189  	in.Status.DeepCopyInto(&out.Status)
   190  	return
   191  }
   192  
   193  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerInstance.
   194  func (in *SpannerInstance) DeepCopy() *SpannerInstance {
   195  	if in == nil {
   196  		return nil
   197  	}
   198  	out := new(SpannerInstance)
   199  	in.DeepCopyInto(out)
   200  	return out
   201  }
   202  
   203  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   204  func (in *SpannerInstance) DeepCopyObject() runtime.Object {
   205  	if c := in.DeepCopy(); c != nil {
   206  		return c
   207  	}
   208  	return nil
   209  }
   210  
   211  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   212  func (in *SpannerInstanceList) DeepCopyInto(out *SpannerInstanceList) {
   213  	*out = *in
   214  	out.TypeMeta = in.TypeMeta
   215  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   216  	if in.Items != nil {
   217  		in, out := &in.Items, &out.Items
   218  		*out = make([]SpannerInstance, len(*in))
   219  		for i := range *in {
   220  			(*in)[i].DeepCopyInto(&(*out)[i])
   221  		}
   222  	}
   223  	return
   224  }
   225  
   226  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerInstanceList.
   227  func (in *SpannerInstanceList) DeepCopy() *SpannerInstanceList {
   228  	if in == nil {
   229  		return nil
   230  	}
   231  	out := new(SpannerInstanceList)
   232  	in.DeepCopyInto(out)
   233  	return out
   234  }
   235  
   236  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   237  func (in *SpannerInstanceList) DeepCopyObject() runtime.Object {
   238  	if c := in.DeepCopy(); c != nil {
   239  		return c
   240  	}
   241  	return nil
   242  }
   243  
   244  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   245  func (in *SpannerInstanceSpec) DeepCopyInto(out *SpannerInstanceSpec) {
   246  	*out = *in
   247  	if in.NumNodes != nil {
   248  		in, out := &in.NumNodes, &out.NumNodes
   249  		*out = new(int)
   250  		**out = **in
   251  	}
   252  	if in.ProcessingUnits != nil {
   253  		in, out := &in.ProcessingUnits, &out.ProcessingUnits
   254  		*out = new(int)
   255  		**out = **in
   256  	}
   257  	if in.ResourceID != nil {
   258  		in, out := &in.ResourceID, &out.ResourceID
   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 SpannerInstanceSpec.
   266  func (in *SpannerInstanceSpec) DeepCopy() *SpannerInstanceSpec {
   267  	if in == nil {
   268  		return nil
   269  	}
   270  	out := new(SpannerInstanceSpec)
   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 *SpannerInstanceStatus) DeepCopyInto(out *SpannerInstanceStatus) {
   277  	*out = *in
   278  	if in.Conditions != nil {
   279  		in, out := &in.Conditions, &out.Conditions
   280  		*out = make([]v1alpha1.Condition, len(*in))
   281  		copy(*out, *in)
   282  	}
   283  	if in.ObservedGeneration != nil {
   284  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   285  		*out = new(int)
   286  		**out = **in
   287  	}
   288  	if in.State != nil {
   289  		in, out := &in.State, &out.State
   290  		*out = new(string)
   291  		**out = **in
   292  	}
   293  	return
   294  }
   295  
   296  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerInstanceStatus.
   297  func (in *SpannerInstanceStatus) DeepCopy() *SpannerInstanceStatus {
   298  	if in == nil {
   299  		return nil
   300  	}
   301  	out := new(SpannerInstanceStatus)
   302  	in.DeepCopyInto(out)
   303  	return out
   304  }
   305  

View as plain text