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

Method NetworkList

pkg/netutil/netutil.go:245–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243}
244
245func (e *CNIEnv) NetworkList() ([]*NetworkConfig, error) {
246 return fsRead(e)
247}
248
249func (e *CNIEnv) NetworkMap() (map[string]*NetworkConfig, error) { //nolint:revive
250 netConfigList, err := fsRead(e)

Callers 4

PruneFunction · 0.95
ListFunction · 0.95
NewFunction · 0.95

Calls 1

fsReadFunction · 0.85

Tested by 1