events

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisConfig

type RedisConfig struct {
	// contains filtered or unexported fields
}

type RedisEventMessage

type RedisEventMessage struct {
	// contains filtered or unexported fields
}

func NewRedisEventMessage

func NewRedisEventMessage(msg *goredis.Message) (RedisEventMessage, error)

type RedisInstanceDetails

type RedisInstanceDetails struct {
	// contains filtered or unexported fields
}

type SentinelEventWatcher

type SentinelEventWatcher struct {
	// contains filtered or unexported fields
}

func NewSentinelEventWatcher

func NewSentinelEventWatcher(sentinelURI string, instance client.Object, topology *sharded.Cluster,
	metrics bool, pool *redis.ServerPool) (*SentinelEventWatcher, error)

func (*SentinelEventWatcher) CanBeDeleted

func (sew *SentinelEventWatcher) CanBeDeleted() bool

func (*SentinelEventWatcher) Cleanup

func (sew *SentinelEventWatcher) Cleanup() error

func (*SentinelEventWatcher) GetID

func (sew *SentinelEventWatcher) GetID() string

func (*SentinelEventWatcher) IsStarted

func (sew *SentinelEventWatcher) IsStarted() bool

IsStarted returns whether the metrics gatherer is running or not

func (*SentinelEventWatcher) SetChannel

func (sew *SentinelEventWatcher) SetChannel(ch chan event.GenericEvent)

func (*SentinelEventWatcher) Start

func (sew *SentinelEventWatcher) Start(parentCtx context.Context, l logr.Logger) error

Start starts metrics gatherer for sentinel

func (*SentinelEventWatcher) Stop

func (sew *SentinelEventWatcher) Stop()

Stop stops the sentinel event watcher

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL