...

Source file src/k8s.io/kubernetes/pkg/apis/storage/zz_generated.deepcopy.go

Documentation: k8s.io/kubernetes/pkg/apis/storage

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes 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  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package storage
    23  
    24  import (
    25  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  	core "k8s.io/kubernetes/pkg/apis/core"
    28  )
    29  
    30  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    31  func (in *CSIDriver) DeepCopyInto(out *CSIDriver) {
    32  	*out = *in
    33  	out.TypeMeta = in.TypeMeta
    34  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    35  	in.Spec.DeepCopyInto(&out.Spec)
    36  	return
    37  }
    38  
    39  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriver.
    40  func (in *CSIDriver) DeepCopy() *CSIDriver {
    41  	if in == nil {
    42  		return nil
    43  	}
    44  	out := new(CSIDriver)
    45  	in.DeepCopyInto(out)
    46  	return out
    47  }
    48  
    49  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    50  func (in *CSIDriver) DeepCopyObject() runtime.Object {
    51  	if c := in.DeepCopy(); c != nil {
    52  		return c
    53  	}
    54  	return nil
    55  }
    56  
    57  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    58  func (in *CSIDriverList) DeepCopyInto(out *CSIDriverList) {
    59  	*out = *in
    60  	out.TypeMeta = in.TypeMeta
    61  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    62  	if in.Items != nil {
    63  		in, out := &in.Items, &out.Items
    64  		*out = make([]CSIDriver, len(*in))
    65  		for i := range *in {
    66  			(*in)[i].DeepCopyInto(&(*out)[i])
    67  		}
    68  	}
    69  	return
    70  }
    71  
    72  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverList.
    73  func (in *CSIDriverList) DeepCopy() *CSIDriverList {
    74  	if in == nil {
    75  		return nil
    76  	}
    77  	out := new(CSIDriverList)
    78  	in.DeepCopyInto(out)
    79  	return out
    80  }
    81  
    82  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    83  func (in *CSIDriverList) DeepCopyObject() runtime.Object {
    84  	if c := in.DeepCopy(); c != nil {
    85  		return c
    86  	}
    87  	return nil
    88  }
    89  
    90  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    91  func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec) {
    92  	*out = *in
    93  	if in.AttachRequired != nil {
    94  		in, out := &in.AttachRequired, &out.AttachRequired
    95  		*out = new(bool)
    96  		**out = **in
    97  	}
    98  	if in.FSGroupPolicy != nil {
    99  		in, out := &in.FSGroupPolicy, &out.FSGroupPolicy
   100  		*out = new(FSGroupPolicy)
   101  		**out = **in
   102  	}
   103  	if in.PodInfoOnMount != nil {
   104  		in, out := &in.PodInfoOnMount, &out.PodInfoOnMount
   105  		*out = new(bool)
   106  		**out = **in
   107  	}
   108  	if in.VolumeLifecycleModes != nil {
   109  		in, out := &in.VolumeLifecycleModes, &out.VolumeLifecycleModes
   110  		*out = make([]VolumeLifecycleMode, len(*in))
   111  		copy(*out, *in)
   112  	}
   113  	if in.StorageCapacity != nil {
   114  		in, out := &in.StorageCapacity, &out.StorageCapacity
   115  		*out = new(bool)
   116  		**out = **in
   117  	}
   118  	if in.TokenRequests != nil {
   119  		in, out := &in.TokenRequests, &out.TokenRequests
   120  		*out = make([]TokenRequest, len(*in))
   121  		for i := range *in {
   122  			(*in)[i].DeepCopyInto(&(*out)[i])
   123  		}
   124  	}
   125  	if in.RequiresRepublish != nil {
   126  		in, out := &in.RequiresRepublish, &out.RequiresRepublish
   127  		*out = new(bool)
   128  		**out = **in
   129  	}
   130  	if in.SELinuxMount != nil {
   131  		in, out := &in.SELinuxMount, &out.SELinuxMount
   132  		*out = new(bool)
   133  		**out = **in
   134  	}
   135  	return
   136  }
   137  
   138  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
   139  func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec {
   140  	if in == nil {
   141  		return nil
   142  	}
   143  	out := new(CSIDriverSpec)
   144  	in.DeepCopyInto(out)
   145  	return out
   146  }
   147  
   148  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   149  func (in *CSINode) DeepCopyInto(out *CSINode) {
   150  	*out = *in
   151  	out.TypeMeta = in.TypeMeta
   152  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   153  	in.Spec.DeepCopyInto(&out.Spec)
   154  	return
   155  }
   156  
   157  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
   158  func (in *CSINode) DeepCopy() *CSINode {
   159  	if in == nil {
   160  		return nil
   161  	}
   162  	out := new(CSINode)
   163  	in.DeepCopyInto(out)
   164  	return out
   165  }
   166  
   167  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   168  func (in *CSINode) DeepCopyObject() runtime.Object {
   169  	if c := in.DeepCopy(); c != nil {
   170  		return c
   171  	}
   172  	return nil
   173  }
   174  
   175  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   176  func (in *CSINodeDriver) DeepCopyInto(out *CSINodeDriver) {
   177  	*out = *in
   178  	if in.TopologyKeys != nil {
   179  		in, out := &in.TopologyKeys, &out.TopologyKeys
   180  		*out = make([]string, len(*in))
   181  		copy(*out, *in)
   182  	}
   183  	if in.Allocatable != nil {
   184  		in, out := &in.Allocatable, &out.Allocatable
   185  		*out = new(VolumeNodeResources)
   186  		(*in).DeepCopyInto(*out)
   187  	}
   188  	return
   189  }
   190  
   191  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeDriver.
   192  func (in *CSINodeDriver) DeepCopy() *CSINodeDriver {
   193  	if in == nil {
   194  		return nil
   195  	}
   196  	out := new(CSINodeDriver)
   197  	in.DeepCopyInto(out)
   198  	return out
   199  }
   200  
   201  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   202  func (in *CSINodeList) DeepCopyInto(out *CSINodeList) {
   203  	*out = *in
   204  	out.TypeMeta = in.TypeMeta
   205  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   206  	if in.Items != nil {
   207  		in, out := &in.Items, &out.Items
   208  		*out = make([]CSINode, len(*in))
   209  		for i := range *in {
   210  			(*in)[i].DeepCopyInto(&(*out)[i])
   211  		}
   212  	}
   213  	return
   214  }
   215  
   216  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeList.
   217  func (in *CSINodeList) DeepCopy() *CSINodeList {
   218  	if in == nil {
   219  		return nil
   220  	}
   221  	out := new(CSINodeList)
   222  	in.DeepCopyInto(out)
   223  	return out
   224  }
   225  
   226  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   227  func (in *CSINodeList) DeepCopyObject() runtime.Object {
   228  	if c := in.DeepCopy(); c != nil {
   229  		return c
   230  	}
   231  	return nil
   232  }
   233  
   234  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   235  func (in *CSINodeSpec) DeepCopyInto(out *CSINodeSpec) {
   236  	*out = *in
   237  	if in.Drivers != nil {
   238  		in, out := &in.Drivers, &out.Drivers
   239  		*out = make([]CSINodeDriver, len(*in))
   240  		for i := range *in {
   241  			(*in)[i].DeepCopyInto(&(*out)[i])
   242  		}
   243  	}
   244  	return
   245  }
   246  
   247  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeSpec.
   248  func (in *CSINodeSpec) DeepCopy() *CSINodeSpec {
   249  	if in == nil {
   250  		return nil
   251  	}
   252  	out := new(CSINodeSpec)
   253  	in.DeepCopyInto(out)
   254  	return out
   255  }
   256  
   257  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   258  func (in *CSIStorageCapacity) DeepCopyInto(out *CSIStorageCapacity) {
   259  	*out = *in
   260  	out.TypeMeta = in.TypeMeta
   261  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   262  	if in.NodeTopology != nil {
   263  		in, out := &in.NodeTopology, &out.NodeTopology
   264  		*out = new(v1.LabelSelector)
   265  		(*in).DeepCopyInto(*out)
   266  	}
   267  	if in.Capacity != nil {
   268  		in, out := &in.Capacity, &out.Capacity
   269  		x := (*in).DeepCopy()
   270  		*out = &x
   271  	}
   272  	if in.MaximumVolumeSize != nil {
   273  		in, out := &in.MaximumVolumeSize, &out.MaximumVolumeSize
   274  		x := (*in).DeepCopy()
   275  		*out = &x
   276  	}
   277  	return
   278  }
   279  
   280  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacity.
   281  func (in *CSIStorageCapacity) DeepCopy() *CSIStorageCapacity {
   282  	if in == nil {
   283  		return nil
   284  	}
   285  	out := new(CSIStorageCapacity)
   286  	in.DeepCopyInto(out)
   287  	return out
   288  }
   289  
   290  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   291  func (in *CSIStorageCapacity) DeepCopyObject() runtime.Object {
   292  	if c := in.DeepCopy(); c != nil {
   293  		return c
   294  	}
   295  	return nil
   296  }
   297  
   298  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   299  func (in *CSIStorageCapacityList) DeepCopyInto(out *CSIStorageCapacityList) {
   300  	*out = *in
   301  	out.TypeMeta = in.TypeMeta
   302  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   303  	if in.Items != nil {
   304  		in, out := &in.Items, &out.Items
   305  		*out = make([]CSIStorageCapacity, len(*in))
   306  		for i := range *in {
   307  			(*in)[i].DeepCopyInto(&(*out)[i])
   308  		}
   309  	}
   310  	return
   311  }
   312  
   313  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacityList.
   314  func (in *CSIStorageCapacityList) DeepCopy() *CSIStorageCapacityList {
   315  	if in == nil {
   316  		return nil
   317  	}
   318  	out := new(CSIStorageCapacityList)
   319  	in.DeepCopyInto(out)
   320  	return out
   321  }
   322  
   323  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   324  func (in *CSIStorageCapacityList) DeepCopyObject() runtime.Object {
   325  	if c := in.DeepCopy(); c != nil {
   326  		return c
   327  	}
   328  	return nil
   329  }
   330  
   331  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   332  func (in *StorageClass) DeepCopyInto(out *StorageClass) {
   333  	*out = *in
   334  	out.TypeMeta = in.TypeMeta
   335  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   336  	if in.Parameters != nil {
   337  		in, out := &in.Parameters, &out.Parameters
   338  		*out = make(map[string]string, len(*in))
   339  		for key, val := range *in {
   340  			(*out)[key] = val
   341  		}
   342  	}
   343  	if in.ReclaimPolicy != nil {
   344  		in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
   345  		*out = new(core.PersistentVolumeReclaimPolicy)
   346  		**out = **in
   347  	}
   348  	if in.MountOptions != nil {
   349  		in, out := &in.MountOptions, &out.MountOptions
   350  		*out = make([]string, len(*in))
   351  		copy(*out, *in)
   352  	}
   353  	if in.AllowVolumeExpansion != nil {
   354  		in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
   355  		*out = new(bool)
   356  		**out = **in
   357  	}
   358  	if in.VolumeBindingMode != nil {
   359  		in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
   360  		*out = new(VolumeBindingMode)
   361  		**out = **in
   362  	}
   363  	if in.AllowedTopologies != nil {
   364  		in, out := &in.AllowedTopologies, &out.AllowedTopologies
   365  		*out = make([]core.TopologySelectorTerm, len(*in))
   366  		for i := range *in {
   367  			(*in)[i].DeepCopyInto(&(*out)[i])
   368  		}
   369  	}
   370  	return
   371  }
   372  
   373  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
   374  func (in *StorageClass) DeepCopy() *StorageClass {
   375  	if in == nil {
   376  		return nil
   377  	}
   378  	out := new(StorageClass)
   379  	in.DeepCopyInto(out)
   380  	return out
   381  }
   382  
   383  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   384  func (in *StorageClass) DeepCopyObject() runtime.Object {
   385  	if c := in.DeepCopy(); c != nil {
   386  		return c
   387  	}
   388  	return nil
   389  }
   390  
   391  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   392  func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
   393  	*out = *in
   394  	out.TypeMeta = in.TypeMeta
   395  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   396  	if in.Items != nil {
   397  		in, out := &in.Items, &out.Items
   398  		*out = make([]StorageClass, len(*in))
   399  		for i := range *in {
   400  			(*in)[i].DeepCopyInto(&(*out)[i])
   401  		}
   402  	}
   403  	return
   404  }
   405  
   406  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
   407  func (in *StorageClassList) DeepCopy() *StorageClassList {
   408  	if in == nil {
   409  		return nil
   410  	}
   411  	out := new(StorageClassList)
   412  	in.DeepCopyInto(out)
   413  	return out
   414  }
   415  
   416  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   417  func (in *StorageClassList) DeepCopyObject() runtime.Object {
   418  	if c := in.DeepCopy(); c != nil {
   419  		return c
   420  	}
   421  	return nil
   422  }
   423  
   424  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   425  func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
   426  	*out = *in
   427  	if in.ExpirationSeconds != nil {
   428  		in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
   429  		*out = new(int64)
   430  		**out = **in
   431  	}
   432  	return
   433  }
   434  
   435  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
   436  func (in *TokenRequest) DeepCopy() *TokenRequest {
   437  	if in == nil {
   438  		return nil
   439  	}
   440  	out := new(TokenRequest)
   441  	in.DeepCopyInto(out)
   442  	return out
   443  }
   444  
   445  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   446  func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
   447  	*out = *in
   448  	out.TypeMeta = in.TypeMeta
   449  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   450  	in.Spec.DeepCopyInto(&out.Spec)
   451  	in.Status.DeepCopyInto(&out.Status)
   452  	return
   453  }
   454  
   455  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
   456  func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
   457  	if in == nil {
   458  		return nil
   459  	}
   460  	out := new(VolumeAttachment)
   461  	in.DeepCopyInto(out)
   462  	return out
   463  }
   464  
   465  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   466  func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
   467  	if c := in.DeepCopy(); c != nil {
   468  		return c
   469  	}
   470  	return nil
   471  }
   472  
   473  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   474  func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
   475  	*out = *in
   476  	out.TypeMeta = in.TypeMeta
   477  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   478  	if in.Items != nil {
   479  		in, out := &in.Items, &out.Items
   480  		*out = make([]VolumeAttachment, len(*in))
   481  		for i := range *in {
   482  			(*in)[i].DeepCopyInto(&(*out)[i])
   483  		}
   484  	}
   485  	return
   486  }
   487  
   488  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
   489  func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
   490  	if in == nil {
   491  		return nil
   492  	}
   493  	out := new(VolumeAttachmentList)
   494  	in.DeepCopyInto(out)
   495  	return out
   496  }
   497  
   498  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   499  func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
   500  	if c := in.DeepCopy(); c != nil {
   501  		return c
   502  	}
   503  	return nil
   504  }
   505  
   506  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   507  func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
   508  	*out = *in
   509  	if in.PersistentVolumeName != nil {
   510  		in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
   511  		*out = new(string)
   512  		**out = **in
   513  	}
   514  	if in.InlineVolumeSpec != nil {
   515  		in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
   516  		*out = new(core.PersistentVolumeSpec)
   517  		(*in).DeepCopyInto(*out)
   518  	}
   519  	return
   520  }
   521  
   522  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
   523  func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
   524  	if in == nil {
   525  		return nil
   526  	}
   527  	out := new(VolumeAttachmentSource)
   528  	in.DeepCopyInto(out)
   529  	return out
   530  }
   531  
   532  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   533  func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
   534  	*out = *in
   535  	in.Source.DeepCopyInto(&out.Source)
   536  	return
   537  }
   538  
   539  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
   540  func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
   541  	if in == nil {
   542  		return nil
   543  	}
   544  	out := new(VolumeAttachmentSpec)
   545  	in.DeepCopyInto(out)
   546  	return out
   547  }
   548  
   549  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   550  func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
   551  	*out = *in
   552  	if in.AttachmentMetadata != nil {
   553  		in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
   554  		*out = make(map[string]string, len(*in))
   555  		for key, val := range *in {
   556  			(*out)[key] = val
   557  		}
   558  	}
   559  	if in.AttachError != nil {
   560  		in, out := &in.AttachError, &out.AttachError
   561  		*out = new(VolumeError)
   562  		(*in).DeepCopyInto(*out)
   563  	}
   564  	if in.DetachError != nil {
   565  		in, out := &in.DetachError, &out.DetachError
   566  		*out = new(VolumeError)
   567  		(*in).DeepCopyInto(*out)
   568  	}
   569  	return
   570  }
   571  
   572  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
   573  func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
   574  	if in == nil {
   575  		return nil
   576  	}
   577  	out := new(VolumeAttachmentStatus)
   578  	in.DeepCopyInto(out)
   579  	return out
   580  }
   581  
   582  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   583  func (in *VolumeAttributesClass) DeepCopyInto(out *VolumeAttributesClass) {
   584  	*out = *in
   585  	out.TypeMeta = in.TypeMeta
   586  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   587  	if in.Parameters != nil {
   588  		in, out := &in.Parameters, &out.Parameters
   589  		*out = make(map[string]string, len(*in))
   590  		for key, val := range *in {
   591  			(*out)[key] = val
   592  		}
   593  	}
   594  	return
   595  }
   596  
   597  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttributesClass.
   598  func (in *VolumeAttributesClass) DeepCopy() *VolumeAttributesClass {
   599  	if in == nil {
   600  		return nil
   601  	}
   602  	out := new(VolumeAttributesClass)
   603  	in.DeepCopyInto(out)
   604  	return out
   605  }
   606  
   607  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   608  func (in *VolumeAttributesClass) DeepCopyObject() runtime.Object {
   609  	if c := in.DeepCopy(); c != nil {
   610  		return c
   611  	}
   612  	return nil
   613  }
   614  
   615  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   616  func (in *VolumeAttributesClassList) DeepCopyInto(out *VolumeAttributesClassList) {
   617  	*out = *in
   618  	out.TypeMeta = in.TypeMeta
   619  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   620  	if in.Items != nil {
   621  		in, out := &in.Items, &out.Items
   622  		*out = make([]VolumeAttributesClass, len(*in))
   623  		for i := range *in {
   624  			(*in)[i].DeepCopyInto(&(*out)[i])
   625  		}
   626  	}
   627  	return
   628  }
   629  
   630  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttributesClassList.
   631  func (in *VolumeAttributesClassList) DeepCopy() *VolumeAttributesClassList {
   632  	if in == nil {
   633  		return nil
   634  	}
   635  	out := new(VolumeAttributesClassList)
   636  	in.DeepCopyInto(out)
   637  	return out
   638  }
   639  
   640  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   641  func (in *VolumeAttributesClassList) DeepCopyObject() runtime.Object {
   642  	if c := in.DeepCopy(); c != nil {
   643  		return c
   644  	}
   645  	return nil
   646  }
   647  
   648  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   649  func (in *VolumeError) DeepCopyInto(out *VolumeError) {
   650  	*out = *in
   651  	in.Time.DeepCopyInto(&out.Time)
   652  	return
   653  }
   654  
   655  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
   656  func (in *VolumeError) DeepCopy() *VolumeError {
   657  	if in == nil {
   658  		return nil
   659  	}
   660  	out := new(VolumeError)
   661  	in.DeepCopyInto(out)
   662  	return out
   663  }
   664  
   665  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   666  func (in *VolumeNodeResources) DeepCopyInto(out *VolumeNodeResources) {
   667  	*out = *in
   668  	if in.Count != nil {
   669  		in, out := &in.Count, &out.Count
   670  		*out = new(int32)
   671  		**out = **in
   672  	}
   673  	return
   674  }
   675  
   676  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeResources.
   677  func (in *VolumeNodeResources) DeepCopy() *VolumeNodeResources {
   678  	if in == nil {
   679  		return nil
   680  	}
   681  	out := new(VolumeNodeResources)
   682  	in.DeepCopyInto(out)
   683  	return out
   684  }
   685  

View as plain text