struct

Kubernetes::PortStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

PortStatus represents the error condition of a service port

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

error

Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names

  • cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.
Source
error=(error : String | Nil)

Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names

  • cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.
Source
port

Port is the port number of the service port of which status is recorded here

Source
port=(port : Int32 | Nil)

Port is the port number of the service port of which status is recorded here

Source
protocol

Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

Source
protocol=(protocol : String | Nil)

Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source