server

package
v5.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v1.8.0

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 added in v1.8.0

func Setup(ganeshaConfig string, gracePeriod uint) 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