Documentation
¶
Index ¶
- type API
- func (api *API) AuthLogin(user, pass string) (string, error)
- func (api *API) AuthLogout() error
- func (api *API) AuthTokenAdd(token string) error
- func (api *API) AuthTokenGenerate() (string, error)
- func (api *API) AuthTokenList() ([]string, error)
- func (api *API) AuthTokenRemove(token string) error
- func (api *API) ConsoleCreate() (consoleInstanceResponse, error)
- func (api *API) ConsoleDestroy(consoleID string) error
- func (api *API) ConsoleList() ([]consoleInstanceResponse, error)
- func (api *API) ConsoleRead(consoleID string) (consoleReadResponse, error)
- func (api *API) ConsoleWrite(consoleID, command string) error
- func (api *API) CoreVersion() (CoreVersionResponse, error)
- func (api *API) JobList() (map[string]string, error)
- func (api *API) ModuleExecute(mType, name string, mapp map[string]interface{}) (int64, error)
- type CoreVersionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
func (*API) AuthLogout ¶
func (*API) AuthTokenAdd ¶
func (*API) AuthTokenGenerate ¶
func (*API) AuthTokenList ¶
func (*API) AuthTokenRemove ¶
func (*API) ConsoleCreate ¶
func (*API) ConsoleDestroy ¶
func (*API) ConsoleList ¶
func (*API) ConsoleRead ¶
func (*API) ConsoleWrite ¶
NOTE: It's necessary to wait maybe 1 second after consoleWrite() before ConsoleRead()
func (*API) CoreVersion ¶
func (api *API) CoreVersion() (CoreVersionResponse, error)
type CoreVersionResponse ¶
Click to show internal directories.
Click to hide internal directories.