- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ConfFiles (0.15 sec)
-
cni/pkg/install/cniconfig.go
// https://github.com/kubernetes/kubernetes/blob/954996e231074dc7429f7be1256a579bedd8344c/pkg/kubelet/dockershim/network/cni/cni.go#L144-L184 func getDefaultCNINetwork(confDir string) (string, error) { files, err := libcni.ConfFiles(confDir, []string{".conf", ".conflist"}) switch { case err != nil: return "", err case len(files) == 0: return "", fmt.Errorf("no networks found in %s", confDir) } sort.Strings(files)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 8.2K bytes - Viewed (0)