volumedriver

package
v0.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2015 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const MOD_ADDR = "unix:///run/docker/plugins/rexray-local.sock"
View Source
const MOD_DESC = "The REX-Ray Docker VolumeDriver module"
View Source
const MOD_NAME = "DockerVolumeDriverModule"
View Source
const MOD_PORT = 7980

Variables

View Source
var (
	ErrMissingHost      = errors.New("Missing host parameter")
	ErrBadHostSpecified = errors.New("Bad host specified, ie. unix:///run/docker/plugins/rexray.sock or tcp://127.0.0.1:8080")
	ErrBadProtocol      = errors.New("Bad protocol specified with host, ie. unix:// or tcp://")
)

Functions

func Init

func Init(id int32, cfg *module.ModuleConfig) (module.Module, error)

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func (*Module) Address

func (mod *Module) Address() string

func (*Module) Description

func (mod *Module) Description() string

func (*Module) Id

func (mod *Module) Id() int32

func (*Module) Name

func (mod *Module) Name() string

func (*Module) Start

func (mod *Module) Start() error

func (*Module) Stop

func (mod *Module) Stop() error

Jump to

Keyboard shortcuts

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