Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceInfoCache ¶ added in v2.3.0
type ResourceInfoCache interface { Get(key string) (*provider.ResourceInfo, error) GetKeys(keys []string) ([]*provider.ResourceInfo, error) Set(key string, info *provider.ResourceInfo) error SetWithExpire(key string, info *provider.ResourceInfo, expiration time.Duration) error }
ResourceInfoCache is the interface to implement caches for resource infos
type Warmup ¶
type Warmup interface {
GetResourceInfos() ([]*provider.ResourceInfo, error)
}
Warmup is the interface to implement cache warmup strategies.
Click to show internal directories.
Click to hide internal directories.