MCPcopy
hub / github.com/google/mtail / IgnoreFields

Function IgnoreFields

internal/testutil/diff.go:27–29  ·  view source on GitHub ↗
(typ interface{}, names ...string)

Source from the content-addressed store, hash-verified

25}
26
27func IgnoreFields(typ interface{}, names ...string) cmp.Option {
28 return cmpopts.IgnoreFields(typ, names...)
29}
30
31func SortSlices(lessFunc interface{}) cmp.Option {
32 return cmpopts.SortSlices(lessFunc)

Callers 9

TestRuntimeEndToEndFunction · 0.92
TestTailerOpenRetriesFunction · 0.92
TestAddStdinFunction · 0.92
TestHandleLogUpdateFunction · 0.92
TestHandleLogTruncateFunction · 0.92

Calls

no outgoing calls

Tested by 8

TestRuntimeEndToEndFunction · 0.74
TestTailerOpenRetriesFunction · 0.74
TestAddStdinFunction · 0.74
TestHandleLogUpdateFunction · 0.74
TestHandleLogTruncateFunction · 0.74