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

Method InsertVolumeResourceMonitor

coderd/database/querier.go:1007–1007  ·  view source on GitHub ↗
(ctx context.Context, arg InsertVolumeResourceMonitorParams)

Source from the content-addressed store, hash-verified

1005 InsertUserLink(ctx context.Context, arg InsertUserLinkParams) (UserLink, error)
1006 InsertUserSkill(ctx context.Context, arg InsertUserSkillParams) (UserSkill, error)
1007 InsertVolumeResourceMonitor(ctx context.Context, arg InsertVolumeResourceMonitorParams) (WorkspaceAgentVolumeResourceMonitor, error)
1008 // Inserts or updates a webpush subscription. The (user_id, endpoint) pair
1009 // is unique; re-subscribing the same endpoint replaces the keys instead of
1010 // inserting a duplicate row. This is the recovery path after a PWA reinstall

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 1

TestResourcesMonitorMethod · 0.52