Skip to content

Commit 45f465d

Browse files
committed
make gen
1 parent 7207ede commit 45f465d

File tree

6 files changed

+143
-0
lines changed

6 files changed

+143
-0
lines changed

coderd/database/dbauthz/dbauthz.go

+8
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,10 @@ func (q *querier) FetchMemoryResourceMonitorsByAgentID(ctx context.Context, agen
14381438
return q.db.FetchMemoryResourceMonitorsByAgentID(ctx, agentID)
14391439
}
14401440

1441+
func (q *querier) FetchMemoryResourceMonitorsUpdatedAfter(ctx context.Context, updatedAt time.Time) ([]database.WorkspaceAgentMemoryResourceMonitor, error) {
1442+
panic("not implemented")
1443+
}
1444+
14411445
func (q *querier) FetchNewMessageMetadata(ctx context.Context, arg database.FetchNewMessageMetadataParams) (database.FetchNewMessageMetadataRow, error) {
14421446
if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceNotificationMessage); err != nil {
14431447
return database.FetchNewMessageMetadataRow{}, err
@@ -1459,6 +1463,10 @@ func (q *querier) FetchVolumesResourceMonitorsByAgentID(ctx context.Context, age
14591463
return q.db.FetchVolumesResourceMonitorsByAgentID(ctx, agentID)
14601464
}
14611465

1466+
func (q *querier) FetchVolumesResourceMonitorsUpdatedAfter(ctx context.Context, updatedAt time.Time) ([]database.WorkspaceAgentVolumeResourceMonitor, error) {
1467+
panic("not implemented")
1468+
}
1469+
14621470
func (q *querier) GetAPIKeyByID(ctx context.Context, id string) (database.APIKey, error) {
14631471
return fetch(q.log, q.auth, q.db.GetAPIKeyByID)(ctx, id)
14641472
}

coderd/database/dbmem/dbmem.go

+8
Original file line numberDiff line numberDiff line change
@@ -2391,6 +2391,10 @@ func (q *FakeQuerier) FetchMemoryResourceMonitorsByAgentID(_ context.Context, ag
23912391
return database.WorkspaceAgentMemoryResourceMonitor{}, sql.ErrNoRows
23922392
}
23932393

2394+
func (q *FakeQuerier) FetchMemoryResourceMonitorsUpdatedAfter(ctx context.Context, updatedAt time.Time) ([]database.WorkspaceAgentMemoryResourceMonitor, error) {
2395+
panic("not implemented")
2396+
}
2397+
23942398
func (q *FakeQuerier) FetchNewMessageMetadata(_ context.Context, arg database.FetchNewMessageMetadataParams) (database.FetchNewMessageMetadataRow, error) {
23952399
err := validateDatabaseType(arg)
23962400
if err != nil {
@@ -2435,6 +2439,10 @@ func (q *FakeQuerier) FetchVolumesResourceMonitorsByAgentID(_ context.Context, a
24352439
return monitors, nil
24362440
}
24372441

2442+
func (q *FakeQuerier) FetchVolumesResourceMonitorsUpdatedAfter(ctx context.Context, updatedAt time.Time) ([]database.WorkspaceAgentVolumeResourceMonitor, error) {
2443+
panic("not implemented")
2444+
}
2445+
24382446
func (q *FakeQuerier) GetAPIKeyByID(_ context.Context, id string) (database.APIKey, error) {
24392447
q.mutex.RLock()
24402448
defer q.mutex.RUnlock()

coderd/database/dbmetrics/querymetrics.go

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/dbmock/dbmock.go

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/querier.go

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries.sql.go

+81
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)