MCPcopy Create free account
hub / github.com/containers/common / NetworkCreate

Method NetworkCreate

libnetwork/types/network.go:12–12  ·  view source on GitHub ↗

NetworkCreate will take a partial filled Network and fill the missing fields. It creates the Network and returns the full Network.

(Network)

Source from the content-addressed store, hash-verified

10 // NetworkCreate will take a partial filled Network and fill the
11 // missing fields. It creates the Network and returns the full Network.
12 NetworkCreate(Network) (Network, error)
13 // NetworkRemove will remove the Network with the given name or ID.
14 NetworkRemove(nameOrID string) error
15 // NetworkList will return all known Networks. Optionally you can

Callers 5

config_test.goFile · 0.65
run_test.goFile · 0.65
config_test.goFile · 0.65
ipam_test.goFile · 0.65
run_test.goFile · 0.65

Implementers 2

cniNetworklibnetwork/cni/network.go
netavarkNetworklibnetwork/netavark/network.go

Calls

no outgoing calls

Tested by

no test coverage detected