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

Method UpsertApplicationName

coderd/database/dbauthz/dbauthz.go:8010–8015  ·  view source on GitHub ↗
(ctx context.Context, value string)

Source from the content-addressed store, hash-verified

8008}
8009
8010func (q *querier) UpsertApplicationName(ctx context.Context, value string) error {
8011 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil {
8012 return err
8013 }
8014 return q.db.UpsertApplicationName(ctx, value)
8015}
8016
8017func (q *querier) UpsertBoundaryUsageStats(ctx context.Context, arg database.UpsertBoundaryUsageStatsParams) (bool, error) {
8018 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceBoundaryUsage); err != nil {

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95
UpsertApplicationNameMethod · 0.65

Tested by

no test coverage detected