Documentation ¶
Index ¶
Constants ¶
View Source
const ( DURABILITY_STRING_REPLICATE = "replicate" DURABILITY_STRING_DISTRIBUTE_ONLY = "none" DURABILITY_STRING_EC = "disperse" )
Variables ¶
View Source
var (
HEKETI_CLI_VERSION = "(dev)"
)
View Source
var RootCmd = &cobra.Command{ Use: "heketi-cli", Short: "Command line program for Heketi", Long: "Command line program for Heketi", Example: ` $ export HEKETI_CLI_SERVER=http://localhost:8080 $ heketi-cli volume list`, Run: func(cmd *cobra.Command, args []string) { if version { fmt.Printf("heketi-cli %v\n", HEKETI_CLI_VERSION) } }, }
Functions ¶
Types ¶
type ConfigFile ¶
type ConfigFile struct {
Clusters []ConfigFileCluster `json:"clusters"`
}
type ConfigFileCluster ¶
type ConfigFileCluster struct {
Nodes []ConfigFileNode `json:"nodes"`
}
type ConfigFileNode ¶
type ConfigFileNode struct { Devices []string `json:"devices"` Node glusterfs.NodeAddRequest `json:"node"` }
Config file
Click to show internal directories.
Click to hide internal directories.