Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface {
SetPostBuildCallback(func())
}
Builder can tell us when a build takes place.
type Scheduler ¶
type Scheduler struct { *Throttler // contains filtered or unexported fields }
Scheduler periodically updates the Spack buildcache index.
type Throttler ¶
Throttler lets you run a function limited to certain times.
func NewThrottle ¶
NewThrottle returns a Throttler. Setting requiresSignal to true means that you must call Signal() for op to be run in the next period.
func (*Throttler) Signal ¶
func (t *Throttler) Signal()
Signal allows our op to be run when the next period starts, if we were configured with requiresSignal.
Click to show internal directories.
Click to hide internal directories.