mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-27 20:03:52 +00:00
Cinder Volume Plugin
This commit is contained in:
@@ -71,6 +71,13 @@ func deepCopy_api_Capabilities(in Capabilities, out *Capabilities, c *conversion
|
||||
return nil
|
||||
}
|
||||
|
||||
func deepCopy_api_CinderVolumeSource(in CinderVolumeSource, out *CinderVolumeSource, c *conversion.Cloner) error {
|
||||
out.VolumeID = in.VolumeID
|
||||
out.FSType = in.FSType
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
|
||||
func deepCopy_api_ComponentCondition(in ComponentCondition, out *ComponentCondition, c *conversion.Cloner) error {
|
||||
out.Type = in.Type
|
||||
out.Status = in.Status
|
||||
@@ -1217,6 +1224,14 @@ func deepCopy_api_PersistentVolumeSource(in PersistentVolumeSource, out *Persist
|
||||
} else {
|
||||
out.ISCSI = nil
|
||||
}
|
||||
if in.Cinder != nil {
|
||||
out.Cinder = new(CinderVolumeSource)
|
||||
if err := deepCopy_api_CinderVolumeSource(*in.Cinder, out.Cinder, c); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
out.Cinder = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -2149,6 +2164,14 @@ func deepCopy_api_VolumeSource(in VolumeSource, out *VolumeSource, c *conversion
|
||||
} else {
|
||||
out.RBD = nil
|
||||
}
|
||||
if in.Cinder != nil {
|
||||
out.Cinder = new(CinderVolumeSource)
|
||||
if err := deepCopy_api_CinderVolumeSource(*in.Cinder, out.Cinder, c); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
out.Cinder = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -2189,6 +2212,7 @@ func init() {
|
||||
deepCopy_api_AWSElasticBlockStoreVolumeSource,
|
||||
deepCopy_api_Binding,
|
||||
deepCopy_api_Capabilities,
|
||||
deepCopy_api_CinderVolumeSource,
|
||||
deepCopy_api_ComponentCondition,
|
||||
deepCopy_api_ComponentStatus,
|
||||
deepCopy_api_ComponentStatusList,
|
||||
|
||||
Reference in New Issue
Block a user