MCPcopy Create free account
hub / github.com/cortexproject/cortex / AddressAdded

Method AddressAdded

pkg/util/dns_watcher.go:18–18  ·  view source on GitHub ↗

New address has been discovered by DNS watcher for supplied hostname.

(address string)

Source from the content-addressed store, hash-verified

16type DNSNotifications interface {
17 // New address has been discovered by DNS watcher for supplied hostname.
18 AddressAdded(address string)
19
20 // Previously-discovered address is no longer resolved for the hostname.
21 AddressRemoved(address string)

Callers 2

TestResetConcurrencyFunction · 0.65
watchDNSLoopMethod · 0.65

Implementers 2

frontendSchedulerWorkerspkg/frontend/v2/frontend_scheduler_wor
querierWorkerpkg/querier/worker/worker.go

Calls

no outgoing calls

Tested by 1

TestResetConcurrencyFunction · 0.52