Documentation ¶
Index ¶
- Constants
- func MakeApplicationsCacheKey() string
- func MakeBucketCacheKey(name string) string
- func MakeCacheKey(namespace string, id string) string
- func MakeNamespaceCacheKey(namespace string) string
- func MakePeerCacheKey(hostname, ip string) string
- func MakeSchedulerCacheKey(clusterID uint, hostname, ip string) string
- func MakeSchedulersCacheKeyForPeer(hostname, ip string) string
- func MakeSeedPeerCacheKey(clusterID uint, hostname, ip string) string
- type Cache
Constants ¶
View Source
const ( // Seed Peer prefix of cache key. SeedPeerNamespace = "seed-peers" // Peer prefix of cache key. PeerNamespace = "peers" // Scheduler prefix of cache key. SchedulerNamespace = "schedulers" // Applications prefix of cache key. ApplicationsNamespace = "applications" // Buckets prefix of cache key. BucketsNamespace = "buckets" )
Variables ¶
This section is empty.
Functions ¶
func MakeApplicationsCacheKey ¶ added in v2.0.9
func MakeApplicationsCacheKey() string
Make applications cache key.
func MakeBucketCacheKey ¶ added in v2.0.9
Make cache key for bucket.
func MakeNamespaceCacheKey ¶ added in v2.0.9
Make namespace cache key.
func MakePeerCacheKey ¶ added in v2.0.3
Make cache key for peer.
func MakeSchedulerCacheKey ¶
Make cache key for scheduler.
func MakeSchedulersCacheKeyForPeer ¶ added in v2.0.5
Make schedulers cache key for peer.
func MakeSeedPeerCacheKey ¶ added in v2.0.3
Make cache key for seed peer.
Types ¶
Click to show internal directories.
Click to hide internal directories.