Documentation ¶
Index ¶
- Constants
- func GetClusterStatus() (interface{}, error)
- func NewClusterCommand() *cobra.Command
- type ClusterCommand
- func (cCmd *ClusterCommand) AddFlags()
- func (cCmd *ClusterCommand) Init(cmd *cobra.Command, args []string) error
- func (cCmd *ClusterCommand) Print(cmd *cobra.Command, args []string) error
- func (cCmd *ClusterCommand) ResultPlainOutput() error
- func (cCmd *ClusterCommand) RunCommand(cmd *cobra.Command, args []string) error
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 ¶
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
Click to show internal directories.
Click to hide internal directories.