highavailability

package
v0.6.0-beta.37 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ha

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

func NewHa

func NewHa(logger logger.Logger) *Ha

func (*Ha) DecreaseClusterReplicas

func (ha *Ha) DecreaseClusterReplicas(cluster *dcs.Cluster)

func (*Ha) IsHealthiestMember

func (ha *Ha) IsHealthiestMember(ctx context.Context, cluster *dcs.Cluster) bool

func (*Ha) RunCycle

func (ha *Ha) RunCycle()

func (*Ha) ShutdownWithWait

func (ha *Ha) ShutdownWithWait()

func (*Ha) Start

func (ha *Ha) Start()

Jump to

Keyboard shortcuts

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