(ctx context.Context, arg database.InsertMCPServerConfigParams)
| 5634 | } |
| 5635 | |
| 5636 | func (q *querier) InsertMCPServerConfig(ctx context.Context, arg database.InsertMCPServerConfigParams) (database.MCPServerConfig, error) { |
| 5637 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
| 5638 | return database.MCPServerConfig{}, err |
| 5639 | } |
| 5640 | return q.db.InsertMCPServerConfig(ctx, arg) |
| 5641 | } |
| 5642 | |
| 5643 | func (q *querier) InsertMemoryResourceMonitor(ctx context.Context, arg database.InsertMemoryResourceMonitorParams) (database.WorkspaceAgentMemoryResourceMonitor, error) { |
| 5644 | if err := q.authorizeContext(ctx, policy.ActionCreate, rbac.ResourceWorkspaceAgentResourceMonitor); err != nil { |
nothing calls this directly
no test coverage detected