Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger xbus.ZeroLogger
Logger is a logger automatically configured by command line options
View Source
var RootCmd = &cobra.Command{ Use: "xbusctl", Short: "Xbus control utility", Long: `Xbus control utility xbusctl is a utility for managing a xbus instance.`, Run: version.Cmd, }
RootCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func FmtStorageStat ¶
func FmtStorageStat(stat control.StorageStat) string
FmtStorageStat formats a StorageStat
Types ¶
type IndentWriter ¶
type IndentWriter struct {
// contains filtered or unexported fields
}
IndentWriter writes with added indentation
Click to show internal directories.
Click to hide internal directories.