kubernetes_asyncio.client.models.v1_lifecycle_handler 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_lifecycle_handler.V1LifecycleHandler(_exec=None, http_get=None, sleep=None, tcp_socket=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 = {'_exec': 'exec', 'http_get': 'httpGet', 'sleep': 'sleep', 'tcp_socket': 'tcpSocket'}
property http_get

Gets the http_get of this V1LifecycleHandler. # noqa: E501

Returns:

The http_get of this V1LifecycleHandler. # noqa: E501

Return type:

V1HTTPGetAction

openapi_types = {'_exec': 'V1ExecAction', 'http_get': 'V1HTTPGetAction', 'sleep': 'V1SleepAction', 'tcp_socket': 'V1TCPSocketAction'}
property sleep

Gets the sleep of this V1LifecycleHandler. # noqa: E501

Returns:

The sleep of this V1LifecycleHandler. # noqa: E501

Return type:

V1SleepAction

property tcp_socket

Gets the tcp_socket of this V1LifecycleHandler. # noqa: E501

Returns:

The tcp_socket of this V1LifecycleHandler. # noqa: E501

Return type:

V1TCPSocketAction

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model