IngressServiceBackend class

IngressServiceBackend references a Kubernetes Service as a Backend.

Constructors

IngressServiceBackend({required String name, ServiceBackendPort? port})
The main constructor.
const
IngressServiceBackend.fromJson(Map<String, dynamic> json)
Creates a IngressServiceBackend from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Name is the referenced service. The service must exist in the same namespace as the Ingress object.
final
port ServiceBackendPort?
Port of the referenced service. A port name or port number is required for a IngressServiceBackend.
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 IngressServiceBackend instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<IngressServiceBackend>
Creates a list of IngressServiceBackend from JSON data.