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

Struct WorkspaceEvent

coderd/wspubsub/wspubsub.go:76–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76type WorkspaceEvent struct {
77 Kind WorkspaceEventKind `json:"kind"`
78 WorkspaceID uuid.UUID `json:"workspace_id" format:"uuid"`
79 // AgentID is only set for WorkspaceEventKindAgent* events
80 // (excluding AgentTimeout)
81 AgentID *uuid.UUID `json:"agent_id,omitempty" format:"uuid"`
82}
83
84type WorkspaceEventKind string
85

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected