Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
type Communicator ¶
type Communicator struct { ServerAddr string ConnectTimeout time.Duration ReconnectInterval time.Duration Token string ObserverID string Logger logr.Logger ConfigUpdate chan<- *protocol.ServerPushInfo StateReport <-chan *protocol.Observation // contains filtered or unexported fields }
func (*Communicator) Run ¶
func (c *Communicator) Run(ctx context.Context)
Run blocks until StateReport or ctx is closed
type Pinger ¶
type Pinger struct { Logger logr.Logger Output chan<- *protocol.Observation Interval time.Duration // contains filtered or unexported fields }
func (*Pinger) UpdateTargets ¶
Click to show internal directories.
Click to hide internal directories.