constant

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CodeExitConfigError represents that the config provided can not be load successfully.
	CodeExitConfigError = 10 + iota
	// CodeExitUserHomeNotExist represents that the user home directory is not exist.
	CodeExitUserHomeNotExist
	// CodeExitPathNotAbs represents that the repo directory parsed from command-line is not absolute path.
	CodeExitPathNotAbs
	// CodeExitRateLimitInvalid represents that the rate limit is invalid.
	CodeExitRateLimitInvalid
	// CodeExitPortInvalid represents that the port is invalid.
	CodeExitPortInvalid
	// CodeExitDfgetNotFound represents that the dfget cannot be found.
	CodeExitDfgetNotFound
	// CodeExitRepoCreateFail represents that the repo directory is created failed.
	CodeExitRepoCreateFail
	// CodeExitDfgetFail represents that executing dfget failed.
	CodeExitDfgetFail
)
View Source
const (
	// CodeReqAuth represents that an authentication failure happens when executing dfget.
	CodeReqAuth = 100 + iota
)
View Source
const (
	// DefaultConfigPath the default path of dfdaemon configuration file.
	DefaultConfigPath = "/etc/dragonfly/dfdaemon.yml"
)

Variables

This section is empty.

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