MCPcopy Index your code
hub / github.com/quay/clair / String

Method String

config/enums_string.go:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19var _Mode_index = [...]uint8{0, 5, 12, 19, 27}
20
21func (i Mode) String() string {
22 if i < 0 || i >= Mode(len(_Mode_index)-1) {
23 return "Mode(" + strconv.FormatInt(int64(i), 10) + ")"
24 }
25 return _Mode_name[_Mode_index[i]:_Mode_index[i+1]]
26}
27func _() {
28 // An "invalid array index" compiler error signifies that the constant values have changed.
29 // Re-run the stringer command to generate them again.

Callers 15

StatusMethod · 0.45
NewRequestWithContextMethod · 0.45
GABIQueryMethod · 0.45
queryFunction · 0.45
TestUpdateEndpointsFunction · 0.45
TestIndexerV1Function · 0.45
withRequestIDFunction · 0.45
indexReportMethod · 0.45
testUpdateDiffMatcherFunction · 0.45

Calls 1

ModeTypeAlias · 0.85

Tested by 15

TestUpdateEndpointsFunction · 0.36
TestIndexerV1Function · 0.36
testUpdateDiffMatcherFunction · 0.36
RunMethod · 0.36