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

Method Claim

coderd/prebuilds/api.go:66–66  ·  view source on GitHub ↗
(
		ctx context.Context,
		store database.Store,
		now time.Time,
		userID uuid.UUID,
		name string,
		presetID uuid.UUID,
		autostartSchedule sql.NullString,
		nextStartAt sql.NullTime,
		ttl sql.NullInt64,
	)

Source from the content-addressed store, hash-verified

64
65type Claimer interface {
66 Claim(
67 ctx context.Context,
68 store database.Store,
69 now time.Time,

Callers 1

claimPrebuildFunction · 0.65

Implementers 2

NoopClaimercoderd/prebuilds/noop.go
EnterpriseClaimerenterprise/coderd/prebuilds/claim.go

Calls

no outgoing calls

Tested by

no test coverage detected