 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
	// contains filtered or unexported fields
}
    Cache is a generic cache store.
func (*Cache) Get ¶
func (c *Cache) Get(ctx context.Context, index string, fetchIndex string, opts *api.Options) (interface{}, error)
Get returns the cache item from the store given the index. Will populate the cache if the index does not currently exist.
func (*Cache) StartGarbageCollector ¶
StartGarbageCollector is a blocking func that will run the garbage collector against the cache.
 Click to show internal directories. 
   Click to hide internal directories.