(ctx context.Context, arg database.InsertWorkspaceAgentDevcontainersParams)
| 5940 | } |
| 5941 | |
| 5942 | func (q *querier) InsertWorkspaceAgentDevcontainers(ctx context.Context, arg database.InsertWorkspaceAgentDevcontainersParams) ([]database.WorkspaceAgentDevcontainer, error) { |
| 5943 | if err := q.authorizeContext(ctx, policy.ActionCreate, rbac.ResourceWorkspaceAgentDevcontainers); err != nil { |
| 5944 | return nil, err |
| 5945 | } |
| 5946 | return q.db.InsertWorkspaceAgentDevcontainers(ctx, arg) |
| 5947 | } |
| 5948 | |
| 5949 | func (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? |
nothing calls this directly
no test coverage detected