MCPcopy
hub / github.com/grafana/dskit / WithJoinAfter

Function WithJoinAfter

ring/lifecycler_test.go:47–51  ·  view source on GitHub ↗

WithJoinAfter sets the join after period for the lifecycler config.

(period time.Duration)

Source from the content-addressed store, hash-verified

45
46// WithJoinAfter sets the join after period for the lifecycler config.
47func WithJoinAfter(period time.Duration) TestLifecyclerConfigOption {
48 return func(cfg *LifecyclerConfig) {
49 cfg.JoinAfter = period
50 }
51}
52
53// WithZone sets the zone for the lifecycler config.
54func WithZone(zone string) TestLifecyclerConfigOption {

Callers 1

TestLifecycler_ZonesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected