MCPcopy Create free account
hub / github.com/zalando/skipper / Apply

Method Apply

routing/routing.go:172–172  ·  view source on GitHub ↗
(*LBContext)

Source from the content-addressed store, hash-verified

170// over the possible endpoints of a load balanced route.
171type LBAlgorithm interface {
172 Apply(*LBContext) LBEndpoint
173}
174
175// LBContext is used to pass data to the load balancer to decide based

Callers 9

selectEndpointMethod · 0.65
TestHostPatchFunction · 0.65
ServeHTTPMethod · 0.65
TestApplyFunction · 0.65
TestConsistentHashKeyFunction · 0.65
BenchmarkRandomAlgorithmFunction · 0.65
StartSpanMethod · 0.65

Implementers 6

Templateeskip/template.go
HostPatchnet/host.go
roundRobinloadbalancer/algorithm.go
randomloadbalancer/algorithm.go
consistentHashloadbalancer/algorithm.go
powerOfRandomNChoicesloadbalancer/algorithm.go

Calls

no outgoing calls

Tested by 6

TestHostPatchFunction · 0.52
TestApplyFunction · 0.52
TestConsistentHashKeyFunction · 0.52
BenchmarkRandomAlgorithmFunction · 0.52