MCPcopy Create free account
hub / github.com/docker/go-plugins-helpers / AllocateNetworkRequest

Struct AllocateNetworkRequest

network/api.go:57–67  ·  view source on GitHub ↗

AllocateNetworkRequest requests allocation of new network by manager

Source from the content-addressed store, hash-verified

55
56// AllocateNetworkRequest requests allocation of new network by manager
57type AllocateNetworkRequest struct {
58 // A network ID that remote plugins are expected to store for future
59 // reference.
60 NetworkID string
61
62 // A free form map->object interface for communication of options.
63 Options map[string]string
64
65 // IPAMData contains the address pool information for this network
66 IPv4Data, IPv6Data []IPAMData
67}
68
69// AllocateNetworkResponse is the response to the AllocateNetworkRequest.
70type AllocateNetworkResponse struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected