Documentation ¶
Index ¶
- func Completer(d prompt.Document) []prompt.Suggest
- func ConsoleOut(format string, a ...interface{})
- func DebugOut(format string, a ...interface{})
- func ErrorOut(format string, a ...interface{})
- func Errorf(format string, a ...interface{}) string
- func EventOut(cat string, format string, a ...interface{})
- func Eventf(category string, format string, a ...interface{}) string
- func Executor(t string)
- func FormatJsonEasyRead(out bytes.Buffer, rawjson []byte) (outs string, err error)
- func GetCommandsHelpString([]string) (ret string, err error)
- func GetLogSubcommandsHelpString([]string) (ret string, err error)
- func GetNetSubcommandsHelpString([]string) (ret string, err error)
- func SetDefaultClient(client *MaestroClient)
- func SuccessOut(format string, a ...interface{})
- func Successf(format string, a ...interface{}) string
- type AliveResponse
- type Command
- type MaestroClient
- func (self *MaestroClient) AddDNS(args []string) (string, error)
- func (self *MaestroClient) ConfigNetInterface(args []string) (string, error)
- func (self *MaestroClient) DeleteDNS(args []string) (string, error)
- func (self *MaestroClient) DeleteLogging(args []string) (string, error)
- func (self *MaestroClient) GetAlive() (alive *AliveResponse, err error)
- func (client *MaestroClient) GetAllJobStatus() (out string, err error)
- func (self *MaestroClient) GetDNS() (out string, err error)
- func (self *MaestroClient) GetLogging() (out string, err error)
- func (self *MaestroClient) GetNetInterfaces() (out string, err error)
- func (self *MaestroClient) SetLogging(args []string) (string, error)
- func (client *MaestroClient) SubscribeToNetEvents() (out string, err error)
- type SubscribeNetEventsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatJsonEasyRead ¶
func GetCommandsHelpString ¶
func SetDefaultClient ¶
func SetDefaultClient(client *MaestroClient)
func SuccessOut ¶
func SuccessOut(format string, a ...interface{})
Types ¶
type AliveResponse ¶
type MaestroClient ¶
type MaestroClient struct {
// contains filtered or unexported fields
}
func NewUnixClient ¶
func NewUnixClient(path string) (ret *MaestroClient, err error)
func (*MaestroClient) ConfigNetInterface ¶
func (self *MaestroClient) ConfigNetInterface(args []string) (string, error)
func (*MaestroClient) DeleteDNS ¶
func (self *MaestroClient) DeleteDNS(args []string) (string, error)
func (*MaestroClient) DeleteLogging ¶
func (self *MaestroClient) DeleteLogging(args []string) (string, error)
func (*MaestroClient) GetAlive ¶
func (self *MaestroClient) GetAlive() (alive *AliveResponse, err error)
func (*MaestroClient) GetAllJobStatus ¶
func (client *MaestroClient) GetAllJobStatus() (out string, err error)
func (*MaestroClient) GetDNS ¶
func (self *MaestroClient) GetDNS() (out string, err error)
func (*MaestroClient) GetLogging ¶
func (self *MaestroClient) GetLogging() (out string, err error)
func (*MaestroClient) GetNetInterfaces ¶
func (self *MaestroClient) GetNetInterfaces() (out string, err error)
func (*MaestroClient) SetLogging ¶
func (self *MaestroClient) SetLogging(args []string) (string, error)
func (*MaestroClient) SubscribeToNetEvents ¶
func (client *MaestroClient) SubscribeToNetEvents() (out string, err error)
SubscribeToNetEvents shell will subscribe to network events
type SubscribeNetEventsResponse ¶
SubscribeNetEventsResponse is the response from a /net/events call
Click to show internal directories.
Click to hide internal directories.