Module bollard::service

source ·
Expand description

Service API: manage and inspect docker services within a swarm

Structs§

Enums§

Type Aliases§

  • User-defined resources can be either Integer resources (e.g, SSD=3) or String resources (e.g, GPU=UUID1).
  • PortMap describes the mapping of container ports to host ports, using the container’s port-number and protocol as key in the format <port>/<protocol>, for example, 80/udp. If a container’s port is mapped for multiple protocols, separate entries are added to the mapping table.