Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildCache ¶
type BuildCache struct {
// contains filtered or unexported fields
}
func NewBuildCache ¶
func NewBuildCache(size int) *BuildCache
func (*BuildCache) Add ¶
func (c *BuildCache) Add(key interface{}, id string, s models.TileStatus, d time.Duration)
func (*BuildCache) GetEstimatedDuration ¶
func (c *BuildCache) GetEstimatedDuration(key interface{}) *time.Duration
func (*BuildCache) GetPreviousStatus ¶
func (c *BuildCache) GetPreviousStatus(key interface{}, id string) *models.TileStatus
Get Previous Status excludes current status in case of multiple call with the same current build
Click to show internal directories.
Click to hide internal directories.