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.
Click to show internal directories.
Click to hide internal directories.