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

Struct logBuffer

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

Source from the content-addressed store, hash-verified

34}
35
36type logBuffer struct {
37 // buffer is a simple ring buffer.
38 buffer []*types.Log
39 msg []string
40 max int
41 current int
42}
43
44// NewLogBuffer creates log buffer with max line number limit. Because we only match logs
45// in the log buffer, the max buffer line number is also the max pattern line number we

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected