Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLockHeldRunner

func SetLockHeldRunner(logger lager.Logger, notifier LockHeldMetronNotifier) ifrit.Runner

Types

type LockHeldMetronNotifier

type LockHeldMetronNotifier struct {
	// contains filtered or unexported fields
}

func NewLockHeldMetronNotifier

func NewLockHeldMetronNotifier(logger lager.Logger, ticker clock.Ticker, metronClient loggingclient.IngressClient) *LockHeldMetronNotifier

func (*LockHeldMetronNotifier) Run

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

func (*LockHeldMetronNotifier) SetLock

func (notifier *LockHeldMetronNotifier) SetLock()

func (*LockHeldMetronNotifier) UnsetLock

func (notifier *LockHeldMetronNotifier) UnsetLock()