NetworkArgs class
The set of arguments for Network. The set of arguments for Network.
Constructors
-
NetworkArgs({Input<
bool?> ? attachable, Input<String?> ? driver, Input<bool?> ? ingress, Input<bool?> ? internal, Input<List< ? ipamConfigs, Input<NetworkIpamConfig> ?>String?> ? ipamDriver, Input<Map< ? ipamOptions, Input<String, String> ?>bool?> ? ipv6, Input<List< ? labels, Input<NetworkLabel> ?>String?> ? name, Input<Map< ? options})String, String> ?> -
Creates a new NetworkArgs.
attachableEnable manual container attachment to the network.driverThe driver of the Docker network. Possible values arebridge,host,overlay,macvlan. See network docs for more details.ingressCreate swarm routing-mesh network. Defaults tofalse.internalWhether the network is internal.ipamConfigsThe IPAM configuration optionsipamDriverDriver used by the custom IP scheme of the network. Defaults todefaultipamOptionsProvide explicit options to the IPAM driver. Valid options vary withipamDriverand refer to that driver's documentation for more details.ipv6Enable IPv6 networking. Defaults tofalse.labelsUser-defined key/value metadatanameThe name of the Docker network.optionsOnly available with bridge networks. See bridge options docs for more details.const -
NetworkArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
attachable
→ Input<
bool?> ? -
Enable manual container attachment to the network.
final
-
driver
→ Input<
String?> ? -
The driver of the Docker network. Possible values are
bridge,host,overlay,macvlan. See network docs for more details.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
ingress
→ Input<
bool?> ? -
Create swarm routing-mesh network. Defaults to
false.final -
internal
→ Input<
bool?> ? -
Whether the network is internal.
final
-
ipamConfigs
→ Input<
List< ?NetworkIpamConfig> ?> -
The IPAM configuration options
final
-
ipamDriver
→ Input<
String?> ? -
Driver used by the custom IP scheme of the network. Defaults to
defaultfinal -
ipamOptions
→ Input<
Map< ?String, String> ?> -
Provide explicit options to the IPAM driver. Valid options vary with
ipamDriverand refer to that driver's documentation for more details.final -
ipv6
→ Input<
bool?> ? -
Enable IPv6 networking. Defaults to
false.final -
labels
→ Input<
List< ?NetworkLabel> ?> -
User-defined key/value metadata
final
-
name
→ Input<
String?> ? -
The name of the Docker network.
final
-
options
→ Input<
Map< ?String, String> ?> -
Only available with bridge networks. See bridge options docs for more details.
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