class K8S::Api::Core::V1::Handler
- K8S::Api::Core::V1::Handler
- Reference
- Object
Overview
Handler defines a specific action that should be taken
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.11/api/core/v1/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)
#