sentinel

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommandRequeue = actor.CommandRequeue
	CommandAbort   = actor.CommandAbort
	CommandPaused  = actor.CommandPaused

	CommandEnsureResource actor.Command = actor.NewCommand(core.ValkeySentinel, "CommandEnsureResource")
	CommandHealPod        actor.Command = actor.NewCommand(core.ValkeySentinel, "CommandHealPod")
	CommandHealMonitor    actor.Command = actor.NewCommand(core.ValkeySentinel, "CommandHealMonitor")
)

Functions

func FindUnknownSentinel

func FindUnknownSentinel(ctx context.Context, inst types.SentinelInstance, logger logr.Logger) (map[string][]string, error)

func NeedResetSentinel

func NeedResetSentinel(ctx context.Context, name string, node types.SentinelNode, logger logr.Logger) (bool, error)

Types

type RuleEngine

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

func NewRuleEngine

func NewRuleEngine(client kubernetes.ClientSet, eventRecorder record.EventRecorder, logger logr.Logger) (*RuleEngine, error)

func (*RuleEngine) Inspect

func (g *RuleEngine) Inspect(ctx context.Context, val types.Instance) *actor.ActorResult

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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