options

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

type NFSServiceFlags struct {
	UnixSocketPath string
	DataPath       string
}

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

Jump to

Keyboard shortcuts

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