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

Method InsertWorkspaceAgentLogSources

coderd/database/dbauthz/dbauthz.go:5949–5952  ·  view source on GitHub ↗
(ctx context.Context, arg database.InsertWorkspaceAgentLogSourcesParams)

Source from the content-addressed store, hash-verified

5947}
5948
5949func (q *querier) InsertWorkspaceAgentLogSources(ctx context.Context, arg database.InsertWorkspaceAgentLogSourcesParams) ([]database.WorkspaceAgentLogSource, error) {
5950 // TODO: This is used by the agent, should we have an rbac check here?
5951 return q.db.InsertWorkspaceAgentLogSources(ctx, arg)
5952}
5953
5954func (q *querier) InsertWorkspaceAgentLogs(ctx context.Context, arg database.InsertWorkspaceAgentLogsParams) ([]database.WorkspaceAgentLog, error) {
5955 // TODO: This is used by the agent, should we have an rbac check here?

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected