mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Autogenerated files update due to new API changes for photon volume
This commit is contained in:
@@ -132,6 +132,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeSource, InType: reflect.TypeOf(&PersistentVolumeSource{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeSpec, InType: reflect.TypeOf(&PersistentVolumeSpec{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeStatus, InType: reflect.TypeOf(&PersistentVolumeStatus{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PhotonPersistentDiskVolumeSource, InType: reflect.TypeOf(&PhotonPersistentDiskVolumeSource{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Pod, InType: reflect.TypeOf(&Pod{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAffinity, InType: reflect.TypeOf(&PodAffinity{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAffinityTerm, InType: reflect.TypeOf(&PodAffinityTerm{})},
|
||||
@@ -2231,6 +2232,13 @@ func DeepCopy_v1_PersistentVolumeSource(in interface{}, out interface{}, c *conv
|
||||
} else {
|
||||
out.AzureDisk = nil
|
||||
}
|
||||
if in.PhotonPersistentDisk != nil {
|
||||
in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk
|
||||
*out = new(PhotonPersistentDiskVolumeSource)
|
||||
**out = **in
|
||||
} else {
|
||||
out.PhotonPersistentDisk = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
@@ -2283,6 +2291,16 @@ func DeepCopy_v1_PersistentVolumeStatus(in interface{}, out interface{}, c *conv
|
||||
}
|
||||
}
|
||||
|
||||
func DeepCopy_v1_PhotonPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
{
|
||||
in := in.(*PhotonPersistentDiskVolumeSource)
|
||||
out := out.(*PhotonPersistentDiskVolumeSource)
|
||||
out.PdID = in.PdID
|
||||
out.FSType = in.FSType
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
func DeepCopy_v1_Pod(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
{
|
||||
in := in.(*Pod)
|
||||
@@ -3706,6 +3724,13 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo
|
||||
} else {
|
||||
out.AzureDisk = nil
|
||||
}
|
||||
if in.PhotonPersistentDisk != nil {
|
||||
in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk
|
||||
*out = new(PhotonPersistentDiskVolumeSource)
|
||||
**out = **in
|
||||
} else {
|
||||
out.PhotonPersistentDisk = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user