server

package
v0.0.0-...-201f40d Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 8 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ganeshaLog, ganeshaPid, ganeshaConfig string) error

Run : run the NFS server in the foreground until it exits Ideally, it should never exit when run in foreground mode We force foreground to allow the provisioner process to restart the server if it crashes - daemonization prevents us from using Wait() for this purpose

func Setup

func Setup(ganeshaConfig string, gracePeriod uint, fsidDevice bool) error

Setup sets up various prerequisites and settings for the server. If an error is encountered at any point it returns it instantly

func Stop

func Stop()

Stop stops the NFS server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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