Documentation ¶ Index ¶ type Delta func NewDelta(newMin, newMax, numClaimed, numPooled int64) (d Delta) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Delta ¶ type Delta struct { // Create defines the number of instances to spin up in the pool. // Value is positive. Create int64 // Delete defines the number of instances to shoot out of the pool. // Value is positive. Delete int64 } func NewDelta ¶ func NewDelta(newMin, newMax, numClaimed, numPooled int64) (d Delta) NewDelta computes the operations to be performed on a challenge update that resizes the pool. Expects all integers to be positive. Source Files ¶ View all Source files delta.go Click to show internal directories. Click to hide internal directories.