api

package
Version: v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	Types_name = map[int32]string{
		0: "INT",
		1: "STRING",
		2: "FLOAT",
		3: "BOOL",
		4: "ARRAY",
	}
	Types_value = map[string]int32{
		"INT":    0,
		"STRING": 1,
		"FLOAT":  2,
		"BOOL":   3,
		"ARRAY":  4,
	}
)

Enum value maps for Types.

View Source
var AreaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.AreaService",
	HandlerType: (*AreaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddArea",
			Handler:    _AreaService_AddArea_Handler,
		},
		{
			MethodName: "UpdateArea",
			Handler:    _AreaService_UpdateArea_Handler,
		},
		{
			MethodName: "GetAreaById",
			Handler:    _AreaService_GetAreaById_Handler,
		},
		{
			MethodName: "GetAreaList",
			Handler:    _AreaService_GetAreaList_Handler,
		},
		{
			MethodName: "DeleteArea",
			Handler:    _AreaService_DeleteArea_Handler,
		},
		{
			MethodName: "SearchArea",
			Handler:    _AreaService_SearchArea_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "area.proto",
}

AreaService_ServiceDesc is the grpc.ServiceDesc for AreaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AuthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.AuthService",
	HandlerType: (*AuthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Signin",
			Handler:    _AuthService_Signin_Handler,
		},
		{
			MethodName: "Signout",
			Handler:    _AuthService_Signout_Handler,
		},
		{
			MethodName: "AccessList",
			Handler:    _AuthService_AccessList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "auth.proto",
}

AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AutomationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.AutomationService",
	HandlerType: (*AutomationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddTask",
			Handler:    _AutomationService_AddTask_Handler,
		},
		{
			MethodName: "UpdateTask",
			Handler:    _AutomationService_UpdateTask_Handler,
		},
		{
			MethodName: "GetTask",
			Handler:    _AutomationService_GetTask_Handler,
		},
		{
			MethodName: "GetTaskList",
			Handler:    _AutomationService_GetTaskList_Handler,
		},
		{
			MethodName: "DeleteTask",
			Handler:    _AutomationService_DeleteTask_Handler,
		},
		{
			MethodName: "EnableTask",
			Handler:    _AutomationService_EnableTask_Handler,
		},
		{
			MethodName: "DisableTask",
			Handler:    _AutomationService_DisableTask_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "automation.proto",
}

AutomationService_ServiceDesc is the grpc.ServiceDesc for AutomationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var DeveloperToolsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.DeveloperToolsService",
	HandlerType: (*DeveloperToolsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EntitySetState",
			Handler:    _DeveloperToolsService_EntitySetState_Handler,
		},
		{
			MethodName: "ReloadEntity",
			Handler:    _DeveloperToolsService_ReloadEntity_Handler,
		},
		{
			MethodName: "TaskCallTrigger",
			Handler:    _DeveloperToolsService_TaskCallTrigger_Handler,
		},
		{
			MethodName: "TaskCallAction",
			Handler:    _DeveloperToolsService_TaskCallAction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "developer_tools.proto",
}

DeveloperToolsService_ServiceDesc is the grpc.ServiceDesc for DeveloperToolsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EntityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.EntityService",
	HandlerType: (*EntityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddEntity",
			Handler:    _EntityService_AddEntity_Handler,
		},
		{
			MethodName: "UpdateEntity",
			Handler:    _EntityService_UpdateEntity_Handler,
		},
		{
			MethodName: "GetEntity",
			Handler:    _EntityService_GetEntity_Handler,
		},
		{
			MethodName: "GetEntityList",
			Handler:    _EntityService_GetEntityList_Handler,
		},
		{
			MethodName: "DeleteEntity",
			Handler:    _EntityService_DeleteEntity_Handler,
		},
		{
			MethodName: "SearchEntity",
			Handler:    _EntityService_SearchEntity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entity.proto",
}

EntityService_ServiceDesc is the grpc.ServiceDesc for EntityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_attributes_proto protoreflect.FileDescriptor
View Source
var File_automation_proto protoreflect.FileDescriptor
View Source
var File_developer_tools_proto protoreflect.FileDescriptor
View Source
var File_entity_proto protoreflect.FileDescriptor
View Source
var File_image_proto protoreflect.FileDescriptor
View Source
var File_interact_proto protoreflect.FileDescriptor
View Source
var File_pagination_proto protoreflect.FileDescriptor
View Source
var File_plugin_proto protoreflect.FileDescriptor
View Source
var File_script_proto protoreflect.FileDescriptor
View Source
var File_stream_proto protoreflect.FileDescriptor
View Source
var File_swagger_proto protoreflect.FileDescriptor
View Source
var File_zigbee2mqtt_proto protoreflect.FileDescriptor
View Source
var ImageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.ImageService",
	HandlerType: (*ImageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddImage",
			Handler:    _ImageService_AddImage_Handler,
		},
		{
			MethodName: "GetImageById",
			Handler:    _ImageService_GetImageById_Handler,
		},
		{
			MethodName: "UpdateImageById",
			Handler:    _ImageService_UpdateImageById_Handler,
		},
		{
			MethodName: "GetImageList",
			Handler:    _ImageService_GetImageList_Handler,
		},
		{
			MethodName: "DeleteImageById",
			Handler:    _ImageService_DeleteImageById_Handler,
		},
		{
			MethodName: "UploadImage",
			Handler:    _ImageService_UploadImage_Handler,
		},
		{
			MethodName: "GetImageListByDate",
			Handler:    _ImageService_GetImageListByDate_Handler,
		},
		{
			MethodName: "GetImageFilterList",
			Handler:    _ImageService_GetImageFilterList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "image.proto",
}

ImageService_ServiceDesc is the grpc.ServiceDesc for ImageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var InteractService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.InteractService",
	HandlerType: (*InteractServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EntityCallAction",
			Handler:    _InteractService_EntityCallAction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "interact.proto",
}

InteractService_ServiceDesc is the grpc.ServiceDesc for InteractService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var LogService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.LogService",
	HandlerType: (*LogServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLogList",
			Handler:    _LogService_GetLogList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "log.proto",
}

LogService_ServiceDesc is the grpc.ServiceDesc for LogService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PluginService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.PluginService",
	HandlerType: (*PluginServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPluginList",
			Handler:    _PluginService_GetPluginList_Handler,
		},
		{
			MethodName: "EnablePlugin",
			Handler:    _PluginService_EnablePlugin_Handler,
		},
		{
			MethodName: "DisablePlugin",
			Handler:    _PluginService_DisablePlugin_Handler,
		},
		{
			MethodName: "GetPluginOptions",
			Handler:    _PluginService_GetPluginOptions_Handler,
		},
		{
			MethodName: "SearchPlugin",
			Handler:    _PluginService_SearchPlugin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

PluginService_ServiceDesc is the grpc.ServiceDesc for PluginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RoleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.RoleService",
	HandlerType: (*RoleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddRole",
			Handler:    _RoleService_AddRole_Handler,
		},
		{
			MethodName: "GetRoleByName",
			Handler:    _RoleService_GetRoleByName_Handler,
		},
		{
			MethodName: "GetRoleAccessList",
			Handler:    _RoleService_GetRoleAccessList_Handler,
		},
		{
			MethodName: "UpdateRoleAccessList",
			Handler:    _RoleService_UpdateRoleAccessList_Handler,
		},
		{
			MethodName: "UpdateRoleByName",
			Handler:    _RoleService_UpdateRoleByName_Handler,
		},
		{
			MethodName: "GetRoleList",
			Handler:    _RoleService_GetRoleList_Handler,
		},
		{
			MethodName: "SearchRoleByName",
			Handler:    _RoleService_SearchRoleByName_Handler,
		},
		{
			MethodName: "DeleteRoleByName",
			Handler:    _RoleService_DeleteRoleByName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "role.proto",
}

RoleService_ServiceDesc is the grpc.ServiceDesc for RoleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ScriptService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.ScriptService",
	HandlerType: (*ScriptServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddScript",
			Handler:    _ScriptService_AddScript_Handler,
		},
		{
			MethodName: "GetScriptById",
			Handler:    _ScriptService_GetScriptById_Handler,
		},
		{
			MethodName: "UpdateScriptById",
			Handler:    _ScriptService_UpdateScriptById_Handler,
		},
		{
			MethodName: "GetScriptList",
			Handler:    _ScriptService_GetScriptList_Handler,
		},
		{
			MethodName: "SearchScript",
			Handler:    _ScriptService_SearchScript_Handler,
		},
		{
			MethodName: "DeleteScriptById",
			Handler:    _ScriptService_DeleteScriptById_Handler,
		},
		{
			MethodName: "ExecScriptById",
			Handler:    _ScriptService_ExecScriptById_Handler,
		},
		{
			MethodName: "ExecSrcScriptById",
			Handler:    _ScriptService_ExecSrcScriptById_Handler,
		},
		{
			MethodName: "CopyScriptById",
			Handler:    _ScriptService_CopyScriptById_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "script.proto",
}

ScriptService_ServiceDesc is the grpc.ServiceDesc for ScriptService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var StreamService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.StreamService",
	HandlerType: (*StreamServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Subscribe",
			Handler:       _StreamService_Subscribe_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "stream.proto",
}

StreamService_ServiceDesc is the grpc.ServiceDesc for StreamService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddUser",
			Handler:    _UserService_AddUser_Handler,
		},
		{
			MethodName: "GetUserById",
			Handler:    _UserService_GetUserById_Handler,
		},
		{
			MethodName: "UpdateUserById",
			Handler:    _UserService_UpdateUserById_Handler,
		},
		{
			MethodName: "GetUserList",
			Handler:    _UserService_GetUserList_Handler,
		},
		{
			MethodName: "DeleteUserById",
			Handler:    _UserService_DeleteUserById_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Zigbee2MqttService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Zigbee2mqttService",
	HandlerType: (*Zigbee2MqttServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddZigbee2mqttBridge",
			Handler:    _Zigbee2MqttService_AddZigbee2MqttBridge_Handler,
		},
		{
			MethodName: "GetZigbee2mqttBridge",
			Handler:    _Zigbee2MqttService_GetZigbee2MqttBridge_Handler,
		},
		{
			MethodName: "UpdateBridgeById",
			Handler:    _Zigbee2MqttService_UpdateBridgeById_Handler,
		},
		{
			MethodName: "GetBridgeList",
			Handler:    _Zigbee2MqttService_GetBridgeList_Handler,
		},
		{
			MethodName: "DeleteBridgeById",
			Handler:    _Zigbee2MqttService_DeleteBridgeById_Handler,
		},
		{
			MethodName: "ResetBridgeById",
			Handler:    _Zigbee2MqttService_ResetBridgeById_Handler,
		},
		{
			MethodName: "DeviceBan",
			Handler:    _Zigbee2MqttService_DeviceBan_Handler,
		},
		{
			MethodName: "DeviceWhitelist",
			Handler:    _Zigbee2MqttService_DeviceWhitelist_Handler,
		},
		{
			MethodName: "DeviceRename",
			Handler:    _Zigbee2MqttService_DeviceRename_Handler,
		},
		{
			MethodName: "SearchDevice",
			Handler:    _Zigbee2MqttService_SearchDevice_Handler,
		},
		{
			MethodName: "DeviceList",
			Handler:    _Zigbee2MqttService_DeviceList_Handler,
		},
		{
			MethodName: "Networkmap",
			Handler:    _Zigbee2MqttService_Networkmap_Handler,
		},
		{
			MethodName: "UpdateNetworkmap",
			Handler:    _Zigbee2MqttService_UpdateNetworkmap_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "zigbee2mqtt.proto",
}

Zigbee2MqttService_ServiceDesc is the grpc.ServiceDesc for Zigbee2MqttService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAreaServiceHandler added in v0.5.2

func RegisterAreaServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAreaServiceHandler registers the http handlers for service AreaService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAreaServiceHandlerClient added in v0.5.2

func RegisterAreaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AreaServiceClient) error

RegisterAreaServiceHandlerClient registers the http handlers for service AreaService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AreaServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AreaServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AreaServiceClient" to call the correct interceptors.

func RegisterAreaServiceHandlerFromEndpoint added in v0.5.2

func RegisterAreaServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAreaServiceHandlerFromEndpoint is same as RegisterAreaServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAreaServiceHandlerServer added in v0.5.2

func RegisterAreaServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AreaServiceServer) error

RegisterAreaServiceHandlerServer registers the http handlers for service AreaService to "mux". UnaryRPC :call AreaServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAreaServiceHandlerFromEndpoint instead.

func RegisterAreaServiceServer added in v0.5.2

func RegisterAreaServiceServer(s grpc.ServiceRegistrar, srv AreaServiceServer)

func RegisterAuthServiceHandler

func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAuthServiceHandlerClient

func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error

RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthServiceClient" to call the correct interceptors.

func RegisterAuthServiceHandlerFromEndpoint

func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAuthServiceHandlerServer

func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error

RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". UnaryRPC :call AuthServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthServiceHandlerFromEndpoint instead.

func RegisterAuthServiceServer

func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)

func RegisterAutomationServiceHandler added in v0.5.2

func RegisterAutomationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAutomationServiceHandler registers the http handlers for service AutomationService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAutomationServiceHandlerClient added in v0.5.2

func RegisterAutomationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AutomationServiceClient) error

RegisterAutomationServiceHandlerClient registers the http handlers for service AutomationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AutomationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AutomationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AutomationServiceClient" to call the correct interceptors.

func RegisterAutomationServiceHandlerFromEndpoint added in v0.5.2

func RegisterAutomationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAutomationServiceHandlerFromEndpoint is same as RegisterAutomationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAutomationServiceHandlerServer added in v0.5.2

func RegisterAutomationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AutomationServiceServer) error

RegisterAutomationServiceHandlerServer registers the http handlers for service AutomationService to "mux". UnaryRPC :call AutomationServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAutomationServiceHandlerFromEndpoint instead.

func RegisterAutomationServiceServer added in v0.5.2

func RegisterAutomationServiceServer(s grpc.ServiceRegistrar, srv AutomationServiceServer)

func RegisterDeveloperToolsServiceHandler added in v0.5.3

func RegisterDeveloperToolsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDeveloperToolsServiceHandler registers the http handlers for service DeveloperToolsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDeveloperToolsServiceHandlerClient added in v0.5.3

func RegisterDeveloperToolsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DeveloperToolsServiceClient) error

RegisterDeveloperToolsServiceHandlerClient registers the http handlers for service DeveloperToolsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DeveloperToolsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DeveloperToolsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DeveloperToolsServiceClient" to call the correct interceptors.

func RegisterDeveloperToolsServiceHandlerFromEndpoint added in v0.5.3

func RegisterDeveloperToolsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDeveloperToolsServiceHandlerFromEndpoint is same as RegisterDeveloperToolsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDeveloperToolsServiceHandlerServer added in v0.5.3

func RegisterDeveloperToolsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DeveloperToolsServiceServer) error

RegisterDeveloperToolsServiceHandlerServer registers the http handlers for service DeveloperToolsService to "mux". UnaryRPC :call DeveloperToolsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDeveloperToolsServiceHandlerFromEndpoint instead.

func RegisterDeveloperToolsServiceServer added in v0.5.3

func RegisterDeveloperToolsServiceServer(s grpc.ServiceRegistrar, srv DeveloperToolsServiceServer)

func RegisterEntityServiceHandler added in v0.5.2

func RegisterEntityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterEntityServiceHandler registers the http handlers for service EntityService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterEntityServiceHandlerClient added in v0.5.2

func RegisterEntityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EntityServiceClient) error

RegisterEntityServiceHandlerClient registers the http handlers for service EntityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EntityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EntityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EntityServiceClient" to call the correct interceptors.

func RegisterEntityServiceHandlerFromEndpoint added in v0.5.2

func RegisterEntityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterEntityServiceHandlerFromEndpoint is same as RegisterEntityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterEntityServiceHandlerServer added in v0.5.2

func RegisterEntityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EntityServiceServer) error

RegisterEntityServiceHandlerServer registers the http handlers for service EntityService to "mux". UnaryRPC :call EntityServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterEntityServiceHandlerFromEndpoint instead.

func RegisterEntityServiceServer added in v0.5.2

func RegisterEntityServiceServer(s grpc.ServiceRegistrar, srv EntityServiceServer)

func RegisterImageServiceHandler

func RegisterImageServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterImageServiceHandler registers the http handlers for service ImageService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterImageServiceHandlerClient

func RegisterImageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ImageServiceClient) error

RegisterImageServiceHandlerClient registers the http handlers for service ImageService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ImageServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ImageServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ImageServiceClient" to call the correct interceptors.

func RegisterImageServiceHandlerFromEndpoint

func RegisterImageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterImageServiceHandlerFromEndpoint is same as RegisterImageServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterImageServiceHandlerServer

func RegisterImageServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ImageServiceServer) error

RegisterImageServiceHandlerServer registers the http handlers for service ImageService to "mux". UnaryRPC :call ImageServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterImageServiceHandlerFromEndpoint instead.

func RegisterImageServiceServer

func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)

func RegisterInteractServiceHandler added in v0.5.3

func RegisterInteractServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterInteractServiceHandler registers the http handlers for service InteractService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterInteractServiceHandlerClient added in v0.5.3

func RegisterInteractServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InteractServiceClient) error

RegisterInteractServiceHandlerClient registers the http handlers for service InteractService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InteractServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InteractServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InteractServiceClient" to call the correct interceptors.

func RegisterInteractServiceHandlerFromEndpoint added in v0.5.3

func RegisterInteractServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterInteractServiceHandlerFromEndpoint is same as RegisterInteractServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterInteractServiceHandlerServer added in v0.5.3

func RegisterInteractServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InteractServiceServer) error

RegisterInteractServiceHandlerServer registers the http handlers for service InteractService to "mux". UnaryRPC :call InteractServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterInteractServiceHandlerFromEndpoint instead.

func RegisterInteractServiceServer added in v0.5.3

func RegisterInteractServiceServer(s grpc.ServiceRegistrar, srv InteractServiceServer)

func RegisterLogServiceHandler added in v0.5.3

func RegisterLogServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLogServiceHandler registers the http handlers for service LogService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLogServiceHandlerClient added in v0.5.3

func RegisterLogServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LogServiceClient) error

RegisterLogServiceHandlerClient registers the http handlers for service LogService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LogServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LogServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LogServiceClient" to call the correct interceptors.

func RegisterLogServiceHandlerFromEndpoint added in v0.5.3

func RegisterLogServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLogServiceHandlerFromEndpoint is same as RegisterLogServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLogServiceHandlerServer added in v0.5.3

func RegisterLogServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LogServiceServer) error

RegisterLogServiceHandlerServer registers the http handlers for service LogService to "mux". UnaryRPC :call LogServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLogServiceHandlerFromEndpoint instead.

func RegisterLogServiceServer added in v0.5.3

func RegisterLogServiceServer(s grpc.ServiceRegistrar, srv LogServiceServer)

func RegisterPluginServiceHandler added in v0.5.1

func RegisterPluginServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPluginServiceHandler registers the http handlers for service PluginService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPluginServiceHandlerClient added in v0.5.1

func RegisterPluginServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PluginServiceClient) error

RegisterPluginServiceHandlerClient registers the http handlers for service PluginService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PluginServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PluginServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PluginServiceClient" to call the correct interceptors.

func RegisterPluginServiceHandlerFromEndpoint added in v0.5.1

func RegisterPluginServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPluginServiceHandlerFromEndpoint is same as RegisterPluginServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPluginServiceHandlerServer added in v0.5.1

func RegisterPluginServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PluginServiceServer) error

RegisterPluginServiceHandlerServer registers the http handlers for service PluginService to "mux". UnaryRPC :call PluginServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPluginServiceHandlerFromEndpoint instead.

func RegisterPluginServiceServer added in v0.5.1

func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)

func RegisterRoleServiceHandler

func RegisterRoleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRoleServiceHandler registers the http handlers for service RoleService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRoleServiceHandlerClient

func RegisterRoleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleServiceClient) error

RegisterRoleServiceHandlerClient registers the http handlers for service RoleService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RoleServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RoleServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RoleServiceClient" to call the correct interceptors.

func RegisterRoleServiceHandlerFromEndpoint

func RegisterRoleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRoleServiceHandlerFromEndpoint is same as RegisterRoleServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRoleServiceHandlerServer

func RegisterRoleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServiceServer) error

RegisterRoleServiceHandlerServer registers the http handlers for service RoleService to "mux". UnaryRPC :call RoleServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRoleServiceHandlerFromEndpoint instead.

func RegisterRoleServiceServer

func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)

func RegisterScriptServiceHandler

func RegisterScriptServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterScriptServiceHandler registers the http handlers for service ScriptService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterScriptServiceHandlerClient

func RegisterScriptServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ScriptServiceClient) error

RegisterScriptServiceHandlerClient registers the http handlers for service ScriptService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ScriptServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ScriptServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ScriptServiceClient" to call the correct interceptors.

func RegisterScriptServiceHandlerFromEndpoint

func RegisterScriptServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterScriptServiceHandlerFromEndpoint is same as RegisterScriptServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterScriptServiceHandlerServer

func RegisterScriptServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ScriptServiceServer) error

RegisterScriptServiceHandlerServer registers the http handlers for service ScriptService to "mux". UnaryRPC :call ScriptServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterScriptServiceHandlerFromEndpoint instead.

func RegisterScriptServiceServer

func RegisterScriptServiceServer(s grpc.ServiceRegistrar, srv ScriptServiceServer)

func RegisterStreamServiceHandler

func RegisterStreamServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterStreamServiceHandler registers the http handlers for service StreamService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterStreamServiceHandlerClient

func RegisterStreamServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StreamServiceClient) error

RegisterStreamServiceHandlerClient registers the http handlers for service StreamService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "StreamServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "StreamServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "StreamServiceClient" to call the correct interceptors.

func RegisterStreamServiceHandlerFromEndpoint

func RegisterStreamServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterStreamServiceHandlerFromEndpoint is same as RegisterStreamServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterStreamServiceHandlerServer

func RegisterStreamServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server StreamServiceServer) error

RegisterStreamServiceHandlerServer registers the http handlers for service StreamService to "mux". UnaryRPC :call StreamServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterStreamServiceHandlerFromEndpoint instead.

func RegisterStreamServiceServer

func RegisterStreamServiceServer(s grpc.ServiceRegistrar, srv StreamServiceServer)

func RegisterUserServiceHandler

func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUserServiceHandlerClient

func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error

RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.

func RegisterUserServiceHandlerFromEndpoint

func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUserServiceHandlerServer

func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error

RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

func RegisterZigbee2MqttServiceHandler added in v0.5.2

func RegisterZigbee2MqttServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterZigbee2MqttServiceHandler registers the http handlers for service Zigbee2MqttService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterZigbee2MqttServiceHandlerClient added in v0.5.2

func RegisterZigbee2MqttServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client Zigbee2MqttServiceClient) error

RegisterZigbee2MqttServiceHandlerClient registers the http handlers for service Zigbee2MqttService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "Zigbee2MqttServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "Zigbee2MqttServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "Zigbee2MqttServiceClient" to call the correct interceptors.

func RegisterZigbee2MqttServiceHandlerFromEndpoint added in v0.5.2

func RegisterZigbee2MqttServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterZigbee2MqttServiceHandlerFromEndpoint is same as RegisterZigbee2MqttServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterZigbee2MqttServiceHandlerServer added in v0.5.2

func RegisterZigbee2MqttServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server Zigbee2MqttServiceServer) error

RegisterZigbee2MqttServiceHandlerServer registers the http handlers for service Zigbee2MqttService to "mux". UnaryRPC :call Zigbee2MqttServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterZigbee2MqttServiceHandlerFromEndpoint instead.

func RegisterZigbee2MqttServiceServer added in v0.5.2

func RegisterZigbee2MqttServiceServer(s grpc.ServiceRegistrar, srv Zigbee2MqttServiceServer)

Types

type AccessItem

type AccessItem struct {
	Actions     []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	Method      string   `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Description string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	RoleName    string   `protobuf:"bytes,4,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessItem) Descriptor deprecated

func (*AccessItem) Descriptor() ([]byte, []int)

Deprecated: Use AccessItem.ProtoReflect.Descriptor instead.

func (*AccessItem) GetActions

func (x *AccessItem) GetActions() []string

func (*AccessItem) GetDescription

func (x *AccessItem) GetDescription() string

func (*AccessItem) GetMethod

func (x *AccessItem) GetMethod() string

func (*AccessItem) GetRoleName

func (x *AccessItem) GetRoleName() string

func (*AccessItem) ProtoMessage

func (*AccessItem) ProtoMessage()

func (*AccessItem) ProtoReflect

func (x *AccessItem) ProtoReflect() protoreflect.Message

func (*AccessItem) Reset

func (x *AccessItem) Reset()

func (*AccessItem) String

func (x *AccessItem) String() string

type AccessLevels

type AccessLevels struct {
	Items map[string]*AccessItem `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccessLevels) Descriptor deprecated

func (*AccessLevels) Descriptor() ([]byte, []int)

Deprecated: Use AccessLevels.ProtoReflect.Descriptor instead.

func (*AccessLevels) GetItems

func (x *AccessLevels) GetItems() map[string]*AccessItem

func (*AccessLevels) ProtoMessage

func (*AccessLevels) ProtoMessage()

func (*AccessLevels) ProtoReflect

func (x *AccessLevels) ProtoReflect() protoreflect.Message

func (*AccessLevels) Reset

func (x *AccessLevels) Reset()

func (*AccessLevels) String

func (x *AccessLevels) String() string

type AccessList

type AccessList struct {
	Levels map[string]*AccessLevels `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccessList) Descriptor deprecated

func (*AccessList) Descriptor() ([]byte, []int)

Deprecated: Use AccessList.ProtoReflect.Descriptor instead.

func (*AccessList) GetLevels

func (x *AccessList) GetLevels() map[string]*AccessLevels

func (*AccessList) ProtoMessage

func (*AccessList) ProtoMessage()

func (*AccessList) ProtoReflect

func (x *AccessList) ProtoReflect() protoreflect.Message

func (*AccessList) Reset

func (x *AccessList) Reset()

func (*AccessList) String

func (x *AccessList) String() string

type AccessListResponse

type AccessListResponse struct {
	AccessList *AccessList `protobuf:"bytes,1,opt,name=access_list,json=accessList,proto3" json:"access_list,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessListResponse) Descriptor deprecated

func (*AccessListResponse) Descriptor() ([]byte, []int)

Deprecated: Use AccessListResponse.ProtoReflect.Descriptor instead.

func (*AccessListResponse) GetAccessList

func (x *AccessListResponse) GetAccessList() *AccessList

func (*AccessListResponse) ProtoMessage

func (*AccessListResponse) ProtoMessage()

func (*AccessListResponse) ProtoReflect

func (x *AccessListResponse) ProtoReflect() protoreflect.Message

func (*AccessListResponse) Reset

func (x *AccessListResponse) Reset()

func (*AccessListResponse) String

func (x *AccessListResponse) String() string

type Action added in v0.5.2

type Action struct {
	Id     *int64  `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Name   string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Script *Script `protobuf:"bytes,4,opt,name=script,proto3" json:"script,omitempty"`
	// contains filtered or unexported fields
}

func (*Action) Descriptor deprecated added in v0.5.2

func (*Action) Descriptor() ([]byte, []int)

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetId added in v0.5.2

func (x *Action) GetId() int64

func (*Action) GetName added in v0.5.2

func (x *Action) GetName() string

func (*Action) GetScript added in v0.5.2

func (x *Action) GetScript() *Script

func (*Action) ProtoMessage added in v0.5.2

func (*Action) ProtoMessage()

func (*Action) ProtoReflect added in v0.5.2

func (x *Action) ProtoReflect() protoreflect.Message

func (*Action) Reset added in v0.5.2

func (x *Action) Reset()

func (*Action) String added in v0.5.2

func (x *Action) String() string

type Area added in v0.5.2

type Area struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Area) Descriptor deprecated added in v0.5.2

func (*Area) Descriptor() ([]byte, []int)

Deprecated: Use Area.ProtoReflect.Descriptor instead.

func (*Area) GetDescription added in v0.5.2

func (x *Area) GetDescription() string

func (*Area) GetId added in v0.5.2

func (x *Area) GetId() int64

func (*Area) GetName added in v0.5.2

func (x *Area) GetName() string

func (*Area) ProtoMessage added in v0.5.2

func (*Area) ProtoMessage()

func (*Area) ProtoReflect added in v0.5.2

func (x *Area) ProtoReflect() protoreflect.Message

func (*Area) Reset added in v0.5.2

func (x *Area) Reset()

func (*Area) String added in v0.5.2

func (x *Area) String() string

type AreaServiceClient added in v0.5.2

type AreaServiceClient interface {
	// add new area
	AddArea(ctx context.Context, in *NewAreaRequest, opts ...grpc.CallOption) (*Area, error)
	// update area
	UpdateArea(ctx context.Context, in *UpdateAreaRequest, opts ...grpc.CallOption) (*Area, error)
	// get area by id
	GetAreaById(ctx context.Context, in *GetAreaRequest, opts ...grpc.CallOption) (*Area, error)
	// get area list
	GetAreaList(ctx context.Context, in *PaginationRequest, opts ...grpc.CallOption) (*GetAreaListResult, error)
	// delete area
	DeleteArea(ctx context.Context, in *DeleteAreaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// search area
	SearchArea(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchAreaResult, error)
}

AreaServiceClient is the client API for AreaService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAreaServiceClient added in v0.5.2

func NewAreaServiceClient(cc grpc.ClientConnInterface) AreaServiceClient

type AreaServiceServer added in v0.5.2

type AreaServiceServer interface {
	// add new area
	AddArea(context.Context, *NewAreaRequest) (*Area, error)
	// update area
	UpdateArea(context.Context, *UpdateAreaRequest) (*Area, error)
	// get area by id
	GetAreaById(context.Context, *GetAreaRequest) (*Area, error)
	// get area list
	GetAreaList(context.Context, *PaginationRequest) (*GetAreaListResult, error)
	// delete area
	DeleteArea(context.Context, *DeleteAreaRequest) (*emptypb.Empty, error)
	// search area
	SearchArea(context.Context, *SearchRequest) (*SearchAreaResult, error)
}

AreaServiceServer is the server API for AreaService service. All implementations should embed UnimplementedAreaServiceServer for forward compatibility

type Attribute added in v0.5.1

type Attribute struct {
	Name    string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type    Types        `protobuf:"varint,2,opt,name=type,proto3,enum=api.Types" json:"type,omitempty"`
	Int     *int64       `protobuf:"varint,3,opt,name=int,proto3,oneof" json:"int,omitempty"`
	String_ *string      `protobuf:"bytes,4,opt,name=string,proto3,oneof" json:"string,omitempty"`
	Bool    *bool        `protobuf:"varint,5,opt,name=bool,proto3,oneof" json:"bool,omitempty"`
	Float   *float32     `protobuf:"fixed32,6,opt,name=float,proto3,oneof" json:"float,omitempty"`
	Array   []*Attribute `protobuf:"bytes,7,rep,name=array,proto3" json:"array,omitempty"`
	// contains filtered or unexported fields
}

func (*Attribute) Descriptor deprecated added in v0.5.1

func (*Attribute) Descriptor() ([]byte, []int)

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetArray added in v0.5.2

func (x *Attribute) GetArray() []*Attribute

func (*Attribute) GetBool added in v0.5.2

func (x *Attribute) GetBool() bool

func (*Attribute) GetFloat added in v0.5.2

func (x *Attribute) GetFloat() float32

func (*Attribute) GetInt added in v0.5.2

func (x *Attribute) GetInt() int64

func (*Attribute) GetName added in v0.5.1

func (x *Attribute) GetName() string

func (*Attribute) GetString_ added in v0.5.2

func (x *Attribute) GetString_() string

func (*Attribute) GetType added in v0.5.1

func (x *Attribute) GetType() Types

func (*Attribute) ProtoMessage added in v0.5.1

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect added in v0.5.1

func (x *Attribute) ProtoReflect() protoreflect.Message

func (*Attribute) Reset added in v0.5.1

func (x *Attribute) Reset()

func (*Attribute) String added in v0.5.1

func (x *Attribute) String() string

type AuthServiceClient

type AuthServiceClient interface {
	// sign in user
	Signin(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SigninResponse, error)
	// sign out user
	Signout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// get user access list object
	AccessList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AccessListResponse, error)
}

AuthServiceClient is the client API for AuthService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AuthServiceServer

type AuthServiceServer interface {
	// sign in user
	Signin(context.Context, *emptypb.Empty) (*SigninResponse, error)
	// sign out user
	Signout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// get user access list object
	AccessList(context.Context, *emptypb.Empty) (*AccessListResponse, error)
}

AuthServiceServer is the server API for AuthService service. All implementations should embed UnimplementedAuthServiceServer for forward compatibility

type AutomationRequest added in v0.5.3

type AutomationRequest struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AutomationRequest) Descriptor deprecated added in v0.5.3

func (*AutomationRequest) Descriptor() ([]byte, []int)

Deprecated: Use AutomationRequest.ProtoReflect.Descriptor instead.

func (*AutomationRequest) GetId added in v0.5.3

func (x *AutomationRequest) GetId() int64

func (*AutomationRequest) GetName added in v0.5.3

func (x *AutomationRequest) GetName() string

func (*AutomationRequest) ProtoMessage added in v0.5.3

func (*AutomationRequest) ProtoMessage()

func (*AutomationRequest) ProtoReflect added in v0.5.3

func (x *AutomationRequest) ProtoReflect() protoreflect.Message

func (*AutomationRequest) Reset added in v0.5.3

func (x *AutomationRequest) Reset()

func (*AutomationRequest) String added in v0.5.3

func (x *AutomationRequest) String() string

type AutomationServiceClient added in v0.5.2

type AutomationServiceClient interface {
	// add new task
	AddTask(ctx context.Context, in *NewTaskRequest, opts ...grpc.CallOption) (*Task, error)
	// update task
	UpdateTask(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*Task, error)
	// get task
	GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error)
	// get task list
	GetTaskList(ctx context.Context, in *PaginationRequest, opts ...grpc.CallOption) (*GetTaskListResult, error)
	// delete task
	DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// enable task
	EnableTask(ctx context.Context, in *EnableTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// disable task
	DisableTask(ctx context.Context, in *DisableTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AutomationServiceClient is the client API for AutomationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAutomationServiceClient added in v0.5.2

func NewAutomationServiceClient(cc grpc.ClientConnInterface) AutomationServiceClient

type AutomationServiceServer added in v0.5.2

type AutomationServiceServer interface {
	// add new task
	AddTask(context.Context, *NewTaskRequest) (*Task, error)
	// update task
	UpdateTask(context.Context, *UpdateTaskRequest) (*Task, error)
	// get task
	GetTask(context.Context, *GetTaskRequest) (*Task, error)
	// get task list
	GetTaskList(context.Context, *PaginationRequest) (*GetTaskListResult, error)
	// delete task
	DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error)
	// enable task
	EnableTask(context.Context, *EnableTaskRequest) (*emptypb.Empty, error)
	// disable task
	DisableTask(context.Context, *DisableTaskRequest) (*emptypb.Empty, error)
}

AutomationServiceServer is the server API for AutomationService service. All implementations should embed UnimplementedAutomationServiceServer for forward compatibility

type Condition added in v0.5.2

type Condition struct {
	Id     *int64  `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Name   string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Script *Script `protobuf:"bytes,4,opt,name=script,proto3" json:"script,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated added in v0.5.2

func (*Condition) Descriptor() ([]byte, []int)

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetId added in v0.5.2

func (x *Condition) GetId() int64

func (*Condition) GetName added in v0.5.2

func (x *Condition) GetName() string

func (*Condition) GetScript added in v0.5.2

func (x *Condition) GetScript() *Script

func (*Condition) ProtoMessage added in v0.5.2

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect added in v0.5.2

func (x *Condition) ProtoReflect() protoreflect.Message

func (*Condition) Reset added in v0.5.2

func (x *Condition) Reset()

func (*Condition) String added in v0.5.2

func (x *Condition) String() string

type CopyScriptRequest

type CopyScriptRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CopyScriptRequest) Descriptor deprecated

func (*CopyScriptRequest) Descriptor() ([]byte, []int)

Deprecated: Use CopyScriptRequest.ProtoReflect.Descriptor instead.

func (*CopyScriptRequest) GetId

func (x *CopyScriptRequest) GetId() int64

func (*CopyScriptRequest) ProtoMessage

func (*CopyScriptRequest) ProtoMessage()

func (*CopyScriptRequest) ProtoReflect

func (x *CopyScriptRequest) ProtoReflect() protoreflect.Message

func (*CopyScriptRequest) Reset

func (x *CopyScriptRequest) Reset()

func (*CopyScriptRequest) String

func (x *CopyScriptRequest) String() string

type CurrentUser

type CurrentUser struct {
	Id              int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Nickname        string                 `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	FirstName       *string                `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
	LastName        *string                `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
	Email           string                 `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Status          string                 `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	History         []*UserHistory         `protobuf:"bytes,7,rep,name=history,proto3" json:"history,omitempty"`
	Image           *Image                 `protobuf:"bytes,8,opt,name=image,proto3,oneof" json:"image,omitempty"`
	SignInCount     int64                  `protobuf:"varint,9,opt,name=sign_in_count,json=signInCount,proto3" json:"sign_in_count,omitempty"`
	Meta            []*UserMeta            `protobuf:"bytes,10,rep,name=meta,proto3" json:"meta,omitempty"`
	Role            *Role                  `protobuf:"bytes,11,opt,name=role,proto3" json:"role,omitempty"`
	Lang            string                 `protobuf:"bytes,12,opt,name=lang,proto3" json:"lang,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,99,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt       *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	CurrentSignInAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=current_sign_in_at,json=currentSignInAt,proto3,oneof" json:"current_sign_in_at,omitempty"`
	LastSignInAt    *timestamppb.Timestamp `protobuf:"bytes,102,opt,name=last_sign_in_at,json=lastSignInAt,proto3,oneof" json:"last_sign_in_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CurrentUser) Descriptor deprecated

func (*CurrentUser) Descriptor() ([]byte, []int)

Deprecated: Use CurrentUser.ProtoReflect.Descriptor instead.

func (*CurrentUser) GetCreatedAt

func (x *CurrentUser) GetCreatedAt() *timestamppb.Timestamp

func (*CurrentUser) GetCurrentSignInAt

func (x *CurrentUser) GetCurrentSignInAt() *timestamppb.Timestamp

func (*CurrentUser) GetEmail

func (x *CurrentUser) GetEmail() string

func (*CurrentUser) GetFirstName

func (x *CurrentUser) GetFirstName() string

func (*CurrentUser) GetHistory

func (x *CurrentUser) GetHistory() []*UserHistory

func (*CurrentUser) GetId

func (x *CurrentUser) GetId() int64

func (*CurrentUser) GetImage

func (x *CurrentUser) GetImage() *Image

func (*CurrentUser) GetLang

func (x *CurrentUser) GetLang() string

func (*CurrentUser) GetLastName

func (x *CurrentUser) GetLastName() string

func (*CurrentUser) GetLastSignInAt

func (x *CurrentUser) GetLastSignInAt() *timestamppb.Timestamp

func (*CurrentUser) GetMeta

func (x *CurrentUser) GetMeta() []*UserMeta

func (*CurrentUser) GetNickname

func (x *CurrentUser) GetNickname() string

func (*CurrentUser) GetRole

func (x *CurrentUser) GetRole() *Role

func (*CurrentUser) GetSignInCount

func (x *CurrentUser) GetSignInCount() int64

func (*CurrentUser) GetStatus

func (x *CurrentUser) GetStatus() string

func (*CurrentUser) GetUpdatedAt

func (x *CurrentUser) GetUpdatedAt() *timestamppb.Timestamp

func (*CurrentUser) ProtoMessage

func (*CurrentUser) ProtoMessage()

func (*CurrentUser) ProtoReflect

func (x *CurrentUser) ProtoReflect() protoreflect.Message

func (*CurrentUser) Reset

func (x *CurrentUser) Reset()

func (*CurrentUser) String

func (x *CurrentUser) String() string

type DeleteAreaRequest added in v0.5.2

type DeleteAreaRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAreaRequest) Descriptor deprecated added in v0.5.2

func (*DeleteAreaRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAreaRequest.ProtoReflect.Descriptor instead.

func (*DeleteAreaRequest) GetId added in v0.5.2

func (x *DeleteAreaRequest) GetId() int64

func (*DeleteAreaRequest) ProtoMessage added in v0.5.2

func (*DeleteAreaRequest) ProtoMessage()

func (*DeleteAreaRequest) ProtoReflect added in v0.5.2

func (x *DeleteAreaRequest) ProtoReflect() protoreflect.Message

func (*DeleteAreaRequest) Reset added in v0.5.2

func (x *DeleteAreaRequest) Reset()

func (*DeleteAreaRequest) String added in v0.5.2

func (x *DeleteAreaRequest) String() string

type DeleteBridgeRequest added in v0.5.2

type DeleteBridgeRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBridgeRequest) Descriptor deprecated added in v0.5.2

func (*DeleteBridgeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBridgeRequest.ProtoReflect.Descriptor instead.

func (*DeleteBridgeRequest) GetId added in v0.5.2

func (x *DeleteBridgeRequest) GetId() int64

func (*DeleteBridgeRequest) ProtoMessage added in v0.5.2

func (*DeleteBridgeRequest) ProtoMessage()

func (*DeleteBridgeRequest) ProtoReflect added in v0.5.2

func (x *DeleteBridgeRequest) ProtoReflect() protoreflect.Message

func (*DeleteBridgeRequest) Reset added in v0.5.2

func (x *DeleteBridgeRequest) Reset()

func (*DeleteBridgeRequest) String added in v0.5.2

func (x *DeleteBridgeRequest) String() string

type DeleteEntityRequest added in v0.5.2

type DeleteEntityRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEntityRequest) Descriptor deprecated added in v0.5.2

func (*DeleteEntityRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEntityRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityRequest) GetId added in v0.5.2

func (x *DeleteEntityRequest) GetId() string

func (*DeleteEntityRequest) ProtoMessage added in v0.5.2

func (*DeleteEntityRequest) ProtoMessage()

func (*DeleteEntityRequest) ProtoReflect added in v0.5.2

func (x *DeleteEntityRequest) ProtoReflect() protoreflect.Message

func (*DeleteEntityRequest) Reset added in v0.5.2

func (x *DeleteEntityRequest) Reset()

func (*DeleteEntityRequest) String added in v0.5.2

func (x *DeleteEntityRequest) String() string

type DeleteImageRequest

type DeleteImageRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteImageRequest) Descriptor deprecated

func (*DeleteImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteImageRequest.ProtoReflect.Descriptor instead.

func (*DeleteImageRequest) GetId

func (x *DeleteImageRequest) GetId() int64

func (*DeleteImageRequest) ProtoMessage

func (*DeleteImageRequest) ProtoMessage()

func (*DeleteImageRequest) ProtoReflect

func (x *DeleteImageRequest) ProtoReflect() protoreflect.Message

func (*DeleteImageRequest) Reset

func (x *DeleteImageRequest) Reset()

func (*DeleteImageRequest) String

func (x *DeleteImageRequest) String() string

type DeleteRoleRequest

type DeleteRoleRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleRequest) Descriptor deprecated

func (*DeleteRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetName

func (x *DeleteRoleRequest) GetName() string

func (*DeleteRoleRequest) ProtoMessage

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) ProtoReflect

func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message

func (*DeleteRoleRequest) Reset

func (x *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String

func (x *DeleteRoleRequest) String() string

type DeleteScriptRequest

type DeleteScriptRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteScriptRequest) Descriptor deprecated

func (*DeleteScriptRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteScriptRequest.ProtoReflect.Descriptor instead.

func (*DeleteScriptRequest) GetId

func (x *DeleteScriptRequest) GetId() int64

func (*DeleteScriptRequest) ProtoMessage

func (*DeleteScriptRequest) ProtoMessage()

func (*DeleteScriptRequest) ProtoReflect

func (x *DeleteScriptRequest) ProtoReflect() protoreflect.Message

func (*DeleteScriptRequest) Reset

func (x *DeleteScriptRequest) Reset()

func (*DeleteScriptRequest) String

func (x *DeleteScriptRequest) String() string

type DeleteTaskRequest added in v0.5.2

type DeleteTaskRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTaskRequest) Descriptor deprecated added in v0.5.2

func (*DeleteTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.

func (*DeleteTaskRequest) GetId added in v0.5.2

func (x *DeleteTaskRequest) GetId() int64

func (*DeleteTaskRequest) ProtoMessage added in v0.5.2

func (*DeleteTaskRequest) ProtoMessage()

func (*DeleteTaskRequest) ProtoReflect added in v0.5.2

func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message

func (*DeleteTaskRequest) Reset added in v0.5.2

func (x *DeleteTaskRequest) Reset()

func (*DeleteTaskRequest) String added in v0.5.2

func (x *DeleteTaskRequest) String() string

type DeleteUserRequest

type DeleteUserRequest struct {

	// user id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetId

func (x *DeleteUserRequest) GetId() int64

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeveloperToolsServiceClient added in v0.5.3

type DeveloperToolsServiceClient interface {
	// entity set state
	EntitySetState(ctx context.Context, in *EntityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// reload entity
	ReloadEntity(ctx context.Context, in *ReloadRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// task call trigger
	TaskCallTrigger(ctx context.Context, in *AutomationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// task call action
	TaskCallAction(ctx context.Context, in *AutomationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DeveloperToolsServiceClient is the client API for DeveloperToolsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDeveloperToolsServiceClient added in v0.5.3

func NewDeveloperToolsServiceClient(cc grpc.ClientConnInterface) DeveloperToolsServiceClient

type DeveloperToolsServiceServer added in v0.5.3

type DeveloperToolsServiceServer interface {
	// entity set state
	EntitySetState(context.Context, *EntityRequest) (*emptypb.Empty, error)
	// reload entity
	ReloadEntity(context.Context, *ReloadRequest) (*emptypb.Empty, error)
	// task call trigger
	TaskCallTrigger(context.Context, *AutomationRequest) (*emptypb.Empty, error)
	// task call action
	TaskCallAction(context.Context, *AutomationRequest) (*emptypb.Empty, error)
}

DeveloperToolsServiceServer is the server API for DeveloperToolsService service. All implementations should embed UnimplementedDeveloperToolsServiceServer for forward compatibility

type DeviceBanRequest added in v0.5.2

type DeviceBanRequest struct {
	Id           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FriendlyName string `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceBanRequest) Descriptor deprecated added in v0.5.2

func (*DeviceBanRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeviceBanRequest.ProtoReflect.Descriptor instead.

func (*DeviceBanRequest) GetFriendlyName added in v0.5.2

func (x *DeviceBanRequest) GetFriendlyName() string

func (*DeviceBanRequest) GetId added in v0.5.2

func (x *DeviceBanRequest) GetId() int64

func (*DeviceBanRequest) ProtoMessage added in v0.5.2

func (*DeviceBanRequest) ProtoMessage()

func (*DeviceBanRequest) ProtoReflect added in v0.5.2

func (x *DeviceBanRequest) ProtoReflect() protoreflect.Message

func (*DeviceBanRequest) Reset added in v0.5.2

func (x *DeviceBanRequest) Reset()

func (*DeviceBanRequest) String added in v0.5.2

func (x *DeviceBanRequest) String() string

type DeviceListRequest added in v0.5.2

type DeviceListRequest struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Sort  string `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceListRequest) Descriptor deprecated added in v0.5.2

func (*DeviceListRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeviceListRequest.ProtoReflect.Descriptor instead.

func (*DeviceListRequest) GetId added in v0.5.2

func (x *DeviceListRequest) GetId() int64

func (*DeviceListRequest) GetLimit added in v0.5.2

func (x *DeviceListRequest) GetLimit() uint64

func (*DeviceListRequest) GetPage added in v0.5.2

func (x *DeviceListRequest) GetPage() uint64

func (*DeviceListRequest) GetSort added in v0.5.2

func (x *DeviceListRequest) GetSort() string

func (*DeviceListRequest) ProtoMessage added in v0.5.2

func (*DeviceListRequest) ProtoMessage()

func (*DeviceListRequest) ProtoReflect added in v0.5.2

func (x *DeviceListRequest) ProtoReflect() protoreflect.Message

func (*DeviceListRequest) Reset added in v0.5.2

func (x *DeviceListRequest) Reset()

func (*DeviceListRequest) String added in v0.5.2

func (x *DeviceListRequest) String() string

type DeviceListResult added in v0.5.2

type DeviceListResult struct {
	Items []*Zigbee2MqttDevice `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Meta  *Meta                `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceListResult) Descriptor deprecated added in v0.5.2

func (*DeviceListResult) Descriptor() ([]byte, []int)

Deprecated: Use DeviceListResult.ProtoReflect.Descriptor instead.

func (*DeviceListResult) GetItems added in v0.5.2

func (x *DeviceListResult) GetItems() []*Zigbee2MqttDevice

func (*DeviceListResult) GetMeta added in v0.5.2

func (x *DeviceListResult) GetMeta() *Meta

func (*DeviceListResult) ProtoMessage added in v0.5.2

func (*DeviceListResult) ProtoMessage()

func (*DeviceListResult) ProtoReflect added in v0.5.2

func (x *DeviceListResult) ProtoReflect() protoreflect.Message

func (*DeviceListResult) Reset added in v0.5.2

func (x *DeviceListResult) Reset()

func (*DeviceListResult) String added in v0.5.2

func (x *DeviceListResult) String() string

type DeviceRenameRequest added in v0.5.2

type DeviceRenameRequest struct {
	FriendlyName string `protobuf:"bytes,1,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	NewName      string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceRenameRequest) Descriptor deprecated added in v0.5.2

func (*DeviceRenameRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeviceRenameRequest.ProtoReflect.Descriptor instead.

func (*DeviceRenameRequest) GetFriendlyName added in v0.5.2

func (x *DeviceRenameRequest) GetFriendlyName() string

func (*DeviceRenameRequest) GetNewName added in v0.5.2

func (x *DeviceRenameRequest) GetNewName() string

func (*DeviceRenameRequest) ProtoMessage added in v0.5.2

func (*DeviceRenameRequest) ProtoMessage()

func (*DeviceRenameRequest) ProtoReflect added in v0.5.2

func (x *DeviceRenameRequest) ProtoReflect() protoreflect.Message

func (*DeviceRenameRequest) Reset added in v0.5.2

func (x *DeviceRenameRequest) Reset()

func (*DeviceRenameRequest) String added in v0.5.2

func (x *DeviceRenameRequest) String() string

type DeviceWhitelistRequest added in v0.5.2

type DeviceWhitelistRequest struct {
	Id           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FriendlyName string `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceWhitelistRequest) Descriptor deprecated added in v0.5.2

func (*DeviceWhitelistRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeviceWhitelistRequest.ProtoReflect.Descriptor instead.

func (*DeviceWhitelistRequest) GetFriendlyName added in v0.5.2

func (x *DeviceWhitelistRequest) GetFriendlyName() string

func (*DeviceWhitelistRequest) GetId added in v0.5.2

func (x *DeviceWhitelistRequest) GetId() int64

func (*DeviceWhitelistRequest) ProtoMessage added in v0.5.2

func (*DeviceWhitelistRequest) ProtoMessage()

func (*DeviceWhitelistRequest) ProtoReflect added in v0.5.2

func (x *DeviceWhitelistRequest) ProtoReflect() protoreflect.Message

func (*DeviceWhitelistRequest) Reset added in v0.5.2

func (x *DeviceWhitelistRequest) Reset()

func (*DeviceWhitelistRequest) String added in v0.5.2

func (x *DeviceWhitelistRequest) String() string

type DisablePluginRequest added in v0.5.1

type DisablePluginRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DisablePluginRequest) Descriptor deprecated added in v0.5.1

func (*DisablePluginRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisablePluginRequest.ProtoReflect.Descriptor instead.

func (*DisablePluginRequest) GetName added in v0.5.1

func (x *DisablePluginRequest) GetName() string

func (*DisablePluginRequest) ProtoMessage added in v0.5.1

func (*DisablePluginRequest) ProtoMessage()

func (*DisablePluginRequest) ProtoReflect added in v0.5.1

func (x *DisablePluginRequest) ProtoReflect() protoreflect.Message

func (*DisablePluginRequest) Reset added in v0.5.1

func (x *DisablePluginRequest) Reset()

func (*DisablePluginRequest) String added in v0.5.1

func (x *DisablePluginRequest) String() string

type DisablePluginResult added in v0.5.1

type DisablePluginResult struct {
	// contains filtered or unexported fields
}

func (*DisablePluginResult) Descriptor deprecated added in v0.5.1

func (*DisablePluginResult) Descriptor() ([]byte, []int)

Deprecated: Use DisablePluginResult.ProtoReflect.Descriptor instead.

func (*DisablePluginResult) ProtoMessage added in v0.5.1

func (*DisablePluginResult) ProtoMessage()

func (*DisablePluginResult) ProtoReflect added in v0.5.1

func (x *DisablePluginResult) ProtoReflect() protoreflect.Message

func (*DisablePluginResult) Reset added in v0.5.1

func (x *DisablePluginResult) Reset()

func (*DisablePluginResult) String added in v0.5.1

func (x *DisablePluginResult) String() string

type DisableTaskRequest added in v0.5.3

type DisableTaskRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableTaskRequest) Descriptor deprecated added in v0.5.3

func (*DisableTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableTaskRequest.ProtoReflect.Descriptor instead.

func (*DisableTaskRequest) GetId added in v0.5.3

func (x *DisableTaskRequest) GetId() int64

func (*DisableTaskRequest) ProtoMessage added in v0.5.3

func (*DisableTaskRequest) ProtoMessage()

func (*DisableTaskRequest) ProtoReflect added in v0.5.3

func (x *DisableTaskRequest) ProtoReflect() protoreflect.Message

func (*DisableTaskRequest) Reset added in v0.5.3

func (x *DisableTaskRequest) Reset()

func (*DisableTaskRequest) String added in v0.5.3

func (x *DisableTaskRequest) String() string

type EnablePluginRequest added in v0.5.1

type EnablePluginRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*EnablePluginRequest) Descriptor deprecated added in v0.5.1

func (*EnablePluginRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnablePluginRequest.ProtoReflect.Descriptor instead.

func (*EnablePluginRequest) GetName added in v0.5.1

func (x *EnablePluginRequest) GetName() string

func (*EnablePluginRequest) ProtoMessage added in v0.5.1

func (*EnablePluginRequest) ProtoMessage()

func (*EnablePluginRequest) ProtoReflect added in v0.5.1

func (x *EnablePluginRequest) ProtoReflect() protoreflect.Message

func (*EnablePluginRequest) Reset added in v0.5.1

func (x *EnablePluginRequest) Reset()

func (*EnablePluginRequest) String added in v0.5.1

func (x *EnablePluginRequest) String() string

type EnablePluginResult added in v0.5.1

type EnablePluginResult struct {
	// contains filtered or unexported fields
}

func (*EnablePluginResult) Descriptor deprecated added in v0.5.1

func (*EnablePluginResult) Descriptor() ([]byte, []int)

Deprecated: Use EnablePluginResult.ProtoReflect.Descriptor instead.

func (*EnablePluginResult) ProtoMessage added in v0.5.1

func (*EnablePluginResult) ProtoMessage()

func (*EnablePluginResult) ProtoReflect added in v0.5.1

func (x *EnablePluginResult) ProtoReflect() protoreflect.Message

func (*EnablePluginResult) Reset added in v0.5.1

func (x *EnablePluginResult) Reset()

func (*EnablePluginResult) String added in v0.5.1

func (x *EnablePluginResult) String() string

type EnableTaskRequest added in v0.5.3

type EnableTaskRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableTaskRequest) Descriptor deprecated added in v0.5.3

func (*EnableTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableTaskRequest.ProtoReflect.Descriptor instead.

func (*EnableTaskRequest) GetId added in v0.5.3

func (x *EnableTaskRequest) GetId() int64

func (*EnableTaskRequest) ProtoMessage added in v0.5.3

func (*EnableTaskRequest) ProtoMessage()

func (*EnableTaskRequest) ProtoReflect added in v0.5.3

func (x *EnableTaskRequest) ProtoReflect() protoreflect.Message

func (*EnableTaskRequest) Reset added in v0.5.3

func (x *EnableTaskRequest) Reset()

func (*EnableTaskRequest) String added in v0.5.3

func (x *EnableTaskRequest) String() string

type Entity added in v0.5.2

type Entity struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PluginName  string                 `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
	Description string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Area        *Area                  `protobuf:"bytes,4,opt,name=area,proto3,oneof" json:"area,omitempty"`
	Image       *Image                 `protobuf:"bytes,6,opt,name=image,proto3,oneof" json:"image,omitempty"`
	Icon        *string                `protobuf:"bytes,5,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
	AutoLoad    bool                   `protobuf:"varint,8,opt,name=auto_load,json=autoLoad,proto3" json:"auto_load,omitempty"`
	Parent      *EntityParent          `protobuf:"bytes,9,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
	Actions     []*EntityAction        `protobuf:"bytes,10,rep,name=actions,proto3" json:"actions,omitempty"`
	States      []*EntityState         `protobuf:"bytes,11,rep,name=states,proto3" json:"states,omitempty"`
	Scripts     []*Script              `protobuf:"bytes,12,rep,name=scripts,proto3" json:"scripts,omitempty"`
	Attributes  map[string]*Attribute  `` /* 162-byte string literal not displayed */
	Settings    map[string]*Attribute  `` /* 158-byte string literal not displayed */
	Metrics     map[string]*Attribute  `` /* 156-byte string literal not displayed */
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,99,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Entity) Descriptor deprecated added in v0.5.2

func (*Entity) Descriptor() ([]byte, []int)

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetActions added in v0.5.2

func (x *Entity) GetActions() []*EntityAction

func (*Entity) GetArea added in v0.5.2

func (x *Entity) GetArea() *Area

func (*Entity) GetAttributes added in v0.5.2

func (x *Entity) GetAttributes() map[string]*Attribute

func (*Entity) GetAutoLoad added in v0.5.2

func (x *Entity) GetAutoLoad() bool

func (*Entity) GetCreatedAt added in v0.5.2

func (x *Entity) GetCreatedAt() *timestamppb.Timestamp

func (*Entity) GetDescription added in v0.5.2

func (x *Entity) GetDescription() string

func (*Entity) GetIcon added in v0.5.2

func (x *Entity) GetIcon() string

func (*Entity) GetId added in v0.5.2

func (x *Entity) GetId() string

func (*Entity) GetImage added in v0.5.2

func (x *Entity) GetImage() *Image

func (*Entity) GetMetrics added in v0.5.2

func (x *Entity) GetMetrics() map[string]*Attribute

func (*Entity) GetParent added in v0.5.2

func (x *Entity) GetParent() *EntityParent

func (*Entity) GetPluginName added in v0.5.2

func (x *Entity) GetPluginName() string

func (*Entity) GetScripts added in v0.5.2

func (x *Entity) GetScripts() []*Script

func (*Entity) GetSettings added in v0.5.2

func (x *Entity) GetSettings() map[string]*Attribute

func (*Entity) GetStates added in v0.5.2

func (x *Entity) GetStates() []*EntityState

func (*Entity) GetUpdatedAt added in v0.5.2

func (x *Entity) GetUpdatedAt() *timestamppb.Timestamp

func (*Entity) ProtoMessage added in v0.5.2

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect added in v0.5.2

func (x *Entity) ProtoReflect() protoreflect.Message

func (*Entity) Reset added in v0.5.2

func (x *Entity) Reset()

func (*Entity) String added in v0.5.2

func (x *Entity) String() string

type EntityAction added in v0.5.2

type EntityAction struct {
	Name        string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string  `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Icon        *string `protobuf:"bytes,3,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
	Image       *Image  `protobuf:"bytes,5,opt,name=image,proto3,oneof" json:"image,omitempty"`
	Script      *Script `protobuf:"bytes,6,opt,name=script,proto3,oneof" json:"script,omitempty"`
	Type        string  `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityAction) Descriptor deprecated added in v0.5.2

func (*EntityAction) Descriptor() ([]byte, []int)

Deprecated: Use EntityAction.ProtoReflect.Descriptor instead.

func (*EntityAction) GetDescription added in v0.5.2

func (x *EntityAction) GetDescription() string

func (*EntityAction) GetIcon added in v0.5.2

func (x *EntityAction) GetIcon() string

func (*EntityAction) GetImage added in v0.5.2

func (x *EntityAction) GetImage() *Image

func (*EntityAction) GetName added in v0.5.2

func (x *EntityAction) GetName() string

func (*EntityAction) GetScript added in v0.5.2

func (x *EntityAction) GetScript() *Script

func (*EntityAction) GetType added in v0.5.2

func (x *EntityAction) GetType() string
</