Documentation ¶
Overview ¶
Package ticker reintroduces the ticker concept. It contains a ticker implementation that is fully interacted through pubsub. It starts turned off by default and is run after dispatcher starts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResyncTicker ¶
type ResyncTicker struct {
// contains filtered or unexported fields
}
ResyncTicker is the type that implements a ticker to trigger internal system resyncs periodicially based on the configuration specified in the MeshConfig resource.
func NewResyncTicker ¶
func NewResyncTicker(msgBroker *messaging.Broker, minTickInterval time.Duration) *ResyncTicker
NewResyncTicker returns a ResyncTicker instance that is used to periodically trigger proxy config resyncs.
func (*ResyncTicker) Start ¶
func (r *ResyncTicker) Start(quit <-chan struct{}, resyncInterval time.Duration)
Start starts the ResyncTicker's configuration watcher in a goroutine which runs until the given channel is closed.
Click to show internal directories.
Click to hide internal directories.