types

package
v2.0.7-beta.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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"
)

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

Jump to

Keyboard shortcuts

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