Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
245
func
(e *CNIEnv) NetworkList() ([]*NetworkConfig, error) {
246
return
fsRead(e)
247
}
248
249
func
(e *CNIEnv) NetworkMap() (
map
[string]*NetworkConfig, error) {
//nolint:revive
250
netConfigList, err := fsRead(e)
Callers
4
TestNetworkWithDefaultNameAlreadyExists
Function · 0.95
Prune
Function · 0.95
List
Function · 0.95
New
Function · 0.95
Calls
1
fsRead
Function · 0.85
Tested by
1
TestNetworkWithDefaultNameAlreadyExists
Function · 0.76