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

Function NewClientIP

predicates/source/source.go:84–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82func New() routing.PredicateSpec { return &spec{typ: source} }
83func NewFromLast() routing.PredicateSpec { return &spec{typ: sourceFromLast} }
84func NewClientIP() routing.PredicateSpec { return &spec{typ: clientIP} }
85
86func (s *spec) Name() string {
87 switch s.typ {

Callers 9

runFunction · 0.92
TestLoopbackWithClientIPFunction · 0.92
TestNameFunction · 0.85
TestCreateFunction · 0.85
BenchmarkClientIP10Function · 0.85
BenchmarkClientIP100Function · 0.85
BenchmarkClientIP1kFunction · 0.85
BenchmarkClientIP10kFunction · 0.85
BenchmarkClientIP100kFunction · 0.85

Calls

no outgoing calls

Tested by 8

TestLoopbackWithClientIPFunction · 0.74
TestNameFunction · 0.68
TestCreateFunction · 0.68
BenchmarkClientIP10Function · 0.68
BenchmarkClientIP100Function · 0.68
BenchmarkClientIP1kFunction · 0.68
BenchmarkClientIP10kFunction · 0.68
BenchmarkClientIP100kFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…