daemonenv

package
v0.0.0-...-ffd2651 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HTTPPort = 1215

	DrainChanDuration = 40 * time.Millisecond

	// ImonDelayDuration is the minimum for new imon publication
	ImonDelayDuration = 250 * time.Millisecond

	// ReadyDuration define the minimum time to wait during the startup of an instance object by imon
	// The ready duration impacts the durations involved during daemon cluster split analyse (see nmon spit
	// detection details).
	ReadyDuration = 5 * time.Second

	// Username is the current username, or "root" if user.Current has error
	Username string

	// Groupname is the current group name from user.Current, or "root" if user.LookupGroupId has error
	Groupname string

	// HTTPUnixFileBasename is the basename of http listener unix socket
	HTTPUnixFileBasename = "http.sock"
)
View Source
var (
	// SubQSSmall is the daemon subscription small queue size
	SubQSSmall uint64 = 200
	// SubQSSmall is the daemon subscription medium queue size
	SubQSMedium uint64 = 1000
	// SubQSSmall is the daemon subscription large queue size
	SubQSLarge uint64 = 20000
	// SubQSHuge is the daemon subscription huge queue size
	SubQSHuge uint64 = 40000
)

Functions

func CACertChainFile

func CACertChainFile() string

func CAKeyFile

func CAKeyFile() string

func CAsCertFile

func CAsCertFile() string

func CertChainFile

func CertChainFile() string

func CertFile

func CertFile() string

func HTTPLocalURL

func HTTPLocalURL() string

func HTTPNodeAndPortURL

func HTTPNodeAndPortURL(node, port string) string

func HTTPNodeURL

func HTTPNodeURL(node string) string

func HTTPUnixFile

func HTTPUnixFile() string

func HTTPUnixURL

func HTTPUnixURL() string

func KeyFile

func KeyFile() string

func ProfileUnixFile

func ProfileUnixFile() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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