driver

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//MountTimeout timeout before killing a mount try in seconds
	MountTimeout = 30
	//CfgVersion current config version compat
	CfgVersion = 2
	//CfgFolder config folder
	CfgFolder = "/etc/docker-volumes/gluster/"
)

Functions

func GetMountName added in v1.0.9

func GetMountName(d *basic.Driver, r *volume.CreateRequest) (string, error)

GetMountName get moint point base on request and driver config (mountUniqName)

Types

type GlusterDriver

type GlusterDriver = basic.Driver

GlusterDriver docker volume plugin driver extension of basic plugin

func Init

func Init(root string, mountUniqName bool) *GlusterDriver

Init start all needed deps and serve response to API call

Jump to

Keyboard shortcuts

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