Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBlobOptions ¶
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 Options ¶
type Options struct { AzureBlobOptions AzureBlobOptions `group:"Azure Blob Options"` Replica ReplicaOptions `group:"Replica Options"` }
Options define the common options needed by this strata command
type ReplicaOptions ¶
type ReplicaOptions struct { MaxBackgroundCopies int `` /* 132-byte string literal not displayed */ Port int `long:"port" default:"27017" description:"Backup should look for a mongod instance that is listening on this port"` Username string `long:"username" description:"If auth is configured, specify the username with admin privileges here"` Password string `long:"password" description:"Password for the specified user."` }
ReplicaOptions are used for commands like backup and restore
Click to show internal directories.
Click to hide internal directories.