Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EndpointGroups ¶
groups endpoints by their respective upstream name
type Interface ¶
type Interface interface {
// starts the discovery service
Run(stop <-chan struct{})
// tells the discovery to track endpoints for the given upstreams
TrackUpstreams(upstreams []*v1.Upstream)
// endpoint groups are pushed here whenever they are updated
Endpoints() <-chan EndpointGroups
// should show valid if the most recent update passed, otherwise a useful error
Error() <-chan error
}
Click to show internal directories.
Click to hide internal directories.