metaserver

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/pid"
	VERSION_SUBURI = "/vars/curve_version"
)

Variables

This section is empty.

Functions

func GetMetaserverStatus

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

func NewMetaserverCommand

func NewMetaserverCommand() *cobra.Command

Types

type MetaserverCommand

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

func NewStatusMetaserverCommand

func NewStatusMetaserverCommand() *MetaserverCommand

func (*MetaserverCommand) AddFlags

func (mCmd *MetaserverCommand) AddFlags()

func (*MetaserverCommand) Init

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

func (*MetaserverCommand) Print

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

func (*MetaserverCommand) ResultPlainOutput

func (mCmd *MetaserverCommand) ResultPlainOutput() error

func (*MetaserverCommand) RunCommand

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