Documentation ¶
Index ¶
- Constants
- func GetMdsStatus(caller *cobra.Command) (*interface{}, *cmderror.CmdError, cobrautil.ClUSTER_HEALTH_STATUS)
- func NewMdsCommand() *cobra.Command
- type MdsCommand
- func (mCmd *MdsCommand) AddFlags()
- func (mCmd *MdsCommand) Init(cmd *cobra.Command, args []string) error
- func (mCmd *MdsCommand) Print(cmd *cobra.Command, args []string) error
- func (mCmd *MdsCommand) ResultPlainOutput() error
- func (mCmd *MdsCommand) RunCommand(cmd *cobra.Command, args []string) error
Constants ¶
View Source
const ( STATUS_SUBURI = "/vars/mds_status" VERSION_SUBURI = "/vars/curve_version" )
Variables ¶
This section is empty.
Functions ¶
func GetMdsStatus ¶
func NewMdsCommand ¶
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) ResultPlainOutput ¶
func (mCmd *MdsCommand) ResultPlainOutput() error
func (*MdsCommand) RunCommand ¶
func (mCmd *MdsCommand) RunCommand(cmd *cobra.Command, args []string) error
Click to show internal directories.
Click to hide internal directories.