class K8S::Api::Discovery::V1beta1::EndpointPort
- K8S::Api::Discovery::V1beta1::EndpointPort
- Reference
- Object
Overview
EndpointPort represents a Port used by an EndpointSlice
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.17/api/discovery/v1beta1/endpoint_port.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, app_protocol : String? = nil, name : String? = nil, port : Int32? = nil, protocol : String? = nil)
Instance Method Summary
- #app_protocol : String?
- #app_protocol=(app_protocol : String?)
- #name : String?
- #name=(name : String?)
- #port : Int32?
- #port=(port : Int32?)
- #protocol : String?
- #protocol=(protocol : String?)
Constructor Detail
def self.new(*, app_protocol : String? = nil, name : String? = nil, port : Int32? = nil, protocol : String? = nil)
#