Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MeshInsightKey ¶ added in v1.8.1
func MeshInsightKey(mesh string) model.ResourceKey
func NewResyncer ¶
NewResyncer creates a new Component that periodically updates insights for various policies (right now only for Mesh and services).
It operates with 2 timeouts: MinResyncTimeout and MaxResyncTimeout. Component guarantees resync won't happen more often than MinResyncTimeout. It also guarantees during MaxResyncTimeout at least one resync will happen. MinResyncTimeout is provided by RateLimiter. MaxResyncTimeout is provided by goroutine with Ticker, it runs resync every t = MaxResyncTimeout - MinResyncTimeout.
func ServiceInsightKey ¶ added in v1.8.1
func ServiceInsightKey(mesh string) model.ResourceKey
Types ¶
Click to show internal directories.
Click to hide internal directories.