kubernetes_asyncio.client.models.v1_exec_action 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_exec_action.V1ExecAction(command=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 = {'command': 'command'}
property command

Gets the command of this V1ExecAction. # noqa: E501

Command is the command line to execute inside the container, the working directory for the command is root (‘/’) in the container’s filesystem. The command is simply exec’d, it is not run inside a shell, so traditional shell instructions (‘|’, etc) won’t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. # noqa: E501

Returns:

The command of this V1ExecAction. # noqa: E501

Return type:

list[str]

openapi_types = {'command': 'list[str]'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model