NewCNINetworkInterface creates the ContainerNetwork interface for the CNI backend.
Note: The networks are not loaded from disk until a method is called.
type InitConfig struct {
// CNIConfigDir is directory where the cni config files are stored. CNIConfigDir string// CNIPluginDirs is a list of directories where cni should look for the plugins. CNIPluginDirs []string// DefaultNetwork is the name for the default network. DefaultNetwork string// DefaultSubnet is the default subnet for the default network. DefaultSubnet string// IsMachine describes whenever podman runs in a podman machine environment. IsMachine bool// LockFile is the path to lock file. LockFile string
}