defaults

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// DialTimeout is the timeout that is used when establishing a new
	// connection.
	DialTimeout = 5 * time.Second
	// RetryTimeout is the duration to wait between reconnection attempts.
	RetryTimeout = 30 * time.Second
	// HubbleTarget is the address of the local Hubble instance.
	HubbleTarget = "unix://" + ciliumDefaults.HubbleSockPath

	// SortBufferMaxLen is the max number of flows that can be buffered for
	// sorting before being sen to the client.
	SortBufferMaxLen = 100
	// SortBufferDrainTimeout is the rate at which flows are drained from the
	// sorting buffer when it is not full.
	SortBufferDrainTimeout = 1 * time.Second
	// ErrorAggregationWindow is the time window during which errors with the
	// same message are coalesced.
	ErrorAggregationWindow = 10 * time.Second
)

Variables

View Source
var (
	// ListenAddress is the address on which the Hubble Relay server listens
	// for incoming requests.
	ListenAddress = fmt.Sprintf(":%d", hubbledefaults.RelayPort)
)

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