nfs

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(mounter mounter.Mounter, volID string, configs map[string]string, mntOptions []string, targetPath string) error

func Unmount added in v0.9.2

func Unmount(mounter mounter.Mounter, volID string, configs map[string]string, targetPath string) error

Types

type NFSConnectionInfo

type NFSConnectionInfo struct {
	Hostname string
	Port     int
	Path     string
}

NFSConnectionInfo class

func GetConnectionInfo

func GetConnectionInfo(configs map[string]string) (*NFSConnectionInfo, error)

GetConnectionInfo returns NFSConnectionInfo value from param map

Jump to

Keyboard shortcuts

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