nfs

package
v0.0.0-...-8ebd443 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSystemDefaultNFSVersion

func GetSystemDefaultNFSVersion(configDir string) (major, minor int, err error)

GetSystemDefaultNFSVersion reads the system default NFS version. This config can be overridden by nfsmount.conf under configDir. If configDir is empty, it will be /etc by default. If the nfsmount.conf is absent, or the default version is not overridden in the configuration file, a wrapped ErrNotConfigured error will be returned. It is possible for the caller to tell if the configuration is overridden by errors.Is(err, types.ErrNotConfigured).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL