lrldriver

package
v0.0.0-...-ae6cc27 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2018 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriverFactory

type DriverFactory struct {
	Ops *Options
}

DriverFactory implements strata.DriverFactory

func (DriverFactory) Driver

func (factory DriverFactory) Driver() (*strata.Driver, error)

Driver uses the DriverFactory's Options to construct a strata.Driver

func (DriverFactory) GetOptions

func (factory DriverFactory) GetOptions() interface{}

GetOptions returns the factory's Options

type FsOptions

type FsOptions struct {
	Mountpoint string `short:"m" long:"mpoint" description:"Mount point name, such as \"~/sbackup\"" default:"~/sbackup"`
}

FsOptions are common to all commands

type Options

type Options struct {
	LocalStorage FsOptions                 `group:"Storage Options"`
	Replica      lrs3driver.ReplicaOptions `group:"Replica Options"`
}

Options define the common options needed by this strata command

Jump to

Keyboard shortcuts

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