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

Method CommitQuota

provisionerd/provisionerd_test.go:1345–1352  ·  view source on GitHub ↗
(ctx context.Context, com *proto.CommitQuotaRequest)

Source from the content-addressed store, hash-verified

1343}
1344
1345func (p *provisionerDaemonTestServer) CommitQuota(ctx context.Context, com *proto.CommitQuotaRequest) (*proto.CommitQuotaResponse, error) {
1346 if p.commitQuota == nil {
1347 return &proto.CommitQuotaResponse{
1348 Ok: true,
1349 }, nil
1350 }
1351 return p.commitQuota(ctx, com)
1352}
1353
1354func (p *provisionerDaemonTestServer) UpdateJob(ctx context.Context, update *proto.UpdateJobRequest) (*proto.UpdateJobResponse, error) {
1355 return p.updateJob(ctx, update)

Callers

nothing calls this directly

Calls 1

commitQuotaMethod · 0.80

Tested by

no test coverage detected