Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ManagerName is name of manager. ManagerName = "manager" // SchedulerName is name of scheduler. SchedulerName = "scheduler" // DfdaemonName is name of dfdaemon. DfdaemonName = "dfdaemon" // DaemonName is daemon name of dfdaemon. DaemonName = "daemon" // DfgetName is dfget name of dfdaemon. DfgetName = "dfget" // DfcacheName is dfcache name of dfdaemon. DfcacheName = "dfcache" // DfstoreName is dfstore name of dfdaemon. DfstoreName = "dfstore" )
View Source
const ( // SourcePattern is back-to-source download pattern. SourcePattern = "source" // SeedPeerPattern is seed peer download pattern. SeedPeerPattern = "seed-peer" // P2PPattern is p2p download pattern. P2PPattern = "p2p" )
View Source
const ( // MetricsNamespace is namespace of metrics. MetricsNamespace = "dragonfly" // ManagerMetricsName is name of manager metrics. ManagerMetricsName = "manager" // SchedulerMetricsName is name of scheduelr metrics. SchedulerMetricsName = "scheduler" // DfdaemonMetricsName is name of dfdaemon metrics. DfdaemonMetricsName = "dfdaemon" )
View Source
const (
// AffinitySeparator is separator of affinity.
AffinitySeparator = "|"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PEMContent ¶
type PEMContent string
PEMContent supports load PEM format from file or just inline PEM format content
func (*PEMContent) UnmarshalJSON ¶
func (p *PEMContent) UnmarshalJSON(b []byte) error
func (*PEMContent) UnmarshalYAML ¶
func (p *PEMContent) UnmarshalYAML(node *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.