MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Writer

Interface Writer

pkg/cap/types_linux.go:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19package cap
20
21type Writer interface {
22 // Write accepts two channels. The event channel receives events pushed by the event source. When the event
23 // is peeked from the channel, it is serialized and written to the underlying byte buffer.
24 Write(chan *Event.Event, chan error) chan error
25 // Close disposes all resources allocated by the writer.
26 Close() error
27}
28
29// Reader offers the mechanism for recovering the state of the capture and replaying all captured events.
30type Reader interface {

Callers 7

PublishMethod · 0.95
NewWriterFunction · 0.95
TestWriteFunction · 0.95
TestLiveCaptureFunction · 0.95
PublishMethod · 0.95
TestWriteFunction · 0.95
TestLiveCaptureFunction · 0.95

Implementers 7

snapshotterpkg/handle/snapshotter.go
SnapshotterMockpkg/handle/snapshotter_mock.go
SnapshotterMockpkg/ps/snapshotter_mock.go
snapshotterpkg/ps/snapshotter_windows.go
writerpkg/cap/writer_windows.go
FrameBufferpkg/util/term/fb.go
NoopPsSnapshotterinternal/etw/source_test.go

Calls

no outgoing calls

Tested by

no test coverage detected