Skip to main content

Module network

Module network 

Source
Expand description

Network configuration types for both top-level networks and per-service attachments.

NetworkConfig describes a named network in the networks: top-level block. ServiceNetworks is the per-service attachment — either a bare list of names or a map with ServiceNetworkConfig options (aliases, IP, priority, etc.).

Structs§

IpamConfig
ipam: block inside a top-level network definition.
IpamPool
A single subnet/range entry within ipam.config.
NetworkConfig
Named network definition in the top-level networks: block.
ServiceNetworkConfig
Per-network attachment options: aliases, static IPv4/IPv6, link-local addresses, and priority.

Enums§

ServiceNetworks
networks: value at service level — absent, a bare list of network names, or a detailed map.