ContainerNetworkEndpoint class
A container's connection details on a single Docker network.
Constructors
-
ContainerNetworkEndpoint({ContainerIPAMConfig? ipamConfig, List<
String> ? links, String? macAddress, List<String> ? aliases, Map<String, String> ? driverOpts, int? gwPriority, String? networkID, String? endpointID, String? gateway, String? ipAddress, int? ipPrefixLen, String? ipv6Gateway, String? globalIPv6Address, int? globalIPv6PrefixLen, List<String> ? dnsNames}) -
Creates a ContainerNetworkEndpoint with the given fields.
const
-
ContainerNetworkEndpoint.fromJson(Map<
String, dynamic> json) -
Deserialises from Docker's JSON representation.
factory
Properties
-
aliases
→ List<
String> ? -
DNS aliases for this container on this network.
final
-
dnsNames
→ List<
String> ? -
DNS names by which this container can be reached (Docker 25+).
final
-
driverOpts
→ Map<
String, String> ? -
Driver-specific options for this endpoint.
final
- endpointID → String?
-
Endpoint ID within the network.
final
- gateway → String?
-
Gateway IP address for this network.
final
- globalIPv6Address → String?
-
Global IPv6 address.
final
- globalIPv6PrefixLen → int?
-
Prefix length of the global IPv6 address.
final
- gwPriority → int?
-
Gateway priority for this endpoint (Docker 25+ field).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ipAddress → String?
-
IPv4 address assigned to the container on this network.
final
- ipamConfig → ContainerIPAMConfig?
-
Static IP assignment configuration.
final
- ipPrefixLen → int?
-
Prefix length of the IPv4 subnet.
final
- ipv6Gateway → String?
-
IPv6 gateway address.
final
-
links
→ List<
String> ? -
Linked container names (legacy
--linkfeature).final - macAddress → String?
-
MAC address of this network interface.
final
- networkID → String?
-
Docker network ID.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited