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 ( // Namespace is the prefix of metrics namespace of dragonfly Namespace = "dragonfly" // Subsystem represents metrics for dfdaemon Subsystem = "dfdaemon" )
View Source
const ( // CodeReqAuth represents that an authentication failure happens when executing dfget. CodeReqAuth = 100 + iota )
View Source
const (
// DefaultConfigPath is 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.
Click to show internal directories.
Click to hide internal directories.