Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector is responsible for fetching storage/retrieval records from external Powergate instances, and merging them in a unified database.
type Option ¶
type Option func(*config)
Option parametrizes a collector configuration.
func WithFetchLimit ¶
WithFetchLimit indicates the maximum record batch size to be fetched from targets.
func WithFetchTimeout ¶
WithFetchTimeout indicates the maximum amount of time that fetching from a target can take.
func WithFrequency ¶
WithFrequency indicates the frequency for the collector daemon.
func WithRunOnStart ¶
WithRunOnStart indicates if a collection should be fired on start.
Click to show internal directories.
Click to hide internal directories.