PortSpec class


PortSpec

Constructors

PortSpec({required PortNum num, int? hostPort, String? type, bool? published, bool? public, List<EndpointSpec>? endpoints, String? liveness, Map<String, String>? annotations})
PortSpec.fromJson(Map<String, dynamic> json)
factory

Properties

annotations → Map<String, String>?
final
endpoints → List<EndpointSpec>
final
hashCode → int
The hash code for this object.
no setterinherited
hostPort → int?
final
liveness → String?
final
num → PortNum
final
public → bool?
final
published → bool?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String?
final

Methods

copyWith({PortNum? num, int? hostPort, String? type, List<EndpointSpec>? endpoints, String? liveness, bool? public, bool? published, Map<String, String>? annotations}) → PortSpec
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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