Documentation ¶
Index ¶
- Constants
- func GetAgentDeviceHandlers(path string) []obsidian.Handler
- func GetDeviceState(c echo.Context) error
- func GetHandlers() []obsidian.Handler
- func GetNetworkAndAgentIDs(c echo.Context) (string, string, *echo.HTTPError)
- func GetNetworkAndDeviceIDs(c echo.Context) (string, string, *echo.HTTPError)
- func GetReadAgentDeviceHandler(path string) obsidian.Handler
- func GetUpdateAgentDeviceHandler(path string) obsidian.Handler
Constants ¶
View Source
const ( SymphonyNetworks = "symphony" BaseNetworksPath = obsidian.V1Root + SymphonyNetworks ManageNetworkPath = BaseNetworksPath + obsidian.UrlSep + ":network_id" ManageNetworkNamePath = ManageNetworkPath + obsidian.UrlSep + "name" ManageNetworkDescriptionPath = ManageNetworkPath + obsidian.UrlSep + "description" ManageNetworkFeaturesPath = ManageNetworkPath + obsidian.UrlSep + "features" AgentID = "agent_id" BaseAgentsPath = ManageNetworkPath + obsidian.UrlSep + "agents" ManageAgentPath = BaseAgentsPath + obsidian.UrlSep + ":agent_id" ManageAgentNamePath = ManageAgentPath + obsidian.UrlSep + "name" ManageAgentDescriptionPath = ManageAgentPath + obsidian.UrlSep + "description" ManageAgentConfigPath = ManageAgentPath + obsidian.UrlSep + "magmad" ManageAgentDevicePath = ManageAgentPath + obsidian.UrlSep + "device" ManageAgentStatePath = ManageAgentPath + obsidian.UrlSep + "status" ManageAgentTierPath = ManageAgentPath + obsidian.UrlSep + "tier" ManageAgentManagedDevicesPath = ManageAgentPath + obsidian.UrlSep + "managed_devices" DeviceID = "device_id" BaseDevicesPath = ManageNetworkPath + obsidian.UrlSep + "devices" ManageDevicePath = BaseDevicesPath + obsidian.UrlSep + ":device_id" ManageDeviceNamePath = ManageDevicePath + obsidian.UrlSep + "name" ManageDeviceConfigPath = ManageDevicePath + obsidian.UrlSep + "config" ManageDeviceAgent = ManageDevicePath + obsidian.UrlSep + "managing_agent" GetDeviceStatePath = ManageDevicePath + obsidian.UrlSep + "state" )
Variables ¶
This section is empty.
Functions ¶
func GetAgentDeviceHandlers ¶
GetAgentDeviceHandlers returns GET and PUT handlers to read and update the device attached to the Agent.
func GetDeviceState ¶
func GetHandlers ¶
GetHandlers returns all obsidian handlers for Symphony
func GetNetworkAndAgentIDs ¶
func GetNetworkAndDeviceIDs ¶
func GetReadAgentDeviceHandler ¶
GetReadAgentDeviceHandler returns a GET handler to read the Agent record of the Agent.
func GetUpdateAgentDeviceHandler ¶
GetUpdateAgentDeviceHandler returns a PUT handler to update the Agent record of the Agent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.