cli

package
v0.0.0-...-46d7ffa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const HISTORY_FILE_NAME = ".bit-box-cli-history"

Variables

This section is empty.

Functions

func Start

func Start(confFilePath string)

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

func (*CLI) GetClusterNodeId

func (cli *CLI) GetClusterNodeId() (string, error)

func (*CLI) GetNodeStats

func (cli *CLI) GetNodeStats(nodeId string)

func (*CLI) GetNodeSyncStatus

func (cli *CLI) GetNodeSyncStatus(nodeId string)

func (*CLI) PerformDel

func (cli *CLI) PerformDel(collectionName string, key string)

func (*CLI) PerformGet

func (cli *CLI) PerformGet(collectionName string, key string)

func (*CLI) PerformLocate

func (cli *CLI) PerformLocate(key string)

func (*CLI) PerformScan

func (cli *CLI) PerformScan(collectionName string, startFromKey string, numberOfResults int, skipFirst bool, nodeId string)

func (*CLI) PerformSet

func (cli *CLI) PerformSet(collectionName string, key string, value string)

func (*CLI) PingClusterNode

func (cli *CLI) PingClusterNode()

func (*CLI) PrintClusterStatus

func (cli *CLI) PrintClusterStatus()

func (*CLI) PrintHelp

func (cli *CLI) PrintHelp()

func (*CLI) PrintPartitionTable

func (cli *CLI) PrintPartitionTable()

func (*CLI) RemoveNode

func (cli *CLI) RemoveNode(nodeId string)

func (*CLI) RequestUserConfirmation

func (cli *CLI) RequestUserConfirmation(message string, requireSpelling bool) bool

func (*CLI) RetrySyncTask

func (cli *CLI) RetrySyncTask(taskId string)

func (*CLI) Run

func (cli *CLI) Run()

func (*CLI) SelectNode

func (cli *CLI) SelectNode() (string, error)

func (*CLI) Shutdown

func (cli *CLI) Shutdown()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL