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

Method Valid

coderd/usage/usagetypes/events.go:123–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}
126

Callers 3

ValidMethod · 0.65
ParseEventFunction · 0.65
TestTallymanV1UsageEventFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

TestTallymanV1UsageEventFunction · 0.52