Documentation
¶
Index ¶
- func AddAlert(context echo.Context) error
- func AddBuilding(context echo.Context) error
- func AddDevice(context echo.Context) error
- func AddMultipleBuildings(context echo.Context) error
- func AddMultipleDevices(context echo.Context) error
- func AddMultipleRooms(context echo.Context) error
- func AddMultipleUIConfigs(context echo.Context) error
- func AddRoom(context echo.Context) error
- func AddUIConfig(context echo.Context) error
- func DeleteBuilding(context echo.Context) error
- func DeleteDevice(context echo.Context) error
- func DeleteRoom(context echo.Context) error
- func DeleteUIConfig(context echo.Context) error
- func GetAlertStoreQueueStatus(context echo.Context) error
- func GetAllAttributeGroups(context echo.Context) error
- func GetAllBuildings(context echo.Context) error
- func GetAllDevices(context echo.Context) error
- func GetAllRoomCombinedStateRecords(context echo.Context) error
- func GetAllRoomIssues(context echo.Context) error
- func GetAllRooms(context echo.Context) error
- func GetAllStaticDeviceRecords(context echo.Context) error
- func GetAllStaticRoomRecords(context echo.Context) error
- func GetAllUIConfigs(context echo.Context) error
- func GetAttributeGroup(context echo.Context) error
- func GetBuilding(context echo.Context) error
- func GetClosureCodes(context echo.Context) error
- func GetDevice(context echo.Context) error
- func GetDeviceRawIPAddress(context echo.Context) error
- func GetDeviceRoles(context echo.Context) error
- func GetDeviceTypes(context echo.Context) error
- func GetDevicesByRoom(context echo.Context) error
- func GetDevicesByRoomAndRole(context echo.Context) error
- func GetDevicesByTypeAndRole(context echo.Context) error
- func GetIcons(context echo.Context) error
- func GetMenuTree(context echo.Context) error
- func GetResponders(context echo.Context) error
- func GetRoom(context echo.Context) error
- func GetRoomClassSchedule(context echo.Context) error
- func GetRoomCombinedStateRecord(context echo.Context) error
- func GetRoomConfigurations(context echo.Context) error
- func GetRoomDesignations(context echo.Context) error
- func GetRoomIssue(context echo.Context) error
- func GetRoomsByBuilding(context echo.Context) error
- func GetStaticDeviceRecord(context echo.Context) error
- func GetTemplates(context echo.Context) error
- func GetUIConfig(context echo.Context) error
- func GetUserPermissions(context echo.Context) error
- func GetUsername(context echo.Context) error
- func NukeRoom(context echo.Context) error
- func ResolveIssue(context echo.Context) error
- func UpdateBuilding(context echo.Context) error
- func UpdateDevice(context echo.Context) error
- func UpdateMultipleBuildings(context echo.Context) error
- func UpdateMultipleDevices(context echo.Context) error
- func UpdateMultipleRooms(context echo.Context) error
- func UpdateMultipleUIConfigs(context echo.Context) error
- func UpdateRoom(context echo.Context) error
- func UpdateRoomIssue(context echo.Context) error
- func UpdateStaticRoom(context echo.Context) error
- func UpdateUIConfig(context echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBuilding ¶
AddBuilding adds a building to the database
func AddMultipleBuildings ¶
AddMultipleBuildings adds a set of buildings to the database
func AddMultipleDevices ¶
AddMultipleDevices adds a set of devices to the database
func AddMultipleRooms ¶
AddMultipleRooms adds a set of rooms to the database
func AddMultipleUIConfigs ¶
AddMultipleUIConfigs adds a set of UIConfigs to the database
func AddUIConfig ¶
AddUIConfig adds a UIConfig to the database
func DeleteBuilding ¶
DeleteBuilding deletes a building from the database based on the given ID
func DeleteDevice ¶
DeleteDevice deletes a device from the database based on the given ID
func DeleteRoom ¶
DeleteRoom deletes a room from the database based on the given ID
func DeleteUIConfig ¶
DeleteUIConfig deletes a UIConfig from the database based on a given ID
func GetAlertStoreQueueStatus ¶
GetAlertStoreQueueStatus gets the queue status for the alert store
func GetAllAttributeGroups ¶
GetAllAttributeGroups gets all of the attribute sets from the database
func GetAllBuildings ¶
GetAllBuildings gets all buildings from the database
func GetAllDevices ¶
GetAllDevices gets all devices from the database
func GetAllRoomCombinedStateRecords ¶
GetAllRoomCombinedStateRecords returns a list of combined room state records
func GetAllRoomIssues ¶
GetAllRoomIssues returns all alerts from the alert store
func GetAllRooms ¶
GetAllRooms gets all rooms from the database
func GetAllStaticDeviceRecords ¶
GetAllStaticDeviceRecords returns a list of all the static device records
func GetAllStaticRoomRecords ¶
GetAllStaticRoomRecords returns a list of all the static room records
func GetAllUIConfigs ¶
GetAllUIConfigs gets all UIConfigs from the database
func GetAttributeGroup ¶
GetAttributeGroup gets one attribute set from the database based on the given ID
func GetBuilding ¶
GetBuilding gets a building from the database based on the given ID
func GetClosureCodes ¶
GetClosureCodes gets the list of closure codes for ServiceNow
func GetDeviceRawIPAddress ¶
GetDeviceRawIPAddress takes a device's hostname address and returns the IP address associated with it, if it exists
func GetDeviceRoles ¶
GetDeviceRoles gets a list of possible device roles
func GetDeviceTypes ¶
GetDeviceTypes gets a list of possible device types
func GetDevicesByRoom ¶
GetDevicesByRoom gets all devices in a room based on the given room ID
func GetDevicesByRoomAndRole ¶
GetDevicesByRoomAndRole gets all devices in a room based on the given room ID and role ID
func GetDevicesByTypeAndRole ¶
GetDevicesByTypeAndRole gets all devices of a given type that also have the given role
func GetMenuTree ¶
GetMenuTree gets the fully built out menu tree
func GetResponders ¶
GetResponders returns the list of possible responders
func GetRoomClassSchedule ¶
GetRoomClassSchedule gets the class schedule for a room
func GetRoomCombinedStateRecord ¶
GetRoomCombinedStateRecord returns a list of combined room state records
func GetRoomConfigurations ¶
GetRoomConfigurations returns a list of possible room configurations
func GetRoomDesignations ¶
GetRoomDesignations returns a list of possible room designations
func GetRoomIssue ¶
GetRoomIssue gets an individual room issue
func GetRoomsByBuilding ¶
GetRoomsByBuilding gets all rooms in a single building from the database, based on a given building ID
func GetStaticDeviceRecord ¶
GetStaticDeviceRecord returns a list of all the static device records
func GetTemplates ¶
GetTemplates gets a list of possible templates to use
func GetUIConfig ¶
GetUIConfig gets a UIConfig from the database based on a given ID
func GetUserPermissions ¶
GetUserPermissions returns a list of the current user's permissions
func GetUsername ¶
GetUsername is the handler for the endpoint to get a username
func ResolveIssue ¶
ResolveIssue resolves an alert on the server side alert store
func UpdateBuilding ¶
UpdateBuilding updates a building in the database
func UpdateDevice ¶
UpdateDevice updates a device in the database
func UpdateMultipleBuildings ¶
UpdateMultipleBuildings updates a set of buildings in the database
func UpdateMultipleDevices ¶
UpdateMultipleDevices updates a set of devices in the database
func UpdateMultipleRooms ¶
UpdateMultipleRooms updates a set of rooms in the database
func UpdateMultipleUIConfigs ¶
UpdateMultipleUIConfigs updates a set of UIConfigs in the database
func UpdateRoom ¶
UpdateRoom updates a room in the database
func UpdateRoomIssue ¶
UpdateRoomIssue resolves an alert on the server side alert store
func UpdateStaticRoom ¶
UpdateStaticRoom updates a static room
func UpdateUIConfig ¶
UpdateUIConfig updates a UIConfig in the database
Types ¶
This section is empty.