MCPcopy
hub / github.com/tailscale/tailscale / Write

Method Write

logtail/buffer.go:29–29  ·  view source on GitHub ↗

Write writes a log line into the ring buffer. Implementations must not retain the provided buffer.

([]byte)

Source from the content-addressed store, hash-verified

27 // Write writes a log line into the ring buffer.
28 // Implementations must not retain the provided buffer.
29 Write([]byte) (int, error)
30}
31
32func NewMemoryBuffer(numEntries int) Buffer {

Callers 15

TestMapFrameSizeTooLargeFunction · 0.95
TestCVE202143565Function · 0.95
buildAuditNetlinkMessageFunction · 0.95
mainFunction · 0.95
genGoDocFunction · 0.95
GetBaseConfigMethod · 0.95
setNDBSuffixFunction · 0.95
printGoroutinesFunction · 0.95
marshalMultiStatusFunction · 0.95
WriteMethod · 0.65

Implementers 2

memBufferlogtail/buffer.go
Filchlogtail/filch/filch.go

Calls

no outgoing calls

Tested by 15

TestMapFrameSizeTooLargeFunction · 0.76
TestCVE202143565Function · 0.76
TestUserDialSelfFunction · 0.52
mkHashFunction · 0.52
ServeHTTPMethod · 0.52
WriteMethod · 0.52
sinkReadsFunction · 0.52
TestInteropClientFunction · 0.52
TestInteropServerFunction · 0.52
noiseExplorerClientFunction · 0.52
noiseExplorerServerFunction · 0.52