kubernetes_asyncio.client.models.v1_glusterfs_persistent_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_persistent_volume_source.V1GlusterfsPersistentVolumeSource(endpoints=None, endpoints_namespace=None, path=None, read_only=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'endpoints': 'endpoints', 'endpoints_namespace': 'endpointsNamespace', 'path': 'path', 'read_only': 'readOnly'}
- property endpoints
Gets the endpoints of this V1GlusterfsPersistentVolumeSource. # noqa: E501
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
- Returns:
The endpoints of this V1GlusterfsPersistentVolumeSource. # noqa: E501
- Return type:
str
- property endpoints_namespace
Gets the endpoints_namespace of this V1GlusterfsPersistentVolumeSource. # noqa: E501
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod # noqa: E501
- Returns:
The endpoints_namespace of this V1GlusterfsPersistentVolumeSource. # noqa: E501
- Return type:
str
- openapi_types = {'endpoints': 'str', 'endpoints_namespace': 'str', 'path': 'str', 'read_only': 'bool'}
- property path
Gets the path of this V1GlusterfsPersistentVolumeSource. # 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 V1GlusterfsPersistentVolumeSource. # noqa: E501
- Return type:
str
- property read_only
Gets the read_only of this V1GlusterfsPersistentVolumeSource. # 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 V1GlusterfsPersistentVolumeSource. # 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