MCPcopy
hub / github.com/kubernetes/node-problem-detector / Push

Method Push

pkg/systemlogmonitor/log_buffer.go:29–29  ·  view source on GitHub ↗

Push pushes log into the log buffer.

(*types.Log)

Source from the content-addressed store, hash-verified

27type LogBuffer interface {
28 // Push pushes log into the log buffer.
29 Push(*types.Log)
30 // Match with regular expression in the log buffer.
31 Match(string) []*types.Log
32 // String returns a concatenated string of the buffered logs.

Callers 4

TestPushFunction · 0.95
TestMatchFunction · 0.95
parseLogMethod · 0.65
CountMethod · 0.65

Implementers 1

logBufferpkg/systemlogmonitor/log_buffer.go

Calls

no outgoing calls

Tested by 2

TestPushFunction · 0.76
TestMatchFunction · 0.76