cluster

package
v0.0.0-...-46d4b59 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TYPE_ETCD        = "etcd"
	TYPE_MDS         = "mds"
	TYPE_CHUNKSERVER = "chunkserver"
	TYPE_SNAPSHOT    = "snapshot"
	TYPE_COPYSET     = "copyset"
	TYPE_SPACE       = "space"
)

Variables

This section is empty.

Functions

func GetClusterStatus

func GetClusterStatus() (interface{}, error)

func NewClusterCommand

func NewClusterCommand() *cobra.Command

Types

type ClusterCommand

type ClusterCommand struct {
	basecmd.FinalCurveCmd
	// contains filtered or unexported fields
}

func NewStatusClusterCommand

func NewStatusClusterCommand() *ClusterCommand

func (*ClusterCommand) AddFlags

func (cCmd *ClusterCommand) AddFlags()

func (*ClusterCommand) Init

func (cCmd *ClusterCommand) Init(cmd *cobra.Command, args []string) error

func (*ClusterCommand) Print

func (cCmd *ClusterCommand) Print(cmd *cobra.Command, args []string) error

func (*ClusterCommand) ResultPlainOutput

func (cCmd *ClusterCommand) ResultPlainOutput() error

func (*ClusterCommand) RunCommand

func (cCmd *ClusterCommand) RunCommand(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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