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

Method EventType

coderd/usage/usagetypes/events.go:122–122  ·  view source on GitHub ↗

to prevent external types from implementing this interface

()

Source from the content-addressed store, hash-verified

120type Event interface {
121 usageEvent() // to prevent external types from implementing this interface
122 EventType() UsageEventType
123 Valid() error
124 Fields() map[string]any // fields to be marshaled and sent to tallyman/Metronome
125}

Callers 5

TestParseEventWithTypeFunction · 0.65
TestInserterFunction · 0.65
runMethod · 0.65

Implementers 2

DCManagedAgentsV1coderd/usage/usagetypes/events.go
HBAISeatscoderd/usage/usagetypes/events.go

Calls

no outgoing calls

Tested by 2

TestParseEventWithTypeFunction · 0.52
TestInserterFunction · 0.52