Skip to content

Commit

Permalink
api change V1PersistentVolumeSpec to V1ScaleIOPersistentVolumeSource
Browse files Browse the repository at this point in the history
  • Loading branch information
yliaog committed Nov 18, 2017
1 parent 421f124 commit e5ea1cf
Show file tree
Hide file tree
Showing 11 changed files with 515 additions and 18 deletions.
1 change: 1 addition & 0 deletions kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,7 @@ Class | Method | HTTP request | Description
- [V1RoleRef](docs/V1RoleRef.md)
- [V1SELinuxOptions](docs/V1SELinuxOptions.md)
- [V1Scale](docs/V1Scale.md)
- [V1ScaleIOPersistentVolumeSource](docs/V1ScaleIOPersistentVolumeSource.md)
- [V1ScaleIOVolumeSource](docs/V1ScaleIOVolumeSource.md)
- [V1ScaleSpec](docs/V1ScaleSpec.md)
- [V1ScaleStatus](docs/V1ScaleStatus.md)
Expand Down
1 change: 1 addition & 0 deletions kubernetes/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@
from .models.v1_role_ref import V1RoleRef
from .models.v1_se_linux_options import V1SELinuxOptions
from .models.v1_scale import V1Scale
from .models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource
from .models.v1_scale_io_volume_source import V1ScaleIOVolumeSource
from .models.v1_scale_spec import V1ScaleSpec
from .models.v1_scale_status import V1ScaleStatus
Expand Down
1 change: 1 addition & 0 deletions kubernetes/client/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@
from .v1_role_ref import V1RoleRef
from .v1_se_linux_options import V1SELinuxOptions
from .v1_scale import V1Scale
from .v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource
from .v1_scale_io_volume_source import V1ScaleIOVolumeSource
from .v1_scale_spec import V1ScaleSpec
from .v1_scale_status import V1ScaleStatus
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/client/models/v1_persistent_volume_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class V1PersistentVolumeSpec(object):
'portworx_volume': 'V1PortworxVolumeSource',
'quobyte': 'V1QuobyteVolumeSource',
'rbd': 'V1RBDVolumeSource',
'scale_io': 'V1ScaleIOVolumeSource',
'scale_io': 'V1ScaleIOPersistentVolumeSource',
'storage_class_name': 'str',
'storageos': 'V1StorageOSPersistentVolumeSource',
'vsphere_volume': 'V1VsphereVirtualDiskVolumeSource'
Expand Down Expand Up @@ -715,7 +715,7 @@ def scale_io(self):
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
:return: The scale_io of this V1PersistentVolumeSpec.
:rtype: V1ScaleIOVolumeSource
:rtype: V1ScaleIOPersistentVolumeSource
"""
return self._scale_io

Expand All @@ -726,7 +726,7 @@ def scale_io(self, scale_io):
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
:param scale_io: The scale_io of this V1PersistentVolumeSpec.
:type: V1ScaleIOVolumeSource
:type: V1ScaleIOPersistentVolumeSource
"""

self._scale_io = scale_io
Expand Down
Loading

0 comments on commit e5ea1cf

Please sign in to comment.