Documentation ¶
Index ¶
- type ControllerArea
- func (c ControllerArea) AddArea(ctx context.Context, req *api.NewAreaRequest) (*api.Area, error)
- func (c ControllerArea) DeleteArea(ctx context.Context, req *api.DeleteAreaRequest) (*emptypb.Empty, error)
- func (c ControllerArea) GetAreaById(ctx context.Context, req *api.GetAreaRequest) (*api.Area, error)
- func (c ControllerArea) GetAreaList(ctx context.Context, req *api.PaginationRequest) (*api.GetAreaListResult, error)
- func (c ControllerArea) SearchArea(ctx context.Context, req *api.SearchRequest) (*api.SearchAreaResult, error)
- func (c ControllerArea) UpdateArea(ctx context.Context, req *api.UpdateAreaRequest) (*api.Area, error)
- type ControllerAuth
- func (a ControllerAuth) AccessList(ctx context.Context, _ *emptypb.Empty) (*api.AccessListResponse, error)
- func (a ControllerAuth) Signin(ctx context.Context, _ *emptypb.Empty) (resp *api.SigninResponse, err error)
- func (a ControllerAuth) Signout(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- type ControllerAutomation
- func (c ControllerAutomation) AddTask(ctx context.Context, req *api.NewTaskRequest) (*api.Task, error)
- func (c ControllerAutomation) DeleteTask(ctx context.Context, req *api.DeleteTaskRequest) (*emptypb.Empty, error)
- func (c ControllerAutomation) DisableTask(ctx context.Context, req *api.DisableTaskRequest) (*emptypb.Empty, error)
- func (c ControllerAutomation) EnableTask(ctx context.Context, req *api.EnableTaskRequest) (*emptypb.Empty, error)
- func (c ControllerAutomation) GetTask(ctx context.Context, req *api.GetTaskRequest) (*api.Task, error)
- func (c ControllerAutomation) GetTaskList(ctx context.Context, req *api.PaginationRequest) (*api.GetTaskListResult, error)
- func (c ControllerAutomation) UpdateTask(ctx context.Context, req *api.UpdateTaskRequest) (*api.Task, error)
- type ControllerBackup
- func (c ControllerBackup) GetBackupList(ctx context.Context, _ *emptypb.Empty) (*api.GetBackupListResult, error)
- func (c ControllerBackup) NewBackup(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (c ControllerBackup) RestoreBackup(ctx context.Context, req *api.RestoreBackupRequest) (*emptypb.Empty, error)
- type ControllerCommon
- type ControllerDashboard
- func (c ControllerDashboard) AddDashboard(ctx context.Context, req *api.NewDashboardRequest) (*api.Dashboard, error)
- func (c ControllerDashboard) DeleteDashboard(ctx context.Context, req *api.DeleteDashboardRequest) (*emptypb.Empty, error)
- func (c ControllerDashboard) GetDashboardById(ctx context.Context, req *api.GetDashboardRequest) (*api.Dashboard, error)
- func (c ControllerDashboard) GetDashboardList(ctx context.Context, req *api.PaginationRequest) (*api.GetDashboardListResult, error)
- func (c ControllerDashboard) ImportDashboard(ctx context.Context, req *api.Dashboard) (*api.Dashboard, error)
- func (c ControllerDashboard) SearchDashboard(ctx context.Context, req *api.SearchRequest) (*api.SearchDashboardResult, error)
- func (c ControllerDashboard) UpdateDashboard(ctx context.Context, req *api.UpdateDashboardRequest) (*api.Dashboard, error)
- type ControllerDashboardCard
- func (c ControllerDashboardCard) AddDashboardCard(ctx context.Context, req *api.NewDashboardCardRequest) (*api.DashboardCard, error)
- func (c ControllerDashboardCard) DeleteDashboardCard(ctx context.Context, req *api.DeleteDashboardCardRequest) (*emptypb.Empty, error)
- func (c ControllerDashboardCard) GetDashboardCardById(ctx context.Context, req *api.GetDashboardCardRequest) (*api.DashboardCard, error)
- func (c ControllerDashboardCard) GetDashboardCardList(ctx context.Context, req *api.PaginationRequest) (*api.GetDashboardCardListResult, error)
- func (c ControllerDashboardCard) ImportDashboardCard(ctx context.Context, req *api.DashboardCard) (*api.DashboardCard, error)
- func (c ControllerDashboardCard) UpdateDashboardCard(ctx context.Context, req *api.UpdateDashboardCardRequest) (*api.DashboardCard, error)
- type ControllerDashboardCardItem
- func (c ControllerDashboardCardItem) AddDashboardCardItem(ctx context.Context, req *api.NewDashboardCardItemRequest) (*api.DashboardCardItem, error)
- func (c ControllerDashboardCardItem) DeleteDashboardCardItem(ctx context.Context, req *api.DeleteDashboardCardItemRequest) (*emptypb.Empty, error)
- func (c ControllerDashboardCardItem) GetDashboardCardItemById(ctx context.Context, req *api.GetDashboardCardItemRequest) (*api.DashboardCardItem, error)
- func (c ControllerDashboardCardItem) GetDashboardCardItemList(ctx context.Context, req *api.PaginationRequest) (*api.GetDashboardCardItemListResult, error)
- func (c ControllerDashboardCardItem) UpdateDashboardCardItem(ctx context.Context, req *api.UpdateDashboardCardItemRequest) (*api.DashboardCardItem, error)
- type ControllerDashboardTab
- func (c ControllerDashboardTab) AddDashboardTab(ctx context.Context, req *api.NewDashboardTabRequest) (*api.DashboardTab, error)
- func (c ControllerDashboardTab) DeleteDashboardTab(ctx context.Context, req *api.DeleteDashboardTabRequest) (*emptypb.Empty, error)
- func (c ControllerDashboardTab) GetDashboardTabById(ctx context.Context, req *api.GetDashboardTabRequest) (*api.DashboardTab, error)
- func (c ControllerDashboardTab) GetDashboardTabList(ctx context.Context, req *api.PaginationRequest) (*api.GetDashboardTabListResult, error)
- func (c ControllerDashboardTab) UpdateDashboardTab(ctx context.Context, req *api.UpdateDashboardTabRequest) (*api.DashboardTab, error)
- type ControllerDeveloperTools
- func (c ControllerDeveloperTools) EntitySetState(ctx context.Context, req *api.EntityRequest) (*emptypb.Empty, error)
- func (c ControllerDeveloperTools) ReloadEntity(ctx context.Context, req *api.ReloadRequest) (*emptypb.Empty, error)
- func (c ControllerDeveloperTools) TaskCallAction(ctx context.Context, req *api.AutomationRequest) (*emptypb.Empty, error)
- func (c ControllerDeveloperTools) TaskCallTrigger(ctx context.Context, req *api.AutomationRequest) (*emptypb.Empty, error)
- type ControllerEntity
- func (c ControllerEntity) AddEntity(ctx context.Context, req *api.NewEntityRequest) (*api.Entity, error)
- func (c ControllerEntity) DeleteEntity(ctx context.Context, req *api.DeleteEntityRequest) (*emptypb.Empty, error)
- func (c ControllerEntity) GetEntity(ctx context.Context, req *api.GetEntityRequest) (*api.Entity, error)
- func (c ControllerEntity) GetEntityList(ctx context.Context, req *api.PaginationRequest) (*api.GetEntityListResult, error)
- func (c ControllerEntity) ImportEntity(ctx context.Context, req *api.Entity) (*emptypb.Empty, error)
- func (c ControllerEntity) SearchEntity(ctx context.Context, req *api.SearchRequest) (*api.SearchEntityResult, error)
- func (c ControllerEntity) UpdateEntity(ctx context.Context, req *api.UpdateEntityRequest) (*api.Entity, error)
- type ControllerEntityStorage
- type ControllerImage
- func (c ControllerImage) AddImage(ctx context.Context, req *api.NewImageRequest) (*api.Image, error)
- func (c ControllerImage) DeleteImageById(ctx context.Context, req *api.DeleteImageRequest) (*emptypb.Empty, error)
- func (c ControllerImage) GetImageById(ctx context.Context, req *api.GetImageRequest) (*api.Image, error)
- func (c ControllerImage) GetImageFilterList(ctx context.Context, empty *emptypb.Empty) (*api.GetImageFilterListResult, error)
- func (c ControllerImage) GetImageList(ctx context.Context, req *api.PaginationRequest) (*api.GetImageListResult, error)
- func (c ControllerImage) GetImageListByDate(ctx context.Context, request *api.GetImageListByDateRequest) (*api.GetImageListByDateResult, error)
- func (c ControllerImage) MuxUploadImage() func(w http.ResponseWriter, r *http.Request)
- func (c ControllerImage) UpdateImageById(ctx context.Context, req *api.UpdateImageRequest) (*api.Image, error)
- func (c ControllerImage) UploadImage(ctx context.Context, req *api.UploadImageRequest) (*api.Image, error)
- type ControllerIndex
- type ControllerInteract
- type ControllerLogs
- type ControllerMessageDelivery
- type ControllerMetric
- type ControllerPlugin
- func (c ControllerPlugin) DisablePlugin(ctx context.Context, req *api.DisablePluginRequest) (*api.DisablePluginResult, error)
- func (c ControllerPlugin) EnablePlugin(ctx context.Context, req *api.EnablePluginRequest) (*api.EnablePluginResult, error)
- func (c ControllerPlugin) GetPluginList(ctx context.Context, req *api.PaginationRequest) (*api.GetPluginListResult, error)
- func (c ControllerPlugin) GetPluginOptions(ctx context.Context, req *api.GetPluginOptionsRequest) (*api.GetPluginOptionsResult, error)
- func (c ControllerPlugin) SearchPlugin(ctx context.Context, req *api.SearchRequest) (*api.SearchPluginResult, error)
- type ControllerRole
- func (c ControllerRole) AddRole(ctx context.Context, req *api.NewRoleRequest) (*api.Role, error)
- func (c ControllerRole) DeleteRoleByName(ctx context.Context, req *api.DeleteRoleRequest) (*emptypb.Empty, error)
- func (c ControllerRole) GetRoleAccessList(ctx context.Context, req *api.GetRoleAccessListRequest) (*api.RoleAccessListResult, error)
- func (c ControllerRole) GetRoleByName(ctx context.Context, req *api.GetRoleRequest) (*api.Role, error)
- func (c ControllerRole) GetRoleList(ctx context.Context, req *api.PaginationRequest) (*api.GetRoleListResult, error)
- func (c ControllerRole) SearchRoleByName(ctx context.Context, req *api.SearchRequest) (*api.SearchRoleListResult, error)
- func (c ControllerRole) UpdateRoleAccessList(ctx context.Context, req *api.UpdateRoleAccessListRequest) (*api.RoleAccessListResult, error)
- func (c ControllerRole) UpdateRoleByName(ctx context.Context, req *api.UpdateRoleRequest) (*api.Role, error)
- type ControllerScript
- func (c ControllerScript) AddScript(ctx context.Context, req *api.NewScriptRequest) (*api.Script, error)
- func (c ControllerScript) CopyScriptById(ctx context.Context, req *api.CopyScriptRequest) (*api.Script, error)
- func (c ControllerScript) DeleteScriptById(ctx context.Context, req *api.DeleteScriptRequest) (*emptypb.Empty, error)
- func (c ControllerScript) ExecScriptById(ctx context.Context, req *api.ExecScriptRequest) (*api.ExecScriptResult, error)
- func (c ControllerScript) ExecSrcScriptById(ctx context.Context, req *api.ExecSrcScriptRequest) (*api.ExecScriptResult, error)
- func (c ControllerScript) GetScriptById(ctx context.Context, req *api.GetScriptRequest) (*api.Script, error)
- func (c ControllerScript) GetScriptList(ctx context.Context, req *api.PaginationRequest) (*api.GetScriptListResult, error)
- func (c ControllerScript) SearchScript(ctx context.Context, req *api.SearchRequest) (*api.SearchScriptListResult, error)
- func (c ControllerScript) UpdateScriptById(ctx context.Context, req *api.UpdateScriptRequest) (*api.Script, error)
- type ControllerStream
- type ControllerUser
- func (c ControllerUser) AddUser(ctx context.Context, req *api.NewtUserRequest) (userFull *api.UserFull, err error)
- func (c ControllerUser) DeleteUserById(ctx context.Context, req *api.DeleteUserRequest) (*emptypb.Empty, error)
- func (c ControllerUser) GetUserById(ctx context.Context, req *api.GetUserByIdRequest) (*api.UserFull, error)
- func (c ControllerUser) GetUserList(ctx context.Context, req *api.PaginationRequest) (*api.GetUserListResult, error)
- func (c ControllerUser) UpdateUserById(ctx context.Context, req *api.UpdateUserRequest) (*api.UserFull, error)
- type ControllerVariable
- func (c ControllerVariable) AddVariable(ctx context.Context, req *api.NewVariableRequest) (*api.Variable, error)
- func (c ControllerVariable) DeleteVariable(ctx context.Context, req *api.DeleteVariableRequest) (*emptypb.Empty, error)
- func (c ControllerVariable) GetVariableByName(ctx context.Context, req *api.GetVariableRequest) (*api.Variable, error)
- func (c ControllerVariable) GetVariableList(ctx context.Context, req *api.PaginationRequest) (*api.GetVariableListResult, error)
- func (c ControllerVariable) UpdateVariable(ctx context.Context, req *api.UpdateVariableRequest) (*api.Variable, error)
- type ControllerZigbee2mqtt
- func (c ControllerZigbee2mqtt) AddZigbee2MqttBridge(ctx context.Context, req *api.NewZigbee2MqttRequest) (*api.Zigbee2Mqtt, error)
- func (c ControllerZigbee2mqtt) DeleteBridgeById(ctx context.Context, req *api.DeleteBridgeRequest) (*emptypb.Empty, error)
- func (c ControllerZigbee2mqtt) DeviceBan(ctx context.Context, req *api.DeviceBanRequest) (*emptypb.Empty, error)
- func (c ControllerZigbee2mqtt) DeviceList(ctx context.Context, req *api.DeviceListRequest) (*api.DeviceListResult, error)
- func (c ControllerZigbee2mqtt) DeviceRename(ctx context.Context, req *api.DeviceRenameRequest) (*emptypb.Empty, error)
- func (c ControllerZigbee2mqtt) DeviceWhitelist(ctx context.Context, req *api.DeviceWhitelistRequest) (*emptypb.Empty, error)
- func (c ControllerZigbee2mqtt) GetBridgeList(ctx context.Context, req *api.PaginationRequest) (*api.GetBridgeListResult, error)
- func (c ControllerZigbee2mqtt) GetZigbee2MqttBridge(ctx context.Context, req *api.GetBridgeRequest) (*api.Zigbee2Mqtt, error)
- func (c ControllerZigbee2mqtt) Networkmap(ctx context.Context, req *api.NetworkmapRequest) (*api.NetworkmapResponse, error)
- func (c ControllerZigbee2mqtt) ResetBridgeById(ctx context.Context, req *api.ResetBridgeRequest) (*emptypb.Empty, error)
- func (c ControllerZigbee2mqtt) SearchDevice(ctx context.Context, req *api.SearchRequest) (*api.SearchDeviceResult, error)
- func (c ControllerZigbee2mqtt) UpdateBridgeById(ctx context.Context, req *api.UpdateBridgeRequest) (*api.Zigbee2Mqtt, error)
- func (c ControllerZigbee2mqtt) UpdateNetworkmap(ctx context.Context, req *api.NetworkmapRequest) (*emptypb.Empty, error)
- type Controllers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerArea ¶ added in v0.5.2
type ControllerArea struct {
*ControllerCommon
}
ControllerArea ...
func NewControllerArea ¶ added in v0.5.2
func NewControllerArea(common *ControllerCommon) ControllerArea
NewControllerArea ...
func (ControllerArea) AddArea ¶ added in v0.5.2
func (c ControllerArea) AddArea(ctx context.Context, req *api.NewAreaRequest) (*api.Area, error)
AddArea ...
func (ControllerArea) DeleteArea ¶ added in v0.5.2
func (c ControllerArea) DeleteArea(ctx context.Context, req *api.DeleteAreaRequest) (*emptypb.Empty, error)
DeleteArea ...
func (ControllerArea) GetAreaById ¶ added in v0.5.2
func (c ControllerArea) GetAreaById(ctx context.Context, req *api.GetAreaRequest) (*api.Area, error)
GetAreaById ...
func (ControllerArea) GetAreaList ¶ added in v0.5.2
func (c ControllerArea) GetAreaList(ctx context.Context, req *api.PaginationRequest) (*api.GetAreaListResult, error)
GetAreaList ...
func (ControllerArea) SearchArea ¶ added in v0.5.2
func (c ControllerArea) SearchArea(ctx context.Context, req *api.SearchRequest) (*api.SearchAreaResult, error)
SearchArea ...
func (ControllerArea) UpdateArea ¶ added in v0.5.2
func (c ControllerArea) UpdateArea(ctx context.Context, req *api.UpdateAreaRequest) (*api.Area, error)
UpdateArea ...
type ControllerAuth ¶ added in v0.5.0
type ControllerAuth struct {
*ControllerCommon
}
ControllerAuth ...
func NewControllerAuth ¶ added in v0.5.0
func NewControllerAuth(common *ControllerCommon) ControllerAuth
NewControllerAuth ...
func (ControllerAuth) AccessList ¶ added in v0.5.0
func (a ControllerAuth) AccessList(ctx context.Context, _ *emptypb.Empty) (*api.AccessListResponse, error)
AccessList ...
func (ControllerAuth) Signin ¶ added in v0.5.0
func (a ControllerAuth) Signin(ctx context.Context, _ *emptypb.Empty) (resp *api.SigninResponse, err error)
Signin ...
type ControllerAutomation ¶ added in v0.5.2
type ControllerAutomation struct {
*ControllerCommon
}
ControllerAutomation ...
func NewControllerAutomation ¶ added in v0.5.2
func NewControllerAutomation(common *ControllerCommon) ControllerAutomation
NewControllerAutomation ...
func (ControllerAutomation) AddTask ¶ added in v0.5.2
func (c ControllerAutomation) AddTask(ctx context.Context, req *api.NewTaskRequest) (*api.Task, error)
AddTask ...
func (ControllerAutomation) DeleteTask ¶ added in v0.5.2
func (c ControllerAutomation) DeleteTask(ctx context.Context, req *api.DeleteTaskRequest) (*emptypb.Empty, error)
DeleteTask ...
func (ControllerAutomation) DisableTask ¶ added in v0.5.3
func (c ControllerAutomation) DisableTask(ctx context.Context, req *api.DisableTaskRequest) (*emptypb.Empty, error)
DisableTask ...
func (ControllerAutomation) EnableTask ¶ added in v0.5.3
func (c ControllerAutomation) EnableTask(ctx context.Context, req *api.EnableTaskRequest) (*emptypb.Empty, error)
EnableTask ...
func (ControllerAutomation) GetTask ¶ added in v0.5.2
func (c ControllerAutomation) GetTask(ctx context.Context, req *api.GetTaskRequest) (*api.Task, error)
GetTask ...
func (ControllerAutomation) GetTaskList ¶ added in v0.5.2
func (c ControllerAutomation) GetTaskList(ctx context.Context, req *api.PaginationRequest) (*api.GetTaskListResult, error)
GetTaskList ...
func (ControllerAutomation) UpdateTask ¶ added in v0.5.2
func (c ControllerAutomation) UpdateTask(ctx context.Context, req *api.UpdateTaskRequest) (*api.Task, error)
UpdateTask ...
type ControllerBackup ¶ added in v0.7.1
type ControllerBackup struct {
*ControllerCommon
}
ControllerBackup ...
func NewControllerBackup ¶ added in v0.7.1
func NewControllerBackup(common *ControllerCommon) ControllerBackup
NewControllerBackup ...
func (ControllerBackup) GetBackupList ¶ added in v0.7.1
func (c ControllerBackup) GetBackupList(ctx context.Context, _ *emptypb.Empty) (*api.GetBackupListResult, error)
GetBackupList ...
func (ControllerBackup) RestoreBackup ¶ added in v0.7.1
func (c ControllerBackup) RestoreBackup(ctx context.Context, req *api.RestoreBackupRequest) (*emptypb.Empty, error)
RestoreBackup ...
type ControllerCommon ¶ added in v0.5.0
type ControllerCommon struct {
// contains filtered or unexported fields
}
ControllerCommon ...
func NewControllerCommon ¶ added in v0.5.0
func NewControllerCommon(adaptors *adaptors.Adaptors, accessList access_list.AccessListService, endpoint *endpoint.Endpoint, appConfig *m.AppConfig) *ControllerCommon
NewControllerCommon ...
func (ControllerCommon) Pagination ¶ added in v0.5.1
func (c ControllerCommon) Pagination(page, limit uint64, sort string) (pagination common.PageParams)
Pagination ...
func (ControllerCommon) Search ¶ added in v0.5.2
func (c ControllerCommon) Search(query string, limit, offset int64) (search common.SearchParams)
Search ...
type ControllerDashboard ¶ added in v0.6.0
type ControllerDashboard struct {
*ControllerCommon
}
ControllerDashboard ...
func NewControllerDashboard ¶ added in v0.6.0
func NewControllerDashboard(common *ControllerCommon) ControllerDashboard
NewControllerDashboard ...
func (ControllerDashboard) AddDashboard ¶ added in v0.6.0
func (c ControllerDashboard) AddDashboard(ctx context.Context, req *api.NewDashboardRequest) (*api.Dashboard, error)
AddDashboard ...
func (ControllerDashboard) DeleteDashboard ¶ added in v0.6.0
func (c ControllerDashboard) DeleteDashboard(ctx context.Context, req *api.DeleteDashboardRequest) (*emptypb.Empty, error)
DeleteDashboard ...
func (ControllerDashboard) GetDashboardById ¶ added in v0.6.0
func (c ControllerDashboard) GetDashboardById(ctx context.Context, req *api.GetDashboardRequest) (*api.Dashboard, error)
GetDashboardById ...
func (ControllerDashboard) GetDashboardList ¶ added in v0.6.0
func (c ControllerDashboard) GetDashboardList(ctx context.Context, req *api.PaginationRequest) (*api.GetDashboardListResult, error)
GetDashboardList ...
func (ControllerDashboard) ImportDashboard ¶ added in v0.6.0
func (c ControllerDashboard) ImportDashboard(ctx context.Context, req *api.Dashboard) (*api.Dashboard, error)
ImportDashboard ...
func (ControllerDashboard) SearchDashboard ¶ added in v0.7.0
func (c ControllerDashboard) SearchDashboard(ctx context.Context, req *api.SearchRequest) (*api.SearchDashboardResult, error)
SearchDashboard ...
func (ControllerDashboard) UpdateDashboard ¶ added in v0.6.0
func (c ControllerDashboard) UpdateDashboard(ctx context.Context, req *api.UpdateDashboardRequest) (*api.Dashboard, error)
UpdateDashboard ...
type ControllerDashboardCard ¶ added in v0.6.0
type ControllerDashboardCard struct {
*ControllerCommon
}
ControllerDashboardCard ...
func NewControllerDashboardCard ¶ added in v0.6.0
func NewControllerDashboardCard(common *ControllerCommon) ControllerDashboardCard
NewControllerDashboardCard ...
func (ControllerDashboardCard) AddDashboardCard ¶ added in v0.6.0
func (c ControllerDashboardCard) AddDashboardCard(ctx context.Context, req *api.NewDashboardCardRequest) (*api.DashboardCard, error)
AddDashboardCard ...
func (ControllerDashboardCard) DeleteDashboardCard ¶ added in v0.6.0
func (c ControllerDashboardCard) DeleteDashboardCard(ctx context.Context, req *api.DeleteDashboardCardRequest) (*emptypb.Empty, error)
DeleteDashboardCard ...
func (ControllerDashboardCard) GetDashboardCardById ¶ added in v0.6.0
func (c ControllerDashboardCard) GetDashboardCardById(ctx context.Context, req *api.GetDashboardCardRequest) (*api.DashboardCard, error)
GetDashboardCardById ...
func (ControllerDashboardCard) GetDashboardCardList ¶ added in v0.6.0
func (c ControllerDashboardCard) GetDashboardCardList(ctx context.Context, req *api.PaginationRequest) (*api.GetDashboardCardListResult, error)
GetDashboardCardList ...
func (ControllerDashboardCard) ImportDashboardCard ¶ added in v0.6.0
func (c ControllerDashboardCard) ImportDashboardCard(ctx context.Context, req *api.DashboardCard) (*api.DashboardCard, error)
ImportDashboardCard ...
func (ControllerDashboardCard) UpdateDashboardCard ¶ added in v0.6.0
func (c ControllerDashboardCard) UpdateDashboardCard(ctx context.Context, req *api.UpdateDashboardCardRequest) (*api.DashboardCard, error)
UpdateDashboardCard ...
type ControllerDashboardCardItem ¶ added in v0.6.0
type ControllerDashboardCardItem struct {
*ControllerCommon
}
ControllerDashboardCardItem ...
func NewControllerDashboardCardItem ¶ added in v0.6.0
func NewControllerDashboardCardItem(common *ControllerCommon) ControllerDashboardCardItem
NewControllerDashboardCardItem ...
func (ControllerDashboardCardItem) AddDashboardCardItem ¶ added in v0.6.0
func (c ControllerDashboardCardItem) AddDashboardCardItem(ctx context.Context, req *api.NewDashboardCardItemRequest) (*api.DashboardCardItem, error)
AddDashboardCardItem ...
func (ControllerDashboardCardItem) DeleteDashboardCardItem ¶ added in v0.6.0
func (c ControllerDashboardCardItem) DeleteDashboardCardItem(ctx context.Context, req *api.DeleteDashboardCardItemRequest) (*emptypb.Empty, error)
DeleteDashboardCardItem ...
func (ControllerDashboardCardItem) GetDashboardCardItemById ¶ added in v0.6.0
func (c ControllerDashboardCardItem) GetDashboardCardItemById(ctx context.Context, req *api.GetDashboardCardItemRequest) (*api.DashboardCardItem, error)
GetDashboardCardItemById ...
func (ControllerDashboardCardItem) GetDashboardCardItemList ¶ added in v0.6.0
func (c ControllerDashboardCardItem) GetDashboardCardItemList(ctx context.Context, req *api.PaginationRequest) (*api.GetDashboardCardItemListResult, error)
GetDashboardCardItemList ...
func (ControllerDashboardCardItem) UpdateDashboardCardItem ¶ added in v0.6.0
func (c ControllerDashboardCardItem) UpdateDashboardCardItem(ctx context.Context, req *api.UpdateDashboardCardItemRequest) (*api.DashboardCardItem, error)
UpdateDashboardCardItem ...
type ControllerDashboardTab ¶ added in v0.6.0
type ControllerDashboardTab struct {
*ControllerCommon
}
ControllerDashboardTab ...
func NewControllerDashboardTab ¶ added in v0.6.0
func NewControllerDashboardTab(common *ControllerCommon) ControllerDashboardTab
NewControllerDashboardTab ...
func (ControllerDashboardTab) AddDashboardTab ¶ added in v0.6.0
func (c ControllerDashboardTab) AddDashboardTab(ctx context.Context, req *api.NewDashboardTabRequest) (*api.DashboardTab, error)
AddDashboardTab ...
func (ControllerDashboardTab) DeleteDashboardTab ¶ added in v0.6.0
func (c ControllerDashboardTab) DeleteDashboardTab(ctx context.Context, req *api.DeleteDashboardTabRequest) (*emptypb.Empty, error)
DeleteDashboardTab ...
func (ControllerDashboardTab) GetDashboardTabById ¶ added in v0.6.0
func (c ControllerDashboardTab) GetDashboardTabById(ctx context.Context, req *api.GetDashboardTabRequest) (*api.DashboardTab, error)
GetDashboardTabById ...
func (ControllerDashboardTab) GetDashboardTabList ¶ added in v0.6.0
func (c ControllerDashboardTab) GetDashboardTabList(ctx context.Context, req *api.PaginationRequest) (*api.GetDashboardTabListResult, error)
GetDashboardTabList ...
func (ControllerDashboardTab) UpdateDashboardTab ¶ added in v0.6.0
func (c ControllerDashboardTab) UpdateDashboardTab(ctx context.Context, req *api.UpdateDashboardTabRequest) (*api.DashboardTab, error)
UpdateDashboardTab ...
type ControllerDeveloperTools ¶ added in v0.5.3
type ControllerDeveloperTools struct {
*ControllerCommon
}
ControllerDeveloperTools ...
func NewControllerDeveloperTools ¶ added in v0.5.3
func NewControllerDeveloperTools(common *ControllerCommon) ControllerDeveloperTools
NewControllerDeveloperTools ...
func (ControllerDeveloperTools) EntitySetState ¶ added in v0.5.3
func (c ControllerDeveloperTools) EntitySetState(ctx context.Context, req *api.EntityRequest) (*emptypb.Empty, error)
EntitySetState ...
func (ControllerDeveloperTools) ReloadEntity ¶ added in v0.5.3
func (c ControllerDeveloperTools) ReloadEntity(ctx context.Context, req *api.ReloadRequest) (*emptypb.Empty, error)
ReloadEntity ...
func (ControllerDeveloperTools) TaskCallAction ¶ added in v0.5.3
func (c ControllerDeveloperTools) TaskCallAction(ctx context.Context, req *api.AutomationRequest) (*emptypb.Empty, error)
TaskCallAction ...
func (ControllerDeveloperTools) TaskCallTrigger ¶ added in v0.5.3
func (c ControllerDeveloperTools) TaskCallTrigger(ctx context.Context, req *api.AutomationRequest) (*emptypb.Empty, error)
TaskCallTrigger ...
type ControllerEntity ¶ added in v0.5.2
type ControllerEntity struct {
*ControllerCommon
}
ControllerEntity ...
func NewControllerEntity ¶ added in v0.5.2
func NewControllerEntity(common *ControllerCommon) ControllerEntity
NewControllerEntity ...
func (ControllerEntity) AddEntity ¶ added in v0.5.2
func (c ControllerEntity) AddEntity(ctx context.Context, req *api.NewEntityRequest) (*api.Entity, error)
AddEntity ...
func (ControllerEntity) DeleteEntity ¶ added in v0.5.2
func (c ControllerEntity) DeleteEntity(ctx context.Context, req *api.DeleteEntityRequest) (*emptypb.Empty, error)
DeleteEntity ...
func (ControllerEntity) GetEntity ¶ added in v0.5.2
func (c ControllerEntity) GetEntity(ctx context.Context, req *api.GetEntityRequest) (*api.Entity, error)
GetEntity ...
func (ControllerEntity) GetEntityList ¶ added in v0.5.2
func (c ControllerEntity) GetEntityList(ctx context.Context, req *api.PaginationRequest) (*api.GetEntityListResult, error)
GetEntityList ...
func (ControllerEntity) ImportEntity ¶ added in v0.7.2
func (c ControllerEntity) ImportEntity(ctx context.Context, req *api.Entity) (*emptypb.Empty, error)
ImportEntity ...
func (ControllerEntity) SearchEntity ¶ added in v0.5.2
func (c ControllerEntity) SearchEntity(ctx context.Context, req *api.SearchRequest) (*api.SearchEntityResult, error)
SearchEntity ...
func (ControllerEntity) UpdateEntity ¶ added in v0.5.2
func (c ControllerEntity) UpdateEntity(ctx context.Context, req *api.UpdateEntityRequest) (*api.Entity, error)
UpdateEntity ...
type ControllerEntityStorage ¶ added in v0.6.0
type ControllerEntityStorage struct {
*ControllerCommon
}
ControllerEntityStorage ...
func NewControllerEntityStorage ¶ added in v0.6.0
func NewControllerEntityStorage(common *ControllerCommon) ControllerEntityStorage
NewControllerEntityStorage ...
func (ControllerEntityStorage) GetEntityStorageList ¶ added in v0.6.0
func (c ControllerEntityStorage) GetEntityStorageList(ctx context.Context, req *api.GetEntityStorageRequest) (*api.GetEntityStorageResult, error)
GetEntityStorageList ...
type ControllerImage ¶ added in v0.5.0
type ControllerImage struct {
*ControllerCommon
}
ControllerImage ...
func NewControllerImage ¶ added in v0.5.0
func NewControllerImage(common *ControllerCommon) ControllerImage
NewControllerImage ...
func (ControllerImage) AddImage ¶ added in v0.5.0
func (c ControllerImage) AddImage(ctx context.Context, req *api.NewImageRequest) (*api.Image, error)
AddImage ...
func (ControllerImage) DeleteImageById ¶ added in v0.5.0
func (c ControllerImage) DeleteImageById(ctx context.Context, req *api.DeleteImageRequest) (*emptypb.Empty, error)
DeleteImageById ...
func (ControllerImage) GetImageById ¶ added in v0.5.0
func (c ControllerImage) GetImageById(ctx context.Context, req *api.GetImageRequest) (*api.Image, error)
GetImageById ...
func (ControllerImage) GetImageFilterList ¶ added in v0.5.3
func (c ControllerImage) GetImageFilterList(ctx context.Context, empty *emptypb.Empty) (*api.GetImageFilterListResult, error)
GetImageFilterList ...
func (ControllerImage) GetImageList ¶ added in v0.5.0
func (c ControllerImage) GetImageList(ctx context.Context, req *api.PaginationRequest) (*api.GetImageListResult, error)
GetImageList ...
func (ControllerImage) GetImageListByDate ¶ added in v0.5.3
func (c ControllerImage) GetImageListByDate(ctx context.Context, request *api.GetImageListByDateRequest) (*api.GetImageListByDateResult, error)
GetImageListByDate ...
func (ControllerImage) MuxUploadImage ¶ added in v0.5.0
func (c ControllerImage) MuxUploadImage() func(w http.ResponseWriter, r *http.Request)
MuxUploadImage ...
func (ControllerImage) UpdateImageById ¶ added in v0.5.0
func (c ControllerImage) UpdateImageById(ctx context.Context, req *api.UpdateImageRequest) (*api.Image, error)
UpdateImageById ...
func (ControllerImage) UploadImage ¶ added in v0.5.0
func (c ControllerImage) UploadImage(ctx context.Context, req *api.UploadImageRequest) (*api.Image, error)
UploadImage ...
type ControllerIndex ¶ added in v0.10.0
type ControllerIndex struct {
*ControllerCommon
}
ControllerIndex ...
func NewControllerIndex ¶ added in v0.10.0
func NewControllerIndex(common *ControllerCommon) ControllerIndex
NewControllerIndex ...
func (ControllerIndex) Index ¶ added in v0.10.0
func (c ControllerIndex) Index(publicAssets embed.FS) func(w http.ResponseWriter, r *http.Request)
Index ...
type ControllerInteract ¶ added in v0.5.3
type ControllerInteract struct {
*ControllerCommon
}
ControllerInteract ...
func NewControllerInteract ¶ added in v0.5.3
func NewControllerInteract(common *ControllerCommon) ControllerInteract
NewControllerInteract ...
func (ControllerInteract) EntityCallAction ¶ added in v0.5.3
func (c ControllerInteract) EntityCallAction(ctx context.Context, req *api.EntityCallActionRequest) (*emptypb.Empty, error)
type ControllerLogs ¶ added in v0.5.3
type ControllerLogs struct {
*ControllerCommon
}
ControllerLogs ...
func NewControllerLogs ¶ added in v0.5.3
func NewControllerLogs(common *ControllerCommon) ControllerLogs
NewControllerLogs ...
func (ControllerLogs) GetLogList ¶ added in v0.5.3
func (c ControllerLogs) GetLogList(ctx context.Context, req *api.LogPaginationRequest) (*api.GetLogListResult, error)
GetLogList ...
type ControllerMessageDelivery ¶ added in v0.10.0
type ControllerMessageDelivery struct {
*ControllerCommon
}
ControllerMessageDelivery ...
func NewControllerMessageDelivery ¶ added in v0.10.0
func NewControllerMessageDelivery(common *ControllerCommon) ControllerMessageDelivery
func (ControllerMessageDelivery) GetMessageDeliveryList ¶ added in v0.10.0
func (c ControllerMessageDelivery) GetMessageDeliveryList(ctx context.Context, req *api.MessageDeliveryPaginationRequest) (*api.GetMessageDeliveryListResult, error)
GetMessageDeliveryList ...
type ControllerMetric ¶ added in v0.7.0
type ControllerMetric struct {
*ControllerCommon
}
ControllerMetric ...
func NewControllerMetric ¶ added in v0.7.0
func NewControllerMetric(common *ControllerCommon) ControllerMetric
NewControllerMetric ...
func (ControllerMetric) GetMetric ¶ added in v0.7.0
func (c ControllerMetric) GetMetric(ctx context.Context, req *api.GetMetricRequest) (*api.Metric, error)
GetMetric ...
type ControllerPlugin ¶ added in v0.5.1
type ControllerPlugin struct {
*ControllerCommon
}
ControllerPlugin ...
func NewControllerPlugin ¶ added in v0.5.1
func NewControllerPlugin(common *ControllerCommon) ControllerPlugin
NewControllerPlugin ...
func (ControllerPlugin) DisablePlugin ¶ added in v0.5.1
func (c ControllerPlugin) DisablePlugin(ctx context.Context, req *api.DisablePluginRequest) (*api.DisablePluginResult, error)
DisablePlugin ...
func (ControllerPlugin) EnablePlugin ¶ added in v0.5.1
func (c ControllerPlugin) EnablePlugin(ctx context.Context, req *api.EnablePluginRequest) (*api.EnablePluginResult, error)
EnablePlugin ...
func (ControllerPlugin) GetPluginList ¶ added in v0.5.1
func (c ControllerPlugin) GetPluginList(ctx context.Context, req *api.PaginationRequest) (*api.GetPluginListResult, error)
GetPluginList ...
func (ControllerPlugin) GetPluginOptions ¶ added in v0.5.1
func (c ControllerPlugin) GetPluginOptions(ctx context.Context, req *api.GetPluginOptionsRequest) (*api.GetPluginOptionsResult, error)
GetPluginOptions ...
func (ControllerPlugin) SearchPlugin ¶ added in v0.5.2
func (c ControllerPlugin) SearchPlugin(ctx context.Context, req *api.SearchRequest) (*api.SearchPluginResult, error)
SearchPlugin ...
type ControllerRole ¶ added in v0.5.0
type ControllerRole struct {
*ControllerCommon
}
ControllerRole ...
func NewControllerRole ¶ added in v0.5.0
func NewControllerRole(common *ControllerCommon) ControllerRole
NewControllerRole ...
func (ControllerRole) AddRole ¶ added in v0.5.0
func (c ControllerRole) AddRole(ctx context.Context, req *api.NewRoleRequest) (*api.Role, error)
AddRole ...
func (ControllerRole) DeleteRoleByName ¶ added in v0.5.0
func (c ControllerRole) DeleteRoleByName(ctx context.Context, req *api.DeleteRoleRequest) (*emptypb.Empty, error)
DeleteRoleByName ...
func (ControllerRole) GetRoleAccessList ¶ added in v0.5.0
func (c ControllerRole) GetRoleAccessList(ctx context.Context, req *api.GetRoleAccessListRequest) (*api.RoleAccessListResult, error)
GetRoleAccessList ...
func (ControllerRole) GetRoleByName ¶ added in v0.5.0
func (c ControllerRole) GetRoleByName(ctx context.Context, req *api.GetRoleRequest) (*api.Role, error)
GetRoleByName ...
func (ControllerRole) GetRoleList ¶ added in v0.5.0
func (c ControllerRole) GetRoleList(ctx context.Context, req *api.PaginationRequest) (*api.GetRoleListResult, error)
GetRoleList ...
func (ControllerRole) SearchRoleByName ¶ added in v0.5.0
func (c ControllerRole) SearchRoleByName(ctx context.Context, req *api.SearchRequest) (*api.SearchRoleListResult, error)
SearchRoleByName ...
func (ControllerRole) UpdateRoleAccessList ¶ added in v0.5.0
func (c ControllerRole) UpdateRoleAccessList(ctx context.Context, req *api.UpdateRoleAccessListRequest) (*api.RoleAccessListResult, error)
UpdateRoleAccessList ...
func (ControllerRole) UpdateRoleByName ¶ added in v0.5.0
func (c ControllerRole) UpdateRoleByName(ctx context.Context, req *api.UpdateRoleRequest) (*api.Role, error)
UpdateRoleByName ...
type ControllerScript ¶ added in v0.5.0
type ControllerScript struct {
*ControllerCommon
}
ControllerScript ...
func NewControllerScript ¶ added in v0.5.0
func NewControllerScript(common *ControllerCommon) ControllerScript
NewControllerScript ...
func (ControllerScript) AddScript ¶ added in v0.5.0
func (c ControllerScript) AddScript(ctx context.Context, req *api.NewScriptRequest) (*api.Script, error)
AddScript ...
func (ControllerScript) CopyScriptById ¶ added in v0.5.0
func (c ControllerScript) CopyScriptById(ctx context.Context, req *api.CopyScriptRequest) (*api.Script, error)
CopyScriptById ...
func (ControllerScript) DeleteScriptById ¶ added in v0.5.0
func (c ControllerScript) DeleteScriptById(ctx context.Context, req *api.DeleteScriptRequest) (*emptypb.Empty, error)
DeleteScriptById ...
func (ControllerScript) ExecScriptById ¶ added in v0.5.0
func (c ControllerScript) ExecScriptById(ctx context.Context, req *api.ExecScriptRequest) (*api.ExecScriptResult, error)
ExecScriptById ...
func (ControllerScript) ExecSrcScriptById ¶ added in v0.5.0
func (c ControllerScript) ExecSrcScriptById(ctx context.Context, req *api.ExecSrcScriptRequest) (*api.ExecScriptResult, error)
ExecSrcScriptById ...
func (ControllerScript) GetScriptById ¶ added in v0.5.0
func (c ControllerScript) GetScriptById(ctx context.Context, req *api.GetScriptRequest) (*api.Script, error)
GetScriptById ...
func (ControllerScript) GetScriptList ¶ added in v0.5.0
func (c ControllerScript) GetScriptList(ctx context.Context, req *api.PaginationRequest) (*api.GetScriptListResult, error)
GetScriptList ...
func (ControllerScript) SearchScript ¶ added in v0.5.2
func (c ControllerScript) SearchScript(ctx context.Context, req *api.SearchRequest) (*api.SearchScriptListResult, error)
SearchScript ...
func (ControllerScript) UpdateScriptById ¶ added in v0.5.0
func (c ControllerScript) UpdateScriptById(ctx context.Context, req *api.UpdateScriptRequest) (*api.Script, error)
UpdateScriptById ...
type ControllerStream ¶ added in v0.5.0
type ControllerStream struct {
*ControllerCommon
}
ControllerStream ...
func NewControllerStream ¶ added in v0.5.0
func NewControllerStream(common *ControllerCommon) ControllerStream
NewControllerStream ...
func (ControllerStream) Subscribe ¶ added in v0.5.0
func (a ControllerStream) Subscribe(server api.StreamService_SubscribeServer) error
Subscribe ...
type ControllerUser ¶ added in v0.5.0
type ControllerUser struct {
*ControllerCommon
}
ControllerUser ...
func NewControllerUser ¶ added in v0.5.0
func NewControllerUser(common *ControllerCommon) ControllerUser
NewControllerUser ...
func (ControllerUser) AddUser ¶ added in v0.5.0
func (c ControllerUser) AddUser(ctx context.Context, req *api.NewtUserRequest) (userFull *api.UserFull, err error)
AddUser ...
func (ControllerUser) DeleteUserById ¶ added in v0.5.0
func (c ControllerUser) DeleteUserById(ctx context.Context, req *api.DeleteUserRequest) (*emptypb.Empty, error)
DeleteUserById ...
func (ControllerUser) GetUserById ¶ added in v0.5.0
func (c ControllerUser) GetUserById(ctx context.Context, req *api.GetUserByIdRequest) (*api.UserFull, error)
GetUserById ...
func (ControllerUser) GetUserList ¶ added in v0.5.0
func (c ControllerUser) GetUserList(ctx context.Context, req *api.PaginationRequest) (*api.GetUserListResult, error)
GetUserList ...
func (ControllerUser) UpdateUserById ¶ added in v0.5.0
func (c ControllerUser) UpdateUserById(ctx context.Context, req *api.UpdateUserRequest) (*api.UserFull, error)
UpdateUserById ...
type ControllerVariable ¶ added in v0.6.0
type ControllerVariable struct {
*ControllerCommon
}
ControllerVariable ...
func NewControllerVariable ¶ added in v0.6.0
func NewControllerVariable(common *ControllerCommon) ControllerVariable
NewControllerVariable ...
func (ControllerVariable) AddVariable ¶ added in v0.6.0
func (c ControllerVariable) AddVariable(ctx context.Context, req *api.NewVariableRequest) (*api.Variable, error)
AddVariable ...
func (ControllerVariable) DeleteVariable ¶ added in v0.6.0
func (c ControllerVariable) DeleteVariable(ctx context.Context, req *api.DeleteVariableRequest) (*emptypb.Empty, error)
DeleteVariable ...
func (ControllerVariable) GetVariableByName ¶ added in v0.6.0
func (c ControllerVariable) GetVariableByName(ctx context.Context, req *api.GetVariableRequest) (*api.Variable, error)
GetVariableByName ...
func (ControllerVariable) GetVariableList ¶ added in v0.6.0
func (c ControllerVariable) GetVariableList(ctx context.Context, req *api.PaginationRequest) (*api.GetVariableListResult, error)
GetVariableList ...
func (ControllerVariable) UpdateVariable ¶ added in v0.6.0
func (c ControllerVariable) UpdateVariable(ctx context.Context, req *api.UpdateVariableRequest) (*api.Variable, error)
UpdateVariable ...
type ControllerZigbee2mqtt ¶ added in v0.5.2
type ControllerZigbee2mqtt struct {
*ControllerCommon
}
ControllerZigbee2mqtt ...
func NewControllerZigbee2mqtt ¶ added in v0.5.2
func NewControllerZigbee2mqtt(common *ControllerCommon) ControllerZigbee2mqtt
NewControllerZigbee2mqtt ...
func (ControllerZigbee2mqtt) AddZigbee2MqttBridge ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) AddZigbee2MqttBridge(ctx context.Context, req *api.NewZigbee2MqttRequest) (*api.Zigbee2Mqtt, error)
AddZigbee2MqttBridge ...
func (ControllerZigbee2mqtt) DeleteBridgeById ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) DeleteBridgeById(ctx context.Context, req *api.DeleteBridgeRequest) (*emptypb.Empty, error)
DeleteBridgeById ...
func (ControllerZigbee2mqtt) DeviceBan ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) DeviceBan(ctx context.Context, req *api.DeviceBanRequest) (*emptypb.Empty, error)
DeviceBan ...
func (ControllerZigbee2mqtt) DeviceList ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) DeviceList(ctx context.Context, req *api.DeviceListRequest) (*api.DeviceListResult, error)
DeviceList ...
func (ControllerZigbee2mqtt) DeviceRename ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) DeviceRename(ctx context.Context, req *api.DeviceRenameRequest) (*emptypb.Empty, error)
DeviceRename ...
func (ControllerZigbee2mqtt) DeviceWhitelist ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) DeviceWhitelist(ctx context.Context, req *api.DeviceWhitelistRequest) (*emptypb.Empty, error)
DeviceWhitelist ...
func (ControllerZigbee2mqtt) GetBridgeList ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) GetBridgeList(ctx context.Context, req *api.PaginationRequest) (*api.GetBridgeListResult, error)
GetBridgeList ...
func (ControllerZigbee2mqtt) GetZigbee2MqttBridge ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) GetZigbee2MqttBridge(ctx context.Context, req *api.GetBridgeRequest) (*api.Zigbee2Mqtt, error)
GetZigbee2MqttBridge ...
func (ControllerZigbee2mqtt) Networkmap ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) Networkmap(ctx context.Context, req *api.NetworkmapRequest) (*api.NetworkmapResponse, error)
Networkmap ...
func (ControllerZigbee2mqtt) ResetBridgeById ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) ResetBridgeById(ctx context.Context, req *api.ResetBridgeRequest) (*emptypb.Empty, error)
ResetBridgeById ...
func (ControllerZigbee2mqtt) SearchDevice ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) SearchDevice(ctx context.Context, req *api.SearchRequest) (*api.SearchDeviceResult, error)
SearchDevice ...
func (ControllerZigbee2mqtt) UpdateBridgeById ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) UpdateBridgeById(ctx context.Context, req *api.UpdateBridgeRequest) (*api.Zigbee2Mqtt, error)
UpdateBridgeById ...
func (ControllerZigbee2mqtt) UpdateNetworkmap ¶ added in v0.5.2
func (c ControllerZigbee2mqtt) UpdateNetworkmap(ctx context.Context, req *api.NetworkmapRequest) (*emptypb.Empty, error)
UpdateNetworkmap ...
type Controllers ¶ added in v0.5.0
type Controllers struct { Auth ControllerAuth Stream ControllerStream User ControllerUser Role ControllerRole Script ControllerScript Image ControllerImage Plugin ControllerPlugin Zigbee2mqtt ControllerZigbee2mqtt Entity ControllerEntity Automation ControllerAutomation Area ControllerArea Dev ControllerDeveloperTools Interact ControllerInteract Logs ControllerLogs Dashboard ControllerDashboard DashboardCardItem ControllerDashboardCardItem DashboardCard ControllerDashboardCard DashboardTab ControllerDashboardTab Variable ControllerVariable EntityStorage ControllerEntityStorage Metric ControllerMetric Backup ControllerBackup MessageDelivery ControllerMessageDelivery Index ControllerIndex }
Controllers ...
func NewControllers ¶ added in v0.5.0
func NewControllers(adaptors *adaptors.Adaptors, accessList access_list.AccessListService, command *endpoint.Endpoint, _ *handlers.EventHandler, appConfig *m.AppConfig) *Controllers
NewControllers ...
Source Files ¶
- area.go
- auth.go
- automation.go
- backup.go
- common.go
- controllers.go
- dashboard.go
- dashboard_card.go
- dashboard_card_item.go
- dashboard_tab.go
- developer_tools.go
- entity.go
- entity_storage.go
- image.go
- index.go
- interact.go
- logs.go
- message_delivery.go
- metric.go
- plugin.go
- role.go
- script.go
- stream.go
- user.go
- variable.go
- zigbee2mqtt.go