Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) DeleteBackup(items ...string) error
- func (c *Client) DeleteDataRepository(nodes ...string) error
- func (c *Client) DeleteField(nodes ...string) error
- func (c *Client) DeleteFirmware(nodes ...string) error
- func (c *Client) DeleteForwardPayload(items ...string) error
- func (c *Client) DeleteGateway(items ...string) error
- func (c *Client) DeleteHandler(items ...string) error
- func (c *Client) DeleteNode(nodes ...string) error
- func (c *Client) DeleteSchedule(items ...string) error
- func (c *Client) DeleteSource(nodes ...string) error
- func (c *Client) DeleteTask(items ...string) error
- func (c *Client) DeleteVirtualAssistant(items ...string) error
- func (c *Client) DeleteVirtualDevice(items ...string) error
- func (c *Client) DisableGateway(items ...string) error
- func (c *Client) DisableHandler(items ...string) error
- func (c *Client) DisableSchedule(items ...string) error
- func (c *Client) DisableTask(items ...string) error
- func (c *Client) DisableVirtualAssistant(items ...string) error
- func (c *Client) DisableVirtualDevice(items ...string) error
- func (c *Client) EnableGateway(items ...string) error
- func (c *Client) EnableHandler(items ...string) error
- func (c *Client) EnableSchedule(items ...string) error
- func (c *Client) EnableTask(items ...string) error
- func (c *Client) EnableVirtualAssistant(items ...string) error
- func (c *Client) EnableVirtualDevice(items ...string) error
- func (c *Client) ExecuteAction(actions []webHandlerTY.ActionConfig) error
- func (c *Client) ExecuteNodeAction(action string, nodeIDs []string) error
- func (c *Client) GetServerVersion() (*version.Version, error)
- func (c *Client) ListBackup(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListDataRepository(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListField(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListFirmware(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListForwardPayload(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListGateway(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListHandler(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListNode(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListSchedule(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListSource(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListTask(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListVirtualAssistant(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) ListVirtualDevice(queryParams map[string]interface{}) (*storageTY.Result, error)
- func (c *Client) Login(username, password, token, expiresIn string) (*handlerTY.JwtTokenResponse, error)
- func (c *Client) ReloadGateway(items ...string) error
- func (c *Client) ReloadVirtualAssistant(items ...string) error
Constants ¶
View Source
const ( API_LOGIN = "/api/user/login" API_VERSION = "/api/version" API_STATUS = "/api/status" API_GATEWAY_LIST = "/api/gateway" API_GATEWAY_ENABLE = "/api/gateway/enable" API_GATEWAY_DISABLE = "/api/gateway/disable" API_GATEWAY_RELOAD = "/api/gateway/reload" API_GATEWAY_DELETE = "/api/gateway" API_NODE_LIST = "/api/node" API_NODE_DELETE = "/api/node" API_ACTION = "/api/action" API_ACTION_NODE = "/api/action/node" API_FIELD_LIST = "/api/field" API_FIELD_DELETE = "/api/field" API_SOURCE_LIST = "/api/source" API_SOURCE_DELETE = "/api/source" API_FIRMWARE_LIST = "/api/firmware" API_FIRMWARE_DELETE = "/api/firmware" API_DATA_REPOSITORY_LIST = "/api/datarepository" API_DATA_REPOSITORY_DELETE = "/api/datarepository" API_VIRTUAL_DEVICE_LIST = "/api/virtualdevice" API_VIRTUAL_DEVICE_ENABLE = "/api/virtualdevice/enable" API_VIRTUAL_DEVICE_DISABLE = "/api/virtualdevice/disable" API_VIRTUAL_DEVICE_DELETE = "/api/virtualdevice" API_VIRTUAL_ASSISTANT_LIST = "/api/virtualassistant" API_VIRTUAL_ASSISTANT_ENABLE = "/api/virtualassistant/enable" API_VIRTUAL_ASSISTANT_DISABLE = "/api/virtualassistant/disable" API_VIRTUAL_ASSISTANT_RELOAD = "/api/virtualassistant/reload" API_VIRTUAL_ASSISTANT_DELETE = "/api/virtualassistant" API_TASK_LIST = "/api/task" API_TASK_ENABLE = "/api/task/enable" API_TASK_DISABLE = "/api/task/disable" API_TASK_DELETE = "/api/task" API_SCHEDULE_LIST = "/api/schedule" API_SCHEDULE_ENABLE = "/api/schedule/enable" API_SCHEDULE_DISABLE = "/api/schedule/disable" API_SCHEDULE_DELETE = "/api/schedule" API_HANDLER_LIST = "/api/handler" API_HANDLER_ENABLE = "/api/handler/enable" API_HANDLER_DISABLE = "/api/handler/disable" API_HANDLER_DELETE = "/api/handler" API_FORWARD_PAYLOAD_LIST = "/api/forwardpayload" API_FORWARD_PAYLOAD_DELETE = "/api/forwardpayload" API_BACKUP_LIST = "/api/backup" API_BACKUP_DELETE = "/api/backup" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DeleteBackup ¶
func (*Client) DeleteDataRepository ¶
func (*Client) DeleteField ¶
func (*Client) DeleteFirmware ¶
func (*Client) DeleteForwardPayload ¶
func (*Client) DeleteGateway ¶
func (*Client) DeleteHandler ¶
func (*Client) DeleteNode ¶
func (*Client) DeleteSchedule ¶
func (*Client) DeleteSource ¶
func (*Client) DeleteTask ¶
func (*Client) DeleteVirtualAssistant ¶
func (*Client) DeleteVirtualDevice ¶
func (*Client) DisableGateway ¶
func (*Client) DisableHandler ¶
func (*Client) DisableSchedule ¶
func (*Client) DisableTask ¶
func (*Client) DisableVirtualAssistant ¶
func (*Client) DisableVirtualDevice ¶
func (*Client) EnableGateway ¶
func (*Client) EnableHandler ¶
func (*Client) EnableSchedule ¶
func (*Client) EnableTask ¶
func (*Client) EnableVirtualAssistant ¶
func (*Client) EnableVirtualDevice ¶
func (*Client) ExecuteAction ¶
func (c *Client) ExecuteAction(actions []webHandlerTY.ActionConfig) error
func (*Client) ExecuteNodeAction ¶
func (*Client) ListBackup ¶
func (*Client) ListDataRepository ¶
func (*Client) ListFirmware ¶
func (*Client) ListForwardPayload ¶
func (*Client) ListGateway ¶
func (*Client) ListHandler ¶
func (*Client) ListSchedule ¶
func (*Client) ListSource ¶
func (*Client) ListVirtualAssistant ¶
func (*Client) ListVirtualDevice ¶
func (*Client) Login ¶
func (c *Client) Login(username, password, token, expiresIn string) (*handlerTY.JwtTokenResponse, error)
func (*Client) ReloadGateway ¶
func (*Client) ReloadVirtualAssistant ¶
Click to show internal directories.
Click to hide internal directories.