componentstatus

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSnapshot

type ClientSnapshot struct {
	Elector   ElectorStatus
	Notifier  Status
	Producers map[string]Status
}

func (*ClientSnapshot) Copy

func (chs *ClientSnapshot) Copy() ClientSnapshot

func (*ClientSnapshot) Healthy

func (chs *ClientSnapshot) Healthy() bool

type ElectorStatus

type ElectorStatus int
const (
	ElectorNonLeader ElectorStatus = iota
	ElectorLeader
	ElectorResigning
)

type Status

type Status int
const (
	Uninitialized Status = iota
	Initializing
	Healthy
	Unhealthy
	ShuttingDown
	Stopped
)

func (Status) String

func (cs Status) String() string

Jump to

Keyboard shortcuts

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