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

Struct MockAuditor

coderd/audit/audit.go:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45type MockAuditor struct {
46 mutex sync.Mutex
47 auditLogs []database.AuditLog
48}
49
50// ResetLogs removes all audit logs from the mock auditor.
51// This is helpful for testing to get a clean slate.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected