...

Source file src/kubevirt.io/api/snapshot/v1beta1/deepcopy_generated.go

Documentation: kubevirt.io/api/snapshot/v1beta1

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

View as plain text