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 MinioOptions ¶
type MinioOptions struct { Region string `short:"R" long:"region" description:"Minio region name, such as \"us-east-1\"" default:"us-east-1"` BucketName string `short:"b" long:"bucket" description:"Name of Minio bucket used to store the backups" required:"true"` BucketPrefix string `short:"p" long:"bucket-prefix" description:"Prefix used when storing and retrieving files. Optional" optional:"true"` }
MinioOptions are common to all commands
type Options ¶
type Options struct { Minio MinioOptions `group:"Minio Options"` Replica lrs3driver.ReplicaOptions `group:"Replica Options"` }
Options define the common options needed by this strata command
Click to show internal directories.
Click to hide internal directories.