Documentation ¶
Index ¶
- Constants
- func Start(confFilePath string)
- type CLI
- func (cli *CLI) GetClusterNodeId() (string, error)
- func (cli *CLI) GetNodeStats(nodeId string)
- func (cli *CLI) GetNodeSyncStatus(nodeId string)
- func (cli *CLI) PerformDel(collectionName string, key string)
- func (cli *CLI) PerformGet(collectionName string, key string)
- func (cli *CLI) PerformLocate(key string)
- func (cli *CLI) PerformScan(collectionName string, startFromKey string, numberOfResults int, ...)
- func (cli *CLI) PerformSet(collectionName string, key string, value string)
- func (cli *CLI) PingClusterNode()
- func (cli *CLI) PrintClusterStatus()
- func (cli *CLI) PrintHelp()
- func (cli *CLI) PrintPartitionTable()
- func (cli *CLI) RemoveNode(nodeId string)
- func (cli *CLI) RequestUserConfirmation(message string, requireSpelling bool) bool
- func (cli *CLI) RetrySyncTask(taskId string)
- func (cli *CLI) Run()
- func (cli *CLI) SelectNode() (string, error)
- func (cli *CLI) Shutdown()
Constants ¶
View Source
const HISTORY_FILE_NAME = ".bit-box-cli-history"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func (*CLI) GetClusterNodeId ¶
func (*CLI) GetNodeStats ¶
func (*CLI) GetNodeSyncStatus ¶
func (*CLI) PerformDel ¶
func (*CLI) PerformGet ¶
func (*CLI) PerformLocate ¶
func (*CLI) PerformScan ¶
func (*CLI) PerformSet ¶
func (*CLI) PingClusterNode ¶
func (cli *CLI) PingClusterNode()
func (*CLI) PrintClusterStatus ¶
func (cli *CLI) PrintClusterStatus()
func (*CLI) PrintPartitionTable ¶
func (cli *CLI) PrintPartitionTable()
func (*CLI) RemoveNode ¶
func (*CLI) RequestUserConfirmation ¶
func (*CLI) RetrySyncTask ¶
func (*CLI) SelectNode ¶
Click to show internal directories.
Click to hide internal directories.