class K8S::Api::Core::V1::EndpointPort
- K8S::Api::Core::V1::EndpointPort
- Reference
- Object
Overview
EndpointPort is a tuple that describes a single port.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.17/api/core/v1/endpoint_port.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, port : Int32, name : String? = nil, protocol : String? = nil)
Instance Method Summary
- #name : String?
- #name=(name : String?)
- #port : Int32
- #port=(port : Int32)
- #protocol : String?
- #protocol=(protocol : String?)