MCPcopy Create free account
hub / github.com/containerd/nerdctl / RemoveNetwork

Method RemoveNetwork

pkg/netutil/netutil.go:363–365  ·  view source on GitHub ↗
(net *NetworkConfig)

Source from the content-addressed store, hash-verified

361}
362
363func (e *CNIEnv) RemoveNetwork(net *NetworkConfig) error {
364 return fsRemove(e, net)
365}
366
367// GetDefaultNetworkConfig checks whether the default network exists
368// by first searching for if any network bears the `labels.NerdctlDefaultNetwork`

Callers 4

RemoveFunction · 0.95
PruneFunction · 0.95

Calls 1

fsRemoveFunction · 0.85

Tested by 2