Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger xbus.Logger

    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 GetClient

        func GetClient(nocert bool) (*xbus.Client, error)

          GetClient returns a XBusClient connected (if relevant) to the bus using the cli options

          Types

          This section is empty.