kubernetes_asyncio.client.models.v1_git_repo_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_git_repo_volume_source.V1GitRepoVolumeSource(directory=None, repository=None, revision=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 = {'directory': 'directory', 'repository': 'repository', 'revision': 'revision'}
property directory

Gets the directory of this V1GitRepoVolumeSource. # noqa: E501

directory is the target directory name. Must not contain or start with ‘..’. If ‘.’ is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. # noqa: E501

Returns:

The directory of this V1GitRepoVolumeSource. # noqa: E501

Return type:

str

openapi_types = {'directory': 'str', 'repository': 'str', 'revision': 'str'}
property repository

Gets the repository of this V1GitRepoVolumeSource. # noqa: E501

repository is the URL # noqa: E501

Returns:

The repository of this V1GitRepoVolumeSource. # noqa: E501

Return type:

str

property revision

Gets the revision of this V1GitRepoVolumeSource. # noqa: E501

revision is the commit hash for the specified revision. # noqa: E501

Returns:

The revision of this V1GitRepoVolumeSource. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model