mds

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: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATUS_SUBURI  = "/vars/curvefs_mds_status"
	VERSION_SUBURI = "/vars/curve_version"
)

Variables

This section is empty.

Functions

func GetMdsStatus

func GetMdsStatus(caller *cobra.Command) (*interface{}, *tablewriter.Table, *cmderror.CmdError, cobrautil.ClUSTER_HEALTH_STATUS)

func NewMdsCommand

func NewMdsCommand() *cobra.Command

Types

type MdsCommand

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

func NewStatusMdsCommand

func NewStatusMdsCommand() *MdsCommand

func (*MdsCommand) AddFlags

func (mCmd *MdsCommand) AddFlags()

func (*MdsCommand) Init

func (mCmd *MdsCommand) Init(cmd *cobra.Command, args []string) error

func (*MdsCommand) Print

func (mCmd *MdsCommand) Print(cmd *cobra.Command, args []string) error

func (*MdsCommand) ResultPlainOutput

func (mCmd *MdsCommand) ResultPlainOutput() error

func (*MdsCommand) RunCommand

func (mCmd *MdsCommand) 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