poller

package
v0.0.0-...-a39b7f6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FatalError

type FatalError string

func (FatalError) Error

func (n FatalError) Error() string

type Poller

type Poller struct {
	Logger                 lager.Logger
	PollInterval           time.Duration
	RunBeforeFirstInterval bool

	SingleCycleFunc func() error
}

func (*Poller) Run

func (m *Poller) Run(signals <-chan os.Signal, ready chan<- struct{}) error

Jump to

Keyboard shortcuts

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