MCPcopy Index your code
hub / github.com/coder/coder / Flush

Method Flush

agent/agentcontainers/api.go:306–306  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

304type ScriptLogger interface {
305 Send(ctx context.Context, log ...agentsdk.Log) error
306 Flush(ctx context.Context) error
307}
308
309// noopScriptLogger is a no-op implementation of the ScriptLogger

Callers 15

ServerSentEventSenderFunction · 0.65
FlushMethod · 0.65
FlushMethod · 0.65
FlushMethod · 0.65

Implementers 5

ScriptLoggercodersdk/agentsdk/logs.go
executeOptionTestLoggeragent/agentscripts/agentscripts_test.g
noopScriptLoggeragent/agentscripts/agentscripts_test.g
fakeScriptLoggeragent/agentscripts/agentscripts_test.g
noopScriptLoggeragent/agentcontainers/api.go

Calls

no outgoing calls

Tested by 10

FlushMethod · 0.52
FlushMethod · 0.52
FlushMethod · 0.52
FlushMethod · 0.52
TestCreateZipFromTarFunction · 0.52