ticker

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

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 added in v0.11.1

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 added in v0.11.1

func (r *ResyncTicker) Start(quit <-chan struct{})

Start starts the ResyncTicker's configuration watcher in a goroutine which runs until the given channel is closed.

Jump to

Keyboard shortcuts

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