hook

package
v3.0.0-beta10 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllowedEvents = []string{
		"ArbitratorError",
		"EnterOverloadPeriod",
		"ForgetPeer",
		"HeartbeatAlive",
		"HeartbeatStale",
		"HeartbeatMessageTypeUpdated",
		"InstanceMonitorAction",
		"LeaveOverloadPeriod",
		"NodeAlive",
		"NodeFrozen",
		"NodeSplitAction",
		"NodeStale",
	}
)

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(drainDuration time.Duration, subQS pubsub.QueueSizer) *Manager

func (*Manager) Start

func (t *Manager) Start(parent context.Context) error

func (*Manager) Stop

func (t *Manager) Stop() error

Jump to

Keyboard shortcuts

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