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 implements tenant/cache.Interface.
type Config ¶
type Config struct { // CacheTickSeconds is a delay before attempts to refresh the cache. CacheTickSeconds int }
Config represents configuration for the tenant cache.
type Interface ¶
type Interface interface { // Starts synchronization loop // which maintains the store. // Returns update channel. // Update channel receives notifications // when change in a store detected. Run(stop <-chan struct{}) <-chan string // Returns a list of objects in cache. List() []common.Tenant }
Interface defines tenant cache behavior.
Click to show internal directories.
Click to hide internal directories.