Documentation ¶
Index ¶
- type Manager
- func (r *Manager) AddCookie(jsession, endpoint string) error
- func (r *Manager) Clean(endpoints []string) error
- func (r *Manager) GetEndpoint(jsession string, updateExpire bool) (string, error)
- func (r *Manager) RemoveEndpoint(endpoint string) error
- func (r *Manager) Start() error
- func (r *Manager) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { // The master name. MasterName string // A seed list of host:port addresses of sentinel nodes. SentinelAddrs []string RedisMaxRetries int RedisMinRetryBackoff time.Duration RedisMaxRetryBackoff time.Duration // The namespace for the keys, default of WLS-ING: // If set, this is what will get prepended to all redis keys RedisNamespacePrefix string // contains filtered or unexported fields }
Manager describes the interface into redis
func (*Manager) GetEndpoint ¶
GetEndpoint returns the endpoint (IP Address) for the jsession cookie
func (*Manager) RemoveEndpoint ¶
RemoveEndpoint removes the cookie entries for the endpoint when its pod goes away
Click to show internal directories.
Click to hide internal directories.