class K8S::Api::Core::V1::LifecycleHandler
- K8S::Api::Core::V1::LifecycleHandler
- Reference
- Object
Overview
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.23/api/core/v1/lifecycle_handler.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, exec : Api::Core::V1::ExecAction? = nil, http_get : Api::Core::V1::HTTPGetAction? = nil, tcp_socket : Api::Core::V1::TCPSocketAction? = nil)
Instance Method Summary
- #exec : Api::Core::V1::ExecAction?
- #exec=(exec : Api::Core::V1::ExecAction?)
- #http_get : Api::Core::V1::HTTPGetAction?
- #http_get=(http_get : Api::Core::V1::HTTPGetAction?)
- #tcp_socket : Api::Core::V1::TCPSocketAction?
- #tcp_socket=(tcp_socket : Api::Core::V1::TCPSocketAction?)
Constructor Detail
def self.new(*, exec : Api::Core::V1::ExecAction? = nil, http_get : Api::Core::V1::HTTPGetAction? = nil, tcp_socket : Api::Core::V1::TCPSocketAction? = nil)
#