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

Function TestingBackupPollDuration

coderd/provisionerdserver/acquirer.go:58–62  ·  view source on GitHub ↗
(dur time.Duration)

Source from the content-addressed store, hash-verified

56type AcquirerOption func(*Acquirer)
57
58func TestingBackupPollDuration(dur time.Duration) AcquirerOption {
59 return func(a *Acquirer) {
60 a.backupPollDuration = dur
61 }
62}
63
64// AcquirerStore is the subset of database.Store that the Acquirer needs
65type AcquirerStore interface {

Callers 1

TestAcquirer_BackupPollFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected