package
0.1.4
Repository: https://github.com/uber/kraken.git
Documentation: pkg.go.dev

# Functions

Default returns a Checker which makes a GET request against /health.
NewBinaryFilter returns a new BinaryFilter that defaults to all-healthy.
NewFilter creates a new Filter.
NewManualFilter returns a new ManualFilter.
NewMonitor monitors the health of hosts using filter.
NewPassive returns a new Passive.
NewPassiveFilter creates a new PassiveFilter.
NoopFailed converts a hostlist.List to a List by making the Failed method a no-op.

# Structs

BinaryFilter is a filter which can be switched to all-healthy vs.
FilterConfig defines configuration for Filter.
IdentityFilter is a Filter which never filters out any addresses.
ManualFilter is a Filter whose unhealthy hosts can be manually changed.
Monitor performs active health checks asynchronously.
MonitorConfig defines configuration for Monitor.
Passive wraps a passive health check and can be used as a hostlist.List.
PassiveFilterConfig defines configuration for PassiveFilter.

# Interfaces

Checker runs a health check against an address.
Filter filters out unhealthy hosts from a host list.
List is a hostlist.List which can be passively health checked.
PassiveFilter filters unhealthy hosts passively by tracking failed requests to hosts.