innodbcluster

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterStatus

type ClusterStatus string
const (
	ClusterStatusOK                   ClusterStatus = "OK"
	ClusterStatusOKPartial            ClusterStatus = "OK_PARTIAL"
	ClusterStatusOKNoTolerance        ClusterStatus = "OK_NO_TOLERANCE"
	ClusterStatusOKNoTolerancePartial ClusterStatus = "OK_NO_TOLERANCE_PARTIAL"
	ClusterStatusOffline              ClusterStatus = "OFFLINE"
)

func (ClusterStatus) IsOnline added in v1.3.0

func (s ClusterStatus) IsOnline() bool

type Member

type Member struct {
	Address        string      `json:"address"`
	MemberRole     MemberRole  `json:"memberRole"`
	MemberState    MemberState `json:"status"`
	InstanceErrors []string    `json:"instanceErrors"`
}

type MemberRole added in v0.9.0

type MemberRole string
const (
	MemberRolePrimary MemberRole = "PRIMARY"
)

type MemberState

type MemberState string
const (
	MemberStateOnline      MemberState = "ONLINE"
	MemberStateOffline     MemberState = "OFFLINE"
	MemberStateUnreachable MemberState = "UNREACHABLE"
	MemberStateMissing     MemberState = "(MISSING)"
)

type RecoveryMethod added in v0.12.0

type RecoveryMethod string
const (
	RecoveryClone       RecoveryMethod = "clone"
	RecoveryIncremental RecoveryMethod = "incremental"
)

type ReplicaGtidState added in v0.12.0

type ReplicaGtidState string
const (
	ReplicaGtidNew           ReplicaGtidState = "NEW"
	ReplicaGtidIdentical     ReplicaGtidState = "IDENTICAL"
	ReplicaGtidDiverged      ReplicaGtidState = "DIVERGED"
	ReplicaGtidRecoverable   ReplicaGtidState = "RECOVERABLE"
	ReplicaGtidIrrecoverable ReplicaGtidState = "IRRECOVERABLE"
)

type ReplicaSetStatus added in v0.6.0

type ReplicaSetStatus struct {
	Primary    string            `json:"primary"`
	SSL        string            `json:"ssl"`
	Status     ClusterStatus     `json:"status"`
	StatusText string            `json:"statusText"`
	Topology   map[string]Member `json:"topology"`
}

type Status

type Status struct {
	ClusterName       string           `json:"clusterName"`
	ClusterRole       string           `json:"clusterRole"`
	DefaultReplicaSet ReplicaSetStatus `json:"defaultReplicaSet"`
}

func (Status) String added in v0.6.0

func (s Status) String() string

Jump to

Keyboard shortcuts

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