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

Function testAccessEntry

logging/access_test.go:52–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func testAccessEntry() *AccessEntry {
53 return &AccessEntry{
54 Request: testRequest(nil),
55 ResponseSize: 2326,
56 StatusCode: http.StatusTeapot,
57 RequestTime: testDate(),
58 Duration: 42 * time.Millisecond,
59 AuthUser: ""}
60}
61
62func testAccessEntryWithQueryParameters(params url.Values) *AccessEntry {
63 testAccessEntry := testAccessEntry()

Callers 15

TestAccessLogWithContextFunction · 0.85
TestAccessLogFormatFullFunction · 0.85
TestAccessLogFormatJSONFunction · 0.85
TestUseXForwardedFunction · 0.85
TestUseXForwardedListFunction · 0.85
TestUseXForwardedJSONFunction · 0.85
TestPortFwd4Function · 0.85
TestPortFwd4LogPoisoningFunction · 0.85

Calls 2

testDateFunction · 0.85
testRequestFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…