kubevirt.io/api@v1.2.0/instancetype/v1alpha2/deepcopy_generated.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The KubeVirt 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 v1alpha2
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  	v1 "kubevirt.io/api/core/v1"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *CPUInstancetype) DeepCopyInto(out *CPUInstancetype) {
    31  	*out = *in
    32  	if in.NUMA != nil {
    33  		in, out := &in.NUMA, &out.NUMA
    34  		*out = new(v1.NUMA)
    35  		(*in).DeepCopyInto(*out)
    36  	}
    37  	if in.Realtime != nil {
    38  		in, out := &in.Realtime, &out.Realtime
    39  		*out = new(v1.Realtime)
    40  		**out = **in
    41  	}
    42  	return
    43  }
    44  
    45  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUInstancetype.
    46  func (in *CPUInstancetype) DeepCopy() *CPUInstancetype {
    47  	if in == nil {
    48  		return nil
    49  	}
    50  	out := new(CPUInstancetype)
    51  	in.DeepCopyInto(out)
    52  	return out
    53  }
    54  
    55  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    56  func (in *CPUPreferences) DeepCopyInto(out *CPUPreferences) {
    57  	*out = *in
    58  	return
    59  }
    60  
    61  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUPreferences.
    62  func (in *CPUPreferences) DeepCopy() *CPUPreferences {
    63  	if in == nil {
    64  		return nil
    65  	}
    66  	out := new(CPUPreferences)
    67  	in.DeepCopyInto(out)
    68  	return out
    69  }
    70  
    71  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    72  func (in *ClockPreferences) DeepCopyInto(out *ClockPreferences) {
    73  	*out = *in
    74  	if in.PreferredClockOffset != nil {
    75  		in, out := &in.PreferredClockOffset, &out.PreferredClockOffset
    76  		*out = new(v1.ClockOffset)
    77  		(*in).DeepCopyInto(*out)
    78  	}
    79  	if in.PreferredTimer != nil {
    80  		in, out := &in.PreferredTimer, &out.PreferredTimer
    81  		*out = new(v1.Timer)
    82  		(*in).DeepCopyInto(*out)
    83  	}
    84  	return
    85  }
    86  
    87  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClockPreferences.
    88  func (in *ClockPreferences) DeepCopy() *ClockPreferences {
    89  	if in == nil {
    90  		return nil
    91  	}
    92  	out := new(ClockPreferences)
    93  	in.DeepCopyInto(out)
    94  	return out
    95  }
    96  
    97  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    98  func (in *DevicePreferences) DeepCopyInto(out *DevicePreferences) {
    99  	*out = *in
   100  	if in.PreferredAutoattachGraphicsDevice != nil {
   101  		in, out := &in.PreferredAutoattachGraphicsDevice, &out.PreferredAutoattachGraphicsDevice
   102  		*out = new(bool)
   103  		**out = **in
   104  	}
   105  	if in.PreferredAutoattachMemBalloon != nil {
   106  		in, out := &in.PreferredAutoattachMemBalloon, &out.PreferredAutoattachMemBalloon
   107  		*out = new(bool)
   108  		**out = **in
   109  	}
   110  	if in.PreferredAutoattachPodInterface != nil {
   111  		in, out := &in.PreferredAutoattachPodInterface, &out.PreferredAutoattachPodInterface
   112  		*out = new(bool)
   113  		**out = **in
   114  	}
   115  	if in.PreferredAutoattachSerialConsole != nil {
   116  		in, out := &in.PreferredAutoattachSerialConsole, &out.PreferredAutoattachSerialConsole
   117  		*out = new(bool)
   118  		**out = **in
   119  	}
   120  	if in.PreferredAutoattachInputDevice != nil {
   121  		in, out := &in.PreferredAutoattachInputDevice, &out.PreferredAutoattachInputDevice
   122  		*out = new(bool)
   123  		**out = **in
   124  	}
   125  	if in.PreferredDisableHotplug != nil {
   126  		in, out := &in.PreferredDisableHotplug, &out.PreferredDisableHotplug
   127  		*out = new(bool)
   128  		**out = **in
   129  	}
   130  	if in.PreferredVirtualGPUOptions != nil {
   131  		in, out := &in.PreferredVirtualGPUOptions, &out.PreferredVirtualGPUOptions
   132  		*out = new(v1.VGPUOptions)
   133  		(*in).DeepCopyInto(*out)
   134  	}
   135  	if in.PreferredUseVirtioTransitional != nil {
   136  		in, out := &in.PreferredUseVirtioTransitional, &out.PreferredUseVirtioTransitional
   137  		*out = new(bool)
   138  		**out = **in
   139  	}
   140  	if in.PreferredDiskDedicatedIoThread != nil {
   141  		in, out := &in.PreferredDiskDedicatedIoThread, &out.PreferredDiskDedicatedIoThread
   142  		*out = new(bool)
   143  		**out = **in
   144  	}
   145  	if in.PreferredDiskBlockSize != nil {
   146  		in, out := &in.PreferredDiskBlockSize, &out.PreferredDiskBlockSize
   147  		*out = new(v1.BlockSize)
   148  		(*in).DeepCopyInto(*out)
   149  	}
   150  	if in.PreferredRng != nil {
   151  		in, out := &in.PreferredRng, &out.PreferredRng
   152  		*out = new(v1.Rng)
   153  		**out = **in
   154  	}
   155  	if in.PreferredBlockMultiQueue != nil {
   156  		in, out := &in.PreferredBlockMultiQueue, &out.PreferredBlockMultiQueue
   157  		*out = new(bool)
   158  		**out = **in
   159  	}
   160  	if in.PreferredNetworkInterfaceMultiQueue != nil {
   161  		in, out := &in.PreferredNetworkInterfaceMultiQueue, &out.PreferredNetworkInterfaceMultiQueue
   162  		*out = new(bool)
   163  		**out = **in
   164  	}
   165  	if in.PreferredTPM != nil {
   166  		in, out := &in.PreferredTPM, &out.PreferredTPM
   167  		*out = new(v1.TPMDevice)
   168  		(*in).DeepCopyInto(*out)
   169  	}
   170  	return
   171  }
   172  
   173  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicePreferences.
   174  func (in *DevicePreferences) DeepCopy() *DevicePreferences {
   175  	if in == nil {
   176  		return nil
   177  	}
   178  	out := new(DevicePreferences)
   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 *FeaturePreferences) DeepCopyInto(out *FeaturePreferences) {
   185  	*out = *in
   186  	if in.PreferredAcpi != nil {
   187  		in, out := &in.PreferredAcpi, &out.PreferredAcpi
   188  		*out = new(v1.FeatureState)
   189  		(*in).DeepCopyInto(*out)
   190  	}
   191  	if in.PreferredApic != nil {
   192  		in, out := &in.PreferredApic, &out.PreferredApic
   193  		*out = new(v1.FeatureAPIC)
   194  		(*in).DeepCopyInto(*out)
   195  	}
   196  	if in.PreferredHyperv != nil {
   197  		in, out := &in.PreferredHyperv, &out.PreferredHyperv
   198  		*out = new(v1.FeatureHyperv)
   199  		(*in).DeepCopyInto(*out)
   200  	}
   201  	if in.PreferredKvm != nil {
   202  		in, out := &in.PreferredKvm, &out.PreferredKvm
   203  		*out = new(v1.FeatureKVM)
   204  		**out = **in
   205  	}
   206  	if in.PreferredPvspinlock != nil {
   207  		in, out := &in.PreferredPvspinlock, &out.PreferredPvspinlock
   208  		*out = new(v1.FeatureState)
   209  		(*in).DeepCopyInto(*out)
   210  	}
   211  	if in.PreferredSmm != nil {
   212  		in, out := &in.PreferredSmm, &out.PreferredSmm
   213  		*out = new(v1.FeatureState)
   214  		(*in).DeepCopyInto(*out)
   215  	}
   216  	return
   217  }
   218  
   219  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturePreferences.
   220  func (in *FeaturePreferences) DeepCopy() *FeaturePreferences {
   221  	if in == nil {
   222  		return nil
   223  	}
   224  	out := new(FeaturePreferences)
   225  	in.DeepCopyInto(out)
   226  	return out
   227  }
   228  
   229  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   230  func (in *FirmwarePreferences) DeepCopyInto(out *FirmwarePreferences) {
   231  	*out = *in
   232  	if in.PreferredUseBios != nil {
   233  		in, out := &in.PreferredUseBios, &out.PreferredUseBios
   234  		*out = new(bool)
   235  		**out = **in
   236  	}
   237  	if in.PreferredUseBiosSerial != nil {
   238  		in, out := &in.PreferredUseBiosSerial, &out.PreferredUseBiosSerial
   239  		*out = new(bool)
   240  		**out = **in
   241  	}
   242  	if in.PreferredUseEfi != nil {
   243  		in, out := &in.PreferredUseEfi, &out.PreferredUseEfi
   244  		*out = new(bool)
   245  		**out = **in
   246  	}
   247  	if in.PreferredUseSecureBoot != nil {
   248  		in, out := &in.PreferredUseSecureBoot, &out.PreferredUseSecureBoot
   249  		*out = new(bool)
   250  		**out = **in
   251  	}
   252  	return
   253  }
   254  
   255  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirmwarePreferences.
   256  func (in *FirmwarePreferences) DeepCopy() *FirmwarePreferences {
   257  	if in == nil {
   258  		return nil
   259  	}
   260  	out := new(FirmwarePreferences)
   261  	in.DeepCopyInto(out)
   262  	return out
   263  }
   264  
   265  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   266  func (in *MachinePreferences) DeepCopyInto(out *MachinePreferences) {
   267  	*out = *in
   268  	return
   269  }
   270  
   271  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePreferences.
   272  func (in *MachinePreferences) DeepCopy() *MachinePreferences {
   273  	if in == nil {
   274  		return nil
   275  	}
   276  	out := new(MachinePreferences)
   277  	in.DeepCopyInto(out)
   278  	return out
   279  }
   280  
   281  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   282  func (in *MemoryInstancetype) DeepCopyInto(out *MemoryInstancetype) {
   283  	*out = *in
   284  	out.Guest = in.Guest.DeepCopy()
   285  	if in.Hugepages != nil {
   286  		in, out := &in.Hugepages, &out.Hugepages
   287  		*out = new(v1.Hugepages)
   288  		**out = **in
   289  	}
   290  	return
   291  }
   292  
   293  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryInstancetype.
   294  func (in *MemoryInstancetype) DeepCopy() *MemoryInstancetype {
   295  	if in == nil {
   296  		return nil
   297  	}
   298  	out := new(MemoryInstancetype)
   299  	in.DeepCopyInto(out)
   300  	return out
   301  }
   302  
   303  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   304  func (in *VirtualMachineClusterInstancetype) DeepCopyInto(out *VirtualMachineClusterInstancetype) {
   305  	*out = *in
   306  	out.TypeMeta = in.TypeMeta
   307  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   308  	in.Spec.DeepCopyInto(&out.Spec)
   309  	return
   310  }
   311  
   312  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterInstancetype.
   313  func (in *VirtualMachineClusterInstancetype) DeepCopy() *VirtualMachineClusterInstancetype {
   314  	if in == nil {
   315  		return nil
   316  	}
   317  	out := new(VirtualMachineClusterInstancetype)
   318  	in.DeepCopyInto(out)
   319  	return out
   320  }
   321  
   322  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   323  func (in *VirtualMachineClusterInstancetype) DeepCopyObject() runtime.Object {
   324  	if c := in.DeepCopy(); c != nil {
   325  		return c
   326  	}
   327  	return nil
   328  }
   329  
   330  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   331  func (in *VirtualMachineClusterInstancetypeList) DeepCopyInto(out *VirtualMachineClusterInstancetypeList) {
   332  	*out = *in
   333  	out.TypeMeta = in.TypeMeta
   334  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   335  	if in.Items != nil {
   336  		in, out := &in.Items, &out.Items
   337  		*out = make([]VirtualMachineClusterInstancetype, len(*in))
   338  		for i := range *in {
   339  			(*in)[i].DeepCopyInto(&(*out)[i])
   340  		}
   341  	}
   342  	return
   343  }
   344  
   345  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterInstancetypeList.
   346  func (in *VirtualMachineClusterInstancetypeList) DeepCopy() *VirtualMachineClusterInstancetypeList {
   347  	if in == nil {
   348  		return nil
   349  	}
   350  	out := new(VirtualMachineClusterInstancetypeList)
   351  	in.DeepCopyInto(out)
   352  	return out
   353  }
   354  
   355  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   356  func (in *VirtualMachineClusterInstancetypeList) DeepCopyObject() runtime.Object {
   357  	if c := in.DeepCopy(); c != nil {
   358  		return c
   359  	}
   360  	return nil
   361  }
   362  
   363  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   364  func (in *VirtualMachineClusterPreference) DeepCopyInto(out *VirtualMachineClusterPreference) {
   365  	*out = *in
   366  	out.TypeMeta = in.TypeMeta
   367  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   368  	in.Spec.DeepCopyInto(&out.Spec)
   369  	return
   370  }
   371  
   372  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterPreference.
   373  func (in *VirtualMachineClusterPreference) DeepCopy() *VirtualMachineClusterPreference {
   374  	if in == nil {
   375  		return nil
   376  	}
   377  	out := new(VirtualMachineClusterPreference)
   378  	in.DeepCopyInto(out)
   379  	return out
   380  }
   381  
   382  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   383  func (in *VirtualMachineClusterPreference) DeepCopyObject() runtime.Object {
   384  	if c := in.DeepCopy(); c != nil {
   385  		return c
   386  	}
   387  	return nil
   388  }
   389  
   390  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   391  func (in *VirtualMachineClusterPreferenceList) DeepCopyInto(out *VirtualMachineClusterPreferenceList) {
   392  	*out = *in
   393  	out.TypeMeta = in.TypeMeta
   394  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   395  	if in.Items != nil {
   396  		in, out := &in.Items, &out.Items
   397  		*out = make([]VirtualMachineClusterPreference, len(*in))
   398  		for i := range *in {
   399  			(*in)[i].DeepCopyInto(&(*out)[i])
   400  		}
   401  	}
   402  	return
   403  }
   404  
   405  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterPreferenceList.
   406  func (in *VirtualMachineClusterPreferenceList) DeepCopy() *VirtualMachineClusterPreferenceList {
   407  	if in == nil {
   408  		return nil
   409  	}
   410  	out := new(VirtualMachineClusterPreferenceList)
   411  	in.DeepCopyInto(out)
   412  	return out
   413  }
   414  
   415  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   416  func (in *VirtualMachineClusterPreferenceList) DeepCopyObject() runtime.Object {
   417  	if c := in.DeepCopy(); c != nil {
   418  		return c
   419  	}
   420  	return nil
   421  }
   422  
   423  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   424  func (in *VirtualMachineInstancetype) DeepCopyInto(out *VirtualMachineInstancetype) {
   425  	*out = *in
   426  	out.TypeMeta = in.TypeMeta
   427  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   428  	in.Spec.DeepCopyInto(&out.Spec)
   429  	return
   430  }
   431  
   432  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineInstancetype.
   433  func (in *VirtualMachineInstancetype) DeepCopy() *VirtualMachineInstancetype {
   434  	if in == nil {
   435  		return nil
   436  	}
   437  	out := new(VirtualMachineInstancetype)
   438  	in.DeepCopyInto(out)
   439  	return out
   440  }
   441  
   442  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   443  func (in *VirtualMachineInstancetype) DeepCopyObject() runtime.Object {
   444  	if c := in.DeepCopy(); c != nil {
   445  		return c
   446  	}
   447  	return nil
   448  }
   449  
   450  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   451  func (in *VirtualMachineInstancetypeList) DeepCopyInto(out *VirtualMachineInstancetypeList) {
   452  	*out = *in
   453  	out.TypeMeta = in.TypeMeta
   454  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   455  	if in.Items != nil {
   456  		in, out := &in.Items, &out.Items
   457  		*out = make([]VirtualMachineInstancetype, len(*in))
   458  		for i := range *in {
   459  			(*in)[i].DeepCopyInto(&(*out)[i])
   460  		}
   461  	}
   462  	return
   463  }
   464  
   465  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineInstancetypeList.
   466  func (in *VirtualMachineInstancetypeList) DeepCopy() *VirtualMachineInstancetypeList {
   467  	if in == nil {
   468  		return nil
   469  	}
   470  	out := new(VirtualMachineInstancetypeList)
   471  	in.DeepCopyInto(out)
   472  	return out
   473  }
   474  
   475  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   476  func (in *VirtualMachineInstancetypeList) DeepCopyObject() runtime.Object {
   477  	if c := in.DeepCopy(); c != nil {
   478  		return c
   479  	}
   480  	return nil
   481  }
   482  
   483  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   484  func (in *VirtualMachineInstancetypeSpec) DeepCopyInto(out *VirtualMachineInstancetypeSpec) {
   485  	*out = *in
   486  	in.CPU.DeepCopyInto(&out.CPU)
   487  	in.Memory.DeepCopyInto(&out.Memory)
   488  	if in.GPUs != nil {
   489  		in, out := &in.GPUs, &out.GPUs
   490  		*out = make([]v1.GPU, len(*in))
   491  		for i := range *in {
   492  			(*in)[i].DeepCopyInto(&(*out)[i])
   493  		}
   494  	}
   495  	if in.HostDevices != nil {
   496  		in, out := &in.HostDevices, &out.HostDevices
   497  		*out = make([]v1.HostDevice, len(*in))
   498  		copy(*out, *in)
   499  	}
   500  	if in.IOThreadsPolicy != nil {
   501  		in, out := &in.IOThreadsPolicy, &out.IOThreadsPolicy
   502  		*out = new(v1.IOThreadsPolicy)
   503  		**out = **in
   504  	}
   505  	if in.LaunchSecurity != nil {
   506  		in, out := &in.LaunchSecurity, &out.LaunchSecurity
   507  		*out = new(v1.LaunchSecurity)
   508  		(*in).DeepCopyInto(*out)
   509  	}
   510  	return
   511  }
   512  
   513  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineInstancetypeSpec.
   514  func (in *VirtualMachineInstancetypeSpec) DeepCopy() *VirtualMachineInstancetypeSpec {
   515  	if in == nil {
   516  		return nil
   517  	}
   518  	out := new(VirtualMachineInstancetypeSpec)
   519  	in.DeepCopyInto(out)
   520  	return out
   521  }
   522  
   523  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   524  func (in *VirtualMachinePreference) DeepCopyInto(out *VirtualMachinePreference) {
   525  	*out = *in
   526  	out.TypeMeta = in.TypeMeta
   527  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   528  	in.Spec.DeepCopyInto(&out.Spec)
   529  	return
   530  }
   531  
   532  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePreference.
   533  func (in *VirtualMachinePreference) DeepCopy() *VirtualMachinePreference {
   534  	if in == nil {
   535  		return nil
   536  	}
   537  	out := new(VirtualMachinePreference)
   538  	in.DeepCopyInto(out)
   539  	return out
   540  }
   541  
   542  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   543  func (in *VirtualMachinePreference) DeepCopyObject() runtime.Object {
   544  	if c := in.DeepCopy(); c != nil {
   545  		return c
   546  	}
   547  	return nil
   548  }
   549  
   550  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   551  func (in *VirtualMachinePreferenceList) DeepCopyInto(out *VirtualMachinePreferenceList) {
   552  	*out = *in
   553  	out.TypeMeta = in.TypeMeta
   554  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   555  	if in.Items != nil {
   556  		in, out := &in.Items, &out.Items
   557  		*out = make([]VirtualMachinePreference, len(*in))
   558  		for i := range *in {
   559  			(*in)[i].DeepCopyInto(&(*out)[i])
   560  		}
   561  	}
   562  	return
   563  }
   564  
   565  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePreferenceList.
   566  func (in *VirtualMachinePreferenceList) DeepCopy() *VirtualMachinePreferenceList {
   567  	if in == nil {
   568  		return nil
   569  	}
   570  	out := new(VirtualMachinePreferenceList)
   571  	in.DeepCopyInto(out)
   572  	return out
   573  }
   574  
   575  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   576  func (in *VirtualMachinePreferenceList) DeepCopyObject() runtime.Object {
   577  	if c := in.DeepCopy(); c != nil {
   578  		return c
   579  	}
   580  	return nil
   581  }
   582  
   583  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   584  func (in *VirtualMachinePreferenceSpec) DeepCopyInto(out *VirtualMachinePreferenceSpec) {
   585  	*out = *in
   586  	if in.Clock != nil {
   587  		in, out := &in.Clock, &out.Clock
   588  		*out = new(ClockPreferences)
   589  		(*in).DeepCopyInto(*out)
   590  	}
   591  	if in.CPU != nil {
   592  		in, out := &in.CPU, &out.CPU
   593  		*out = new(CPUPreferences)
   594  		**out = **in
   595  	}
   596  	if in.Devices != nil {
   597  		in, out := &in.Devices, &out.Devices
   598  		*out = new(DevicePreferences)
   599  		(*in).DeepCopyInto(*out)
   600  	}
   601  	if in.Features != nil {
   602  		in, out := &in.Features, &out.Features
   603  		*out = new(FeaturePreferences)
   604  		(*in).DeepCopyInto(*out)
   605  	}
   606  	if in.Firmware != nil {
   607  		in, out := &in.Firmware, &out.Firmware
   608  		*out = new(FirmwarePreferences)
   609  		(*in).DeepCopyInto(*out)
   610  	}
   611  	if in.Machine != nil {
   612  		in, out := &in.Machine, &out.Machine
   613  		*out = new(MachinePreferences)
   614  		**out = **in
   615  	}
   616  	if in.Volumes != nil {
   617  		in, out := &in.Volumes, &out.Volumes
   618  		*out = new(VolumePreferences)
   619  		**out = **in
   620  	}
   621  	return
   622  }
   623  
   624  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePreferenceSpec.
   625  func (in *VirtualMachinePreferenceSpec) DeepCopy() *VirtualMachinePreferenceSpec {
   626  	if in == nil {
   627  		return nil
   628  	}
   629  	out := new(VirtualMachinePreferenceSpec)
   630  	in.DeepCopyInto(out)
   631  	return out
   632  }
   633  
   634  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   635  func (in *VolumePreferences) DeepCopyInto(out *VolumePreferences) {
   636  	*out = *in
   637  	return
   638  }
   639  
   640  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumePreferences.
   641  func (in *VolumePreferences) DeepCopy() *VolumePreferences {
   642  	if in == nil {
   643  		return nil
   644  	}
   645  	out := new(VolumePreferences)
   646  	in.DeepCopyInto(out)
   647  	return out
   648  }