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

Method CountAuthorizedAuditLogs

coderd/database/modelqueries.go:474–474  ·  view source on GitHub ↗
(ctx context.Context, arg CountAuditLogsParams, prepared rbac.PreparedAuthorized)

Source from the content-addressed store, hash-verified

472type auditLogQuerier interface {
473 GetAuthorizedAuditLogsOffset(ctx context.Context, arg GetAuditLogsOffsetParams, prepared rbac.PreparedAuthorized) ([]GetAuditLogsOffsetRow, error)
474 CountAuthorizedAuditLogs(ctx context.Context, arg CountAuditLogsParams, prepared rbac.PreparedAuthorized) (int64, error)
475}
476
477func (q *sqlQuerier) GetAuthorizedAuditLogsOffset(ctx context.Context, arg GetAuditLogsOffsetParams, prepared rbac.PreparedAuthorized) ([]GetAuditLogsOffsetRow, error) {

Callers 3

CountAuditLogsMethod · 0.65
TestAuditLogsMethod · 0.65

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

TestAuditLogsMethod · 0.52