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

Function wrapCNIError

pkg/netutil/netutil.go:506–509  ·  view source on GitHub ↗
(fileName string, err error)

Source from the content-addressed store, hash-verified

504}
505
506func wrapCNIError(fileName string, err error) error {
507 return fmt.Errorf("failed marshalling json out of network configuration file %q: %w\n"+
508 "For details on the schema, see https://pkg.go.dev/github.com/containernetworking/cni/libcni#NetworkConfigList", fileName, err)
509}
510
511func cniLoad(fileNames []string) (configList []*NetworkConfig, err error) {
512 var fileName string

Callers 1

cniLoadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…