cruisecontrol

package
v0.0.0-...-146a38b Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: BSD-3-Clause, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NO_TASK = iota + 1
	EXECUTION_STARTED
	REPLICA_MOVEMENT_IN_PROGRESS
	LEADER_MOVEMENT_IN_PROGRESS
)

Variables

This section is empty.

Functions

func DownsizeCluster

func DownsizeCluster(cluster spec.Kafkacluster, brokerToDelete string) error

func GetCruiseControlStatus

func GetCruiseControlStatus(url string) (string, error)

Types

type CruiseControlExecuterState

type CruiseControlExecuterState int32

type CruiseControlMonitorState

type CruiseControlMonitorState int32

type CruiseControlState

type CruiseControlState struct {
	MonitorState      CruiseControlMonitorState
	ExecuterState     CruiseControlExecuterState
	ReplicasToMove    int
	FinshedReplicas   int
	BootstrapProgress int
	ValidPartitions   int
	TotalPartitions   int
	ProposalReady     bool
}

Jump to

Keyboard shortcuts

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