Documentation
¶
Overview ¶
Package options defines NFS Provider flag options
Package options defines NFSProvider flag options
Index ¶
Constants ¶
View Source
const (
// DataPath defines directory of backup files
DataPath = "/data"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompressionType ¶
type CompressionType string
CompressionType defines type of compression for archival
type NFSProviderOptions ¶
type NFSProviderOptions struct {
NFSServiceFlags
}
NFSProviderOptions defines flag options
type NFSServiceFlags ¶
NFSServiceFlags defines flags for NFS Services
func NewNFSServiceFlags ¶
func NewNFSServiceFlags() *NFSServiceFlags
NewNFSServiceFlags creates new NFS Service flags
func (*NFSServiceFlags) AddFlags ¶
func (options *NFSServiceFlags) AddFlags(fs *pflag.FlagSet)
AddFlags exposes available command line options
func (*NFSServiceFlags) Apply ¶
func (options *NFSServiceFlags) Apply() error
Apply checks validity of available command line options
Click to show internal directories.
Click to hide internal directories.