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

Function WithDefaultNetwork

pkg/netutil/netutil.go:209–213  ·  view source on GitHub ↗
(bridgeIP string)

Source from the content-addressed store, hash-verified

207}
208
209func WithDefaultNetwork(bridgeIP string) CNIEnvOpt {
210 return func(e *CNIEnv) error {
211 return e.ensureDefaultNetworkConfig(bridgeIP)
212 }
213}
214
215func WithNamespace(namespace string) CNIEnvOpt {
216 return func(e *CNIEnv) error {

Callers 6

VerifyNetworkOptionsMethod · 0.92
VerifyNetworkOptionsMethod · 0.92
getCNIMethod · 0.92
cleanupNetworkFunction · 0.92
NewFunction · 0.92
newHandlerOptsFunction · 0.92

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…