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

Method InsertWorkspaceAgentLogs

coderd/database/dbauthz/dbauthz.go:5954–5957  ·  view source on GitHub ↗
(ctx context.Context, arg database.InsertWorkspaceAgentLogsParams)

Source from the content-addressed store, hash-verified

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?
5956 return q.db.InsertWorkspaceAgentLogs(ctx, arg)
5957}
5958
5959func (q *querier) InsertWorkspaceAgentMetadata(ctx context.Context, arg database.InsertWorkspaceAgentMetadataParams) error {
5960 // We don't check for workspace ownership here since the agent metadata may

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected