class Pyrite::Api::Core::V1::TCPSocketAction

Overview

TCPSocketAction describes an action based on opening a socket

Defined in:

versions/v1.14/api/core/v1/tcp_socket_action.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

TCPSocketAction describes an action based on opening a socket


def self.new(pull : JSON::PullParser) #

TCPSocketAction describes an action based on opening a socket


def self.new(*, host : String? = nil, port : Int32 | String) #

Instance Method Detail

def host : String? #

def host=(host : String?) #

def port : Int32 | String #

def port=(port : Int32 | String) #