args

package
v0.113.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// contains filtered or unexported fields
}
var (
	RepositoryCreate        Args
	RepositoryConnectServer Args
	UserAddSet              Args
)

func (*Args) AppendToCmd

func (a *Args) AppendToCmd(cmd logsafe.Cmd) logsafe.Cmd

func (*Args) CommandAppliers

func (a *Args) CommandAppliers() []command.Applier

func (*Args) Set

func (a *Args) Set(key, value string)

type Cache

type Cache struct {
	CacheDirectory           string // the directory where cache is stored. Default is "/tmp/kopia-cache".
	ContentCacheSizeLimitMB  int    // the maximum size of the content cache in MB.
	MetadataCacheSizeLimitMB int    // the maximum size of the metadata cache in MB.

	// unused?
	ContentCacheSizeMB  int // the size of the content cache in MB.
	MetadataCacheSizeMB int // the size of the metadata cache in MB.
}

Cache provides the cache arguments for Kopia CLI.

type Common

type Common struct {
	ConfigFilePath string // the path to the config file.
	LogDirectory   string // the directory where logs are stored.
	LogLevel       string // the level of logging. Default is "error".
	RepoPassword   string // the password for the repository.
}

Common provides the common arguments for Kopia CLI.

Jump to

Keyboard shortcuts

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