EndpointPort class

EndpointPort is a tuple that describes a single port. Deprecated: This API is deprecated in v1.33+.

Constructors

EndpointPort({Input<String>? appProtocol, Input<String>? name, required Input<int> port, Input<String>? protocol})
Creates a new EndpointPort. appProtocol The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: name The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. port The port number of the endpoint. protocol The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.
const
EndpointPort.fromMap(Map<String, dynamic> map)
factory

Properties

appProtocol → Input<String>?
The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.
final
port → Input<int>
The port number of the endpoint.
final
protocol → Input<String>?
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited