constants

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: GPL-3.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	CommandBackup    = "backup"
	CommandCheck     = "check"
	CommandForget    = "forget"
	CommandInit      = "init"
	CommandPrune     = "prune"
	CommandSnapshots = "snapshots"
	CommandMount     = "mount"
)

Restic commands

View Source
const (
	DefaultConfigurationFile = "profiles"
	DefaultProfileName       = "default"
	DefaultCommand           = "snapshots"
	DefaultResticBinary      = "restic"
	DefaultTheme             = "light"
	DefaultIONiceFlag        = false
	DefaultNiceFlag          = 0
	DefaultVerboseFlag       = false
	DefaultQuietFlag         = false
	DefaultMinMemory         = 100
)

Configuration defaults

View Source
const (
	FlagAsChild = "as-child"
	FlagPort    = "parent-port"
)

resticprofile flag

View Source
const (
	ParameterIONice         = "ionice"
	ParameterIONiceClass    = "ionice-class"
	ParameterIONiceLevel    = "ionice-level"
	ParameterNice           = "nice"
	ParameterPriority       = "priority"
	ParameterDefaultCommand = "default-command"
	ParameterInitialize     = "initialize"
	ParameterResticBinary   = "restic-binary"
	ParameterInherit        = "inherit"
	ParameterHost           = "host"
	ParameterPath           = "path"
)

Parameter

View Source
const (
	SectionConfigurationGlobal      = "global"
	SectionConfigurationRetention   = "retention"
	SectionConfigurationEnvironment = "env"
	SectionConfigurationGroups      = "groups"

	SectionDefinitionCommon = "common"
	SectionDefinitionForget = "forget"
)

Section

View Source
const (
	SchedulePermissionUser   = "user"
	SchedulePermissionSystem = "system"
)

Parameter values

Variables

View Source
var (
	// PriorityValues is the map between the name and the value
	PriorityValues = map[string]int{
		"idle":       priority.Idle,
		"background": priority.Background,
		"low":        priority.Low,
		"normal":     priority.Normal,
		"high":       priority.High,
		"highest":    priority.Highest,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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