Documentation ¶
Index ¶
- func Add(exportsFile string, identifier string, export string) ([]byte, error)
- func Exists(exportsFile string, identifier string) (bool, error)
- func List(exportsFile string) (map[string]string, error)
- func ListAll(exportsFile string) ([]string, error)
- func ReloadDaemon() error
- func Remove(exportsFile string, identifier string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exists ¶
Exists checks the existence of a given export The export must, however, have been created by this library using Add
func List ¶
List returns the list of exports *created by* nfsexports This means other exports might be present in the file but won't be returned by this function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.