10000 api change V1PersistentVolumeSpec to V1ScaleIOPersistentVolumeSource by yliaog · Pull Request #397 · kubernetes-client/python · GitHub
[go: up one dir, main page]

Skip to content

api change V1PersistentVolumeSpec to V1ScaleIOPersistentVolumeSource #397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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