kubernetes_asyncio.client.models.v1_glusterfs_volume_source module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_glusterfs_volume_source.V1GlusterfsVolumeSource(endpoints=None, path=None, read_only=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'endpoints': 'endpoints', 'path': 'path', 'read_only': 'readOnly'}
property endpoints

Gets the endpoints of this V1GlusterfsVolumeSource. # noqa: E501

endpoints is the endpoint name that details Glusterfs topology. # noqa: E501

Returns:

The endpoints of this V1GlusterfsVolumeSource. # noqa: E501

Return type:

str

openapi_types = {'endpoints': 'str', 'path': 'str', 'read_only': 'bool'}
property path

Gets the path of this V1GlusterfsVolumeSource. # noqa: E501

path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501

Returns:

The path of this V1GlusterfsVolumeSource. # noqa: E501

Return type:

str

property read_only

Gets the read_only of this V1GlusterfsVolumeSource. # noqa: E501

readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501

Returns:

The read_only of this V1GlusterfsVolumeSource. # noqa: E501

Return type:

bool

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model