Documentation ¶
Index ¶
Constants ¶
View Source
const ( HAKeeperTimeout = 2 * time.Second RefreshInterval = 15 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HAKeeperClientManager ¶
func NewManager ¶
func NewManager(kubeCli client.Client, logger logr.Logger) *HAKeeperClientManager
func (*HAKeeperClientManager) Close ¶
func (m *HAKeeperClientManager) Close()
type Handler ¶
type Handler struct { Client logservice.ProxyHAKeeperClient StoreCache *StoreCache }
type StoreCache ¶
type StoreCache struct {
// contains filtered or unexported fields
}
func NewCNCache ¶
func NewCNCache( client logservice.ProxyHAKeeperClient, refreshInterval time.Duration, logger logr.Logger) *StoreCache
func (*StoreCache) Close ¶
func (c *StoreCache) Close()
Click to show internal directories.
Click to hide internal directories.