IngressPortStatus class
IngressPortStatus represents the error condition of a service port.
Constructors
- IngressPortStatus({String? error, required int port, required String protocol})
-
Default constructor.
const
-
IngressPortStatus.fromJson(Map<
String, dynamic> json) -
Creates a IngressPortStatus from JSON data.
factory
Properties
- error → String?
-
error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use
CamelCase names
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- port → int
-
port is the port number of the ingress port.
final
- protocol → String
-
protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP".
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
-
toJson(
) → Map< String, Object> - Converts a IngressPortStatus instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited