Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheBasedFetchManager ¶
type CacheBasedFetchManager struct {
// contains filtered or unexported fields
}
One of these exists off of the top-level API object.
type Fetcher ¶
type Fetcher struct { FetchFn func(db *gorm.DB, gtRevision uint64) (fetchmgr.ResourceList, error) FetchFromTailCache bool ReadPos uint64 // contains filtered or unexported fields }
Created by CacheBasedFetchManager.Open() The same Cache key can be opened multiple times. Each client that uses the same cache has its own instance of Fetcher, and they all point to the same Cache.
Click to show internal directories.
Click to hide internal directories.