class Pyrite::Api::Core::V1::EndpointPort
- Pyrite::Api::Core::V1::EndpointPort
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
EndpointPort is a tuple that describes a single port.
Defined in:
versions/v1.14/api/core/v1/endpoint_port.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
EndpointPort is a tuple that describes a single port.
-
.new(pull : JSON::PullParser)
EndpointPort is a tuple that describes a single port.
- .new(*, name : String? = nil, port : Int32, protocol : String? = nil)
Instance Method Summary
- #name : String?
- #name=(name : String?)
- #port : Int32
- #port=(port : Int32)
- #protocol : String?
- #protocol=(protocol : String?)
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)
#
EndpointPort is a tuple that describes a single port.