class K8S::Api::Core::V1::LifecycleHandler

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

Defined in:

versions/v1.23/api/core/v1/lifecycle_handler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, exec : Api::Core::V1::ExecAction? = nil, http_get : Api::Core::V1::HTTPGetAction? = nil, tcp_socket : Api::Core::V1::TCPSocketAction? = nil) #

[View source]

Instance Method Detail


[View source]
def exec=(exec : Api::Core::V1::ExecAction?) #

[View source]

[View source]
def http_get=(http_get : Api::Core::V1::HTTPGetAction?) #

[View source]
def tcp_socket : Api::Core::V1::TCPSocketAction? #

[View source]
def tcp_socket=(tcp_socket : Api::Core::V1::TCPSocketAction?) #

[View source]