volplugin

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaemonConfig

type DaemonConfig struct {
	Hostname   string
	Global     *config.Global
	Client     *config.Client
	API        *api.API
	PluginName string
}

DaemonConfig is the top-level configuration for the daemon. It is used by the cli package in volplugin/volplugin.

func NewDaemonConfig

func NewDaemonConfig(ctx *cli.Context) *DaemonConfig

NewDaemonConfig creates a DaemonConfig from the master host and hostname arguments.

func (*DaemonConfig) Daemon

func (dc *DaemonConfig) Daemon() error

Daemon starts the volplugin service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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