MCPcopy Create free account
hub / github.com/docker/cli / NetworkOpt

Struct NetworkOpt

opts/network.go:38–40  ·  view source on GitHub ↗

NetworkOpt represents a network config in swarm mode.

Source from the content-addressed store, hash-verified

36
37// NetworkOpt represents a network config in swarm mode.
38type NetworkOpt struct {
39 options []NetworkAttachmentOpts
40}
41
42// Set networkopts value
43func (n *NetworkOpt) Set(value string) error { //nolint:gocyclo

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected