Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHarborClient ¶
func GetHarborClient() (*redis.Client, error)
GetHarborClient returns the harbor redis client.
func GetRedisPool ¶
GetRedisPool get a named redis pool supported rawurl redis://user:pass@redis_host:port/db redis+sentinel://user:pass@redis_sentinel1:port1,redis_sentinel2:port2/monitor_name/db?idle_timeout_seconds=100
func GetRegistryClient ¶
func GetRegistryClient() (*redis.Client, error)
GetRegistryClient returns the registry redis client.
Types ¶
Click to show internal directories.
Click to hide internal directories.