Documentation
¶
Index ¶
- Constants
- func NewSRPCCommandHandlerServiceHandler(impl SRPCCommandHandlerServiceServer, serviceID string) srpc.Handler
- func NewSRPCCommandRegistryResourceServiceHandler(impl SRPCCommandRegistryResourceServiceServer, serviceID string) srpc.Handler
- func SRPCRegisterCommandHandlerService(mux srpc.Mux, impl SRPCCommandHandlerServiceServer) error
- func SRPCRegisterCommandRegistryResourceService(mux srpc.Mux, impl SRPCCommandRegistryResourceServiceServer) error
- type CommandState
- func (m *CommandState) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CommandState) CloneVT() *CommandState
- func (this *CommandState) EqualMessageVT(thatMsg any) bool
- func (this *CommandState) EqualVT(that *CommandState) bool
- func (x *CommandState) GetActive() bool
- func (x *CommandState) GetCommand() *command.Command
- func (x *CommandState) GetEnabled() bool
- func (x *CommandState) GetResourceId() uint32
- func (x *CommandState) MarshalJSON() ([]byte, error)
- func (x *CommandState) MarshalProtoJSON(s *json.MarshalState)
- func (x *CommandState) MarshalProtoText() string
- func (m *CommandState) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommandState) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommandState) MarshalVT() (dAtA []byte, err error)
- func (*CommandState) ProtoMessage()
- func (x *CommandState) Reset()
- func (m *CommandState) SizeVT() (n int)
- func (x *CommandState) String() string
- func (x *CommandState) UnmarshalJSON(b []byte) error
- func (x *CommandState) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CommandState) UnmarshalVT(dAtA []byte) error
- type CommandSubItem
- func (m *CommandSubItem) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CommandSubItem) CloneVT() *CommandSubItem
- func (this *CommandSubItem) EqualMessageVT(thatMsg any) bool
- func (this *CommandSubItem) EqualVT(that *CommandSubItem) bool
- func (x *CommandSubItem) GetDescription() string
- func (x *CommandSubItem) GetId() string
- func (x *CommandSubItem) GetLabel() string
- func (x *CommandSubItem) MarshalJSON() ([]byte, error)
- func (x *CommandSubItem) MarshalProtoJSON(s *json.MarshalState)
- func (x *CommandSubItem) MarshalProtoText() string
- func (m *CommandSubItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommandSubItem) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommandSubItem) MarshalVT() (dAtA []byte, err error)
- func (*CommandSubItem) ProtoMessage()
- func (x *CommandSubItem) Reset()
- func (m *CommandSubItem) SizeVT() (n int)
- func (x *CommandSubItem) String() string
- func (x *CommandSubItem) UnmarshalJSON(b []byte) error
- func (x *CommandSubItem) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CommandSubItem) UnmarshalVT(dAtA []byte) error
- type GetSubItemsRequest
- func (m *GetSubItemsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetSubItemsRequest) CloneVT() *GetSubItemsRequest
- func (this *GetSubItemsRequest) EqualMessageVT(thatMsg any) bool
- func (this *GetSubItemsRequest) EqualVT(that *GetSubItemsRequest) bool
- func (x *GetSubItemsRequest) GetCommandId() string
- func (x *GetSubItemsRequest) GetQuery() string
- func (x *GetSubItemsRequest) MarshalJSON() ([]byte, error)
- func (x *GetSubItemsRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetSubItemsRequest) MarshalProtoText() string
- func (m *GetSubItemsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSubItemsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSubItemsRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetSubItemsRequest) ProtoMessage()
- func (x *GetSubItemsRequest) Reset()
- func (m *GetSubItemsRequest) SizeVT() (n int)
- func (x *GetSubItemsRequest) String() string
- func (x *GetSubItemsRequest) UnmarshalJSON(b []byte) error
- func (x *GetSubItemsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetSubItemsRequest) UnmarshalVT(dAtA []byte) error
- type GetSubItemsResponse
- func (m *GetSubItemsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GetSubItemsResponse) CloneVT() *GetSubItemsResponse
- func (this *GetSubItemsResponse) EqualMessageVT(thatMsg any) bool
- func (this *GetSubItemsResponse) EqualVT(that *GetSubItemsResponse) bool
- func (x *GetSubItemsResponse) GetItems() []*CommandSubItem
- func (x *GetSubItemsResponse) MarshalJSON() ([]byte, error)
- func (x *GetSubItemsResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *GetSubItemsResponse) MarshalProtoText() string
- func (m *GetSubItemsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSubItemsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSubItemsResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetSubItemsResponse) ProtoMessage()
- func (x *GetSubItemsResponse) Reset()
- func (m *GetSubItemsResponse) SizeVT() (n int)
- func (x *GetSubItemsResponse) String() string
- func (x *GetSubItemsResponse) UnmarshalJSON(b []byte) error
- func (x *GetSubItemsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GetSubItemsResponse) UnmarshalVT(dAtA []byte) error
- type HandleCommandRequest
- func (m *HandleCommandRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleCommandRequest) CloneVT() *HandleCommandRequest
- func (this *HandleCommandRequest) EqualMessageVT(thatMsg any) bool
- func (this *HandleCommandRequest) EqualVT(that *HandleCommandRequest) bool
- func (x *HandleCommandRequest) GetArgs() map[string]string
- func (x *HandleCommandRequest) GetCommandId() string
- func (x *HandleCommandRequest) MarshalJSON() ([]byte, error)
- func (x *HandleCommandRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleCommandRequest) MarshalProtoText() string
- func (m *HandleCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleCommandRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleCommandRequest) MarshalVT() (dAtA []byte, err error)
- func (*HandleCommandRequest) ProtoMessage()
- func (x *HandleCommandRequest) Reset()
- func (m *HandleCommandRequest) SizeVT() (n int)
- func (x *HandleCommandRequest) String() string
- func (x *HandleCommandRequest) UnmarshalJSON(b []byte) error
- func (x *HandleCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleCommandRequest) UnmarshalVT(dAtA []byte) error
- type HandleCommandRequest_ArgsEntry
- func (x *HandleCommandRequest_ArgsEntry) GetKey() string
- func (x *HandleCommandRequest_ArgsEntry) GetValue() string
- func (x *HandleCommandRequest_ArgsEntry) MarshalJSON() ([]byte, error)
- func (x *HandleCommandRequest_ArgsEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleCommandRequest_ArgsEntry) MarshalProtoText() string
- func (*HandleCommandRequest_ArgsEntry) ProtoMessage()
- func (x *HandleCommandRequest_ArgsEntry) Reset()
- func (x *HandleCommandRequest_ArgsEntry) String() string
- func (x *HandleCommandRequest_ArgsEntry) UnmarshalJSON(b []byte) error
- func (x *HandleCommandRequest_ArgsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- type HandleCommandResponse
- func (m *HandleCommandResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleCommandResponse) CloneVT() *HandleCommandResponse
- func (this *HandleCommandResponse) EqualMessageVT(thatMsg any) bool
- func (this *HandleCommandResponse) EqualVT(that *HandleCommandResponse) bool
- func (x *HandleCommandResponse) MarshalJSON() ([]byte, error)
- func (x *HandleCommandResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleCommandResponse) MarshalProtoText() string
- func (m *HandleCommandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleCommandResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleCommandResponse) MarshalVT() (dAtA []byte, err error)
- func (*HandleCommandResponse) ProtoMessage()
- func (x *HandleCommandResponse) Reset()
- func (m *HandleCommandResponse) SizeVT() (n int)
- func (x *HandleCommandResponse) String() string
- func (x *HandleCommandResponse) UnmarshalJSON(b []byte) error
- func (x *HandleCommandResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleCommandResponse) UnmarshalVT(dAtA []byte) error
- type InvokeCommandRequest
- func (m *InvokeCommandRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *InvokeCommandRequest) CloneVT() *InvokeCommandRequest
- func (this *InvokeCommandRequest) EqualMessageVT(thatMsg any) bool
- func (this *InvokeCommandRequest) EqualVT(that *InvokeCommandRequest) bool
- func (x *InvokeCommandRequest) GetArgs() map[string]string
- func (x *InvokeCommandRequest) GetCommandId() string
- func (x *InvokeCommandRequest) MarshalJSON() ([]byte, error)
- func (x *InvokeCommandRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *InvokeCommandRequest) MarshalProtoText() string
- func (m *InvokeCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InvokeCommandRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *InvokeCommandRequest) MarshalVT() (dAtA []byte, err error)
- func (*InvokeCommandRequest) ProtoMessage()
- func (x *InvokeCommandRequest) Reset()
- func (m *InvokeCommandRequest) SizeVT() (n int)
- func (x *InvokeCommandRequest) String() string
- func (x *InvokeCommandRequest) UnmarshalJSON(b []byte) error
- func (x *InvokeCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *InvokeCommandRequest) UnmarshalVT(dAtA []byte) error
- type InvokeCommandRequest_ArgsEntry
- func (x *InvokeCommandRequest_ArgsEntry) GetKey() string
- func (x *InvokeCommandRequest_ArgsEntry) GetValue() string
- func (x *InvokeCommandRequest_ArgsEntry) MarshalJSON() ([]byte, error)
- func (x *InvokeCommandRequest_ArgsEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *InvokeCommandRequest_ArgsEntry) MarshalProtoText() string
- func (*InvokeCommandRequest_ArgsEntry) ProtoMessage()
- func (x *InvokeCommandRequest_ArgsEntry) Reset()
- func (x *InvokeCommandRequest_ArgsEntry) String() string
- func (x *InvokeCommandRequest_ArgsEntry) UnmarshalJSON(b []byte) error
- func (x *InvokeCommandRequest_ArgsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- type InvokeCommandResponse
- func (m *InvokeCommandResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *InvokeCommandResponse) CloneVT() *InvokeCommandResponse
- func (this *InvokeCommandResponse) EqualMessageVT(thatMsg any) bool
- func (this *InvokeCommandResponse) EqualVT(that *InvokeCommandResponse) bool
- func (x *InvokeCommandResponse) MarshalJSON() ([]byte, error)
- func (x *InvokeCommandResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *InvokeCommandResponse) MarshalProtoText() string
- func (m *InvokeCommandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InvokeCommandResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *InvokeCommandResponse) MarshalVT() (dAtA []byte, err error)
- func (*InvokeCommandResponse) ProtoMessage()
- func (x *InvokeCommandResponse) Reset()
- func (m *InvokeCommandResponse) SizeVT() (n int)
- func (x *InvokeCommandResponse) String() string
- func (x *InvokeCommandResponse) UnmarshalJSON(b []byte) error
- func (x *InvokeCommandResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *InvokeCommandResponse) UnmarshalVT(dAtA []byte) error
- type RegisterCommandRequest
- func (m *RegisterCommandRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RegisterCommandRequest) CloneVT() *RegisterCommandRequest
- func (this *RegisterCommandRequest) EqualMessageVT(thatMsg any) bool
- func (this *RegisterCommandRequest) EqualVT(that *RegisterCommandRequest) bool
- func (x *RegisterCommandRequest) GetCommand() *command.Command
- func (x *RegisterCommandRequest) GetHandlerResourceId() uint32
- func (x *RegisterCommandRequest) MarshalJSON() ([]byte, error)
- func (x *RegisterCommandRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *RegisterCommandRequest) MarshalProtoText() string
- func (m *RegisterCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RegisterCommandRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RegisterCommandRequest) MarshalVT() (dAtA []byte, err error)
- func (*RegisterCommandRequest) ProtoMessage()
- func (x *RegisterCommandRequest) Reset()
- func (m *RegisterCommandRequest) SizeVT() (n int)
- func (x *RegisterCommandRequest) String() string
- func (x *RegisterCommandRequest) UnmarshalJSON(b []byte) error
- func (x *RegisterCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RegisterCommandRequest) UnmarshalVT(dAtA []byte) error
- type RegisterCommandResponse
- func (m *RegisterCommandResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RegisterCommandResponse) CloneVT() *RegisterCommandResponse
- func (this *RegisterCommandResponse) EqualMessageVT(thatMsg any) bool
- func (this *RegisterCommandResponse) EqualVT(that *RegisterCommandResponse) bool
- func (x *RegisterCommandResponse) GetResourceId() uint32
- func (x *RegisterCommandResponse) MarshalJSON() ([]byte, error)
- func (x *RegisterCommandResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *RegisterCommandResponse) MarshalProtoText() string
- func (m *RegisterCommandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RegisterCommandResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RegisterCommandResponse) MarshalVT() (dAtA []byte, err error)
- func (*RegisterCommandResponse) ProtoMessage()
- func (x *RegisterCommandResponse) Reset()
- func (m *RegisterCommandResponse) SizeVT() (n int)
- func (x *RegisterCommandResponse) String() string
- func (x *RegisterCommandResponse) UnmarshalJSON(b []byte) error
- func (x *RegisterCommandResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RegisterCommandResponse) UnmarshalVT(dAtA []byte) error
- type SRPCCommandHandlerServiceClient
- type SRPCCommandHandlerServiceHandler
- func (SRPCCommandHandlerServiceHandler) GetMethodIDs() []string
- func (d *SRPCCommandHandlerServiceHandler) GetServiceID() string
- func (d *SRPCCommandHandlerServiceHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCCommandHandlerServiceHandler) InvokeMethod_GetSubItems(impl SRPCCommandHandlerServiceServer, strm srpc.Stream) error
- func (SRPCCommandHandlerServiceHandler) InvokeMethod_HandleCommand(impl SRPCCommandHandlerServiceServer, strm srpc.Stream) error
- type SRPCCommandHandlerServiceServer
- type SRPCCommandHandlerService_GetSubItemsStream
- type SRPCCommandHandlerService_HandleCommandStream
- type SRPCCommandRegistryResourceServiceClient
- type SRPCCommandRegistryResourceServiceHandler
- func (SRPCCommandRegistryResourceServiceHandler) GetMethodIDs() []string
- func (d *SRPCCommandRegistryResourceServiceHandler) GetServiceID() string
- func (d *SRPCCommandRegistryResourceServiceHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_GetSubItems(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
- func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_InvokeCommand(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
- func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_RegisterCommand(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
- func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_SetActive(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
- func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_SetEnabled(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
- func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_WatchCommands(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
- type SRPCCommandRegistryResourceServiceServer
- type SRPCCommandRegistryResourceService_GetSubItemsStream
- type SRPCCommandRegistryResourceService_InvokeCommandStream
- type SRPCCommandRegistryResourceService_RegisterCommandStream
- type SRPCCommandRegistryResourceService_SetActiveStream
- type SRPCCommandRegistryResourceService_SetEnabledStream
- type SRPCCommandRegistryResourceService_WatchCommandsClient
- type SRPCCommandRegistryResourceService_WatchCommandsStream
- type SetActiveRequest
- func (m *SetActiveRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SetActiveRequest) CloneVT() *SetActiveRequest
- func (this *SetActiveRequest) EqualMessageVT(thatMsg any) bool
- func (this *SetActiveRequest) EqualVT(that *SetActiveRequest) bool
- func (x *SetActiveRequest) GetActive() bool
- func (x *SetActiveRequest) GetResourceId() uint32
- func (x *SetActiveRequest) MarshalJSON() ([]byte, error)
- func (x *SetActiveRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *SetActiveRequest) MarshalProtoText() string
- func (m *SetActiveRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetActiveRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetActiveRequest) MarshalVT() (dAtA []byte, err error)
- func (*SetActiveRequest) ProtoMessage()
- func (x *SetActiveRequest) Reset()
- func (m *SetActiveRequest) SizeVT() (n int)
- func (x *SetActiveRequest) String() string
- func (x *SetActiveRequest) UnmarshalJSON(b []byte) error
- func (x *SetActiveRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SetActiveRequest) UnmarshalVT(dAtA []byte) error
- type SetActiveResponse
- func (m *SetActiveResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SetActiveResponse) CloneVT() *SetActiveResponse
- func (this *SetActiveResponse) EqualMessageVT(thatMsg any) bool
- func (this *SetActiveResponse) EqualVT(that *SetActiveResponse) bool
- func (x *SetActiveResponse) MarshalJSON() ([]byte, error)
- func (x *SetActiveResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *SetActiveResponse) MarshalProtoText() string
- func (m *SetActiveResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetActiveResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetActiveResponse) MarshalVT() (dAtA []byte, err error)
- func (*SetActiveResponse) ProtoMessage()
- func (x *SetActiveResponse) Reset()
- func (m *SetActiveResponse) SizeVT() (n int)
- func (x *SetActiveResponse) String() string
- func (x *SetActiveResponse) UnmarshalJSON(b []byte) error
- func (x *SetActiveResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SetActiveResponse) UnmarshalVT(dAtA []byte) error
- type SetEnabledRequest
- func (m *SetEnabledRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SetEnabledRequest) CloneVT() *SetEnabledRequest
- func (this *SetEnabledRequest) EqualMessageVT(thatMsg any) bool
- func (this *SetEnabledRequest) EqualVT(that *SetEnabledRequest) bool
- func (x *SetEnabledRequest) GetEnabled() bool
- func (x *SetEnabledRequest) GetResourceId() uint32
- func (x *SetEnabledRequest) MarshalJSON() ([]byte, error)
- func (x *SetEnabledRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *SetEnabledRequest) MarshalProtoText() string
- func (m *SetEnabledRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetEnabledRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetEnabledRequest) MarshalVT() (dAtA []byte, err error)
- func (*SetEnabledRequest) ProtoMessage()
- func (x *SetEnabledRequest) Reset()
- func (m *SetEnabledRequest) SizeVT() (n int)
- func (x *SetEnabledRequest) String() string
- func (x *SetEnabledRequest) UnmarshalJSON(b []byte) error
- func (x *SetEnabledRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SetEnabledRequest) UnmarshalVT(dAtA []byte) error
- type SetEnabledResponse
- func (m *SetEnabledResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SetEnabledResponse) CloneVT() *SetEnabledResponse
- func (this *SetEnabledResponse) EqualMessageVT(thatMsg any) bool
- func (this *SetEnabledResponse) EqualVT(that *SetEnabledResponse) bool
- func (x *SetEnabledResponse) MarshalJSON() ([]byte, error)
- func (x *SetEnabledResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *SetEnabledResponse) MarshalProtoText() string
- func (m *SetEnabledResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetEnabledResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetEnabledResponse) MarshalVT() (dAtA []byte, err error)
- func (*SetEnabledResponse) ProtoMessage()
- func (x *SetEnabledResponse) Reset()
- func (m *SetEnabledResponse) SizeVT() (n int)
- func (x *SetEnabledResponse) String() string
- func (x *SetEnabledResponse) UnmarshalJSON(b []byte) error
- func (x *SetEnabledResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SetEnabledResponse) UnmarshalVT(dAtA []byte) error
- type WatchCommandsRequest
- func (m *WatchCommandsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchCommandsRequest) CloneVT() *WatchCommandsRequest
- func (this *WatchCommandsRequest) EqualMessageVT(thatMsg any) bool
- func (this *WatchCommandsRequest) EqualVT(that *WatchCommandsRequest) bool
- func (x *WatchCommandsRequest) MarshalJSON() ([]byte, error)
- func (x *WatchCommandsRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchCommandsRequest) MarshalProtoText() string
- func (m *WatchCommandsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchCommandsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchCommandsRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchCommandsRequest) ProtoMessage()
- func (x *WatchCommandsRequest) Reset()
- func (m *WatchCommandsRequest) SizeVT() (n int)
- func (x *WatchCommandsRequest) String() string
- func (x *WatchCommandsRequest) UnmarshalJSON(b []byte) error
- func (x *WatchCommandsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchCommandsRequest) UnmarshalVT(dAtA []byte) error
- type WatchCommandsResponse
- func (m *WatchCommandsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchCommandsResponse) CloneVT() *WatchCommandsResponse
- func (this *WatchCommandsResponse) EqualMessageVT(thatMsg any) bool
- func (this *WatchCommandsResponse) EqualVT(that *WatchCommandsResponse) bool
- func (x *WatchCommandsResponse) GetCommands() []*CommandState
- func (x *WatchCommandsResponse) MarshalJSON() ([]byte, error)
- func (x *WatchCommandsResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchCommandsResponse) MarshalProtoText() string
- func (m *WatchCommandsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchCommandsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchCommandsResponse) MarshalVT() (dAtA []byte, err error)
- func (*WatchCommandsResponse) ProtoMessage()
- func (x *WatchCommandsResponse) Reset()
- func (m *WatchCommandsResponse) SizeVT() (n int)
- func (x *WatchCommandsResponse) String() string
- func (x *WatchCommandsResponse) UnmarshalJSON(b []byte) error
- func (x *WatchCommandsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchCommandsResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const SRPCCommandHandlerServiceServiceID = "s4wave.command.registry.CommandHandlerService"
const SRPCCommandRegistryResourceServiceServiceID = "s4wave.command.registry.CommandRegistryResourceService"
Variables ¶
This section is empty.
Functions ¶
func NewSRPCCommandHandlerServiceHandler ¶
func NewSRPCCommandHandlerServiceHandler(impl SRPCCommandHandlerServiceServer, serviceID string) srpc.Handler
NewSRPCCommandHandlerServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.command.registry.CommandHandlerService
func NewSRPCCommandRegistryResourceServiceHandler ¶
func NewSRPCCommandRegistryResourceServiceHandler(impl SRPCCommandRegistryResourceServiceServer, serviceID string) srpc.Handler
NewSRPCCommandRegistryResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.command.registry.CommandRegistryResourceService
func SRPCRegisterCommandHandlerService ¶
func SRPCRegisterCommandHandlerService(mux srpc.Mux, impl SRPCCommandHandlerServiceServer) error
SRPCRegisterCommandHandlerService registers the implementation with the mux. Uses the default serviceID: s4wave.command.registry.CommandHandlerService
func SRPCRegisterCommandRegistryResourceService ¶
func SRPCRegisterCommandRegistryResourceService(mux srpc.Mux, impl SRPCCommandRegistryResourceServiceServer) error
SRPCRegisterCommandRegistryResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.command.registry.CommandRegistryResourceService
Types ¶
type CommandState ¶
type CommandState struct {
// ResourceId is the registration resource ID.
ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
// Command is the command metadata.
Command *command.Command `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
// Active is whether the registration is active.
Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
// Enabled is whether the registration is enabled.
Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
CommandState is a registered command instance with active and enabled state.
func (*CommandState) CloneMessageVT ¶
func (m *CommandState) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CommandState) CloneVT ¶
func (m *CommandState) CloneVT() *CommandState
func (*CommandState) EqualMessageVT ¶
func (this *CommandState) EqualMessageVT(thatMsg any) bool
func (*CommandState) EqualVT ¶
func (this *CommandState) EqualVT(that *CommandState) bool
func (*CommandState) GetActive ¶
func (x *CommandState) GetActive() bool
func (*CommandState) GetCommand ¶
func (x *CommandState) GetCommand() *command.Command
func (*CommandState) GetEnabled ¶
func (x *CommandState) GetEnabled() bool
func (*CommandState) GetResourceId ¶
func (x *CommandState) GetResourceId() uint32
func (*CommandState) MarshalJSON ¶
func (x *CommandState) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CommandState to JSON.
func (*CommandState) MarshalProtoJSON ¶
func (x *CommandState) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CommandState message to JSON.
func (*CommandState) MarshalProtoText ¶
func (x *CommandState) MarshalProtoText() string
func (*CommandState) MarshalToSizedBufferVT ¶
func (m *CommandState) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommandState) MarshalToVT ¶
func (m *CommandState) MarshalToVT(dAtA []byte) (int, error)
func (*CommandState) MarshalVT ¶
func (m *CommandState) MarshalVT() (dAtA []byte, err error)
func (*CommandState) ProtoMessage ¶
func (*CommandState) ProtoMessage()
func (*CommandState) Reset ¶
func (x *CommandState) Reset()
func (*CommandState) SizeVT ¶
func (m *CommandState) SizeVT() (n int)
func (*CommandState) String ¶
func (x *CommandState) String() string
func (*CommandState) UnmarshalJSON ¶
func (x *CommandState) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CommandState from JSON.
func (*CommandState) UnmarshalProtoJSON ¶
func (x *CommandState) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CommandState message from JSON.
func (*CommandState) UnmarshalVT ¶
func (m *CommandState) UnmarshalVT(dAtA []byte) error
type CommandSubItem ¶
type CommandSubItem struct {
// Id is the stable sub-item identifier.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Label is the display label.
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// Description is an optional longer description.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
CommandSubItem is a sub-item returned for a command palette entry.
func (*CommandSubItem) CloneMessageVT ¶
func (m *CommandSubItem) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CommandSubItem) CloneVT ¶
func (m *CommandSubItem) CloneVT() *CommandSubItem
func (*CommandSubItem) EqualMessageVT ¶
func (this *CommandSubItem) EqualMessageVT(thatMsg any) bool
func (*CommandSubItem) EqualVT ¶
func (this *CommandSubItem) EqualVT(that *CommandSubItem) bool
func (*CommandSubItem) GetDescription ¶
func (x *CommandSubItem) GetDescription() string
func (*CommandSubItem) GetId ¶
func (x *CommandSubItem) GetId() string
func (*CommandSubItem) GetLabel ¶
func (x *CommandSubItem) GetLabel() string
func (*CommandSubItem) MarshalJSON ¶
func (x *CommandSubItem) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CommandSubItem to JSON.
func (*CommandSubItem) MarshalProtoJSON ¶
func (x *CommandSubItem) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CommandSubItem message to JSON.
func (*CommandSubItem) MarshalProtoText ¶
func (x *CommandSubItem) MarshalProtoText() string
func (*CommandSubItem) MarshalToSizedBufferVT ¶
func (m *CommandSubItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommandSubItem) MarshalToVT ¶
func (m *CommandSubItem) MarshalToVT(dAtA []byte) (int, error)
func (*CommandSubItem) MarshalVT ¶
func (m *CommandSubItem) MarshalVT() (dAtA []byte, err error)
func (*CommandSubItem) ProtoMessage ¶
func (*CommandSubItem) ProtoMessage()
func (*CommandSubItem) Reset ¶
func (x *CommandSubItem) Reset()
func (*CommandSubItem) SizeVT ¶
func (m *CommandSubItem) SizeVT() (n int)
func (*CommandSubItem) String ¶
func (x *CommandSubItem) String() string
func (*CommandSubItem) UnmarshalJSON ¶
func (x *CommandSubItem) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CommandSubItem from JSON.
func (*CommandSubItem) UnmarshalProtoJSON ¶
func (x *CommandSubItem) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CommandSubItem message from JSON.
func (*CommandSubItem) UnmarshalVT ¶
func (m *CommandSubItem) UnmarshalVT(dAtA []byte) error
type GetSubItemsRequest ¶
type GetSubItemsRequest struct {
// CommandId is the command to query.
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"commandId,omitempty"`
// Query is the user-entered filter text.
Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
GetSubItemsRequest is the request for GetSubItems.
func (*GetSubItemsRequest) CloneMessageVT ¶
func (m *GetSubItemsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetSubItemsRequest) CloneVT ¶
func (m *GetSubItemsRequest) CloneVT() *GetSubItemsRequest
func (*GetSubItemsRequest) EqualMessageVT ¶
func (this *GetSubItemsRequest) EqualMessageVT(thatMsg any) bool
func (*GetSubItemsRequest) EqualVT ¶
func (this *GetSubItemsRequest) EqualVT(that *GetSubItemsRequest) bool
func (*GetSubItemsRequest) GetCommandId ¶
func (x *GetSubItemsRequest) GetCommandId() string
func (*GetSubItemsRequest) GetQuery ¶
func (x *GetSubItemsRequest) GetQuery() string
func (*GetSubItemsRequest) MarshalJSON ¶
func (x *GetSubItemsRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetSubItemsRequest to JSON.
func (*GetSubItemsRequest) MarshalProtoJSON ¶
func (x *GetSubItemsRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetSubItemsRequest message to JSON.
func (*GetSubItemsRequest) MarshalProtoText ¶
func (x *GetSubItemsRequest) MarshalProtoText() string
func (*GetSubItemsRequest) MarshalToSizedBufferVT ¶
func (m *GetSubItemsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSubItemsRequest) MarshalToVT ¶
func (m *GetSubItemsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetSubItemsRequest) MarshalVT ¶
func (m *GetSubItemsRequest) MarshalVT() (dAtA []byte, err error)
func (*GetSubItemsRequest) ProtoMessage ¶
func (*GetSubItemsRequest) ProtoMessage()
func (*GetSubItemsRequest) Reset ¶
func (x *GetSubItemsRequest) Reset()
func (*GetSubItemsRequest) SizeVT ¶
func (m *GetSubItemsRequest) SizeVT() (n int)
func (*GetSubItemsRequest) String ¶
func (x *GetSubItemsRequest) String() string
func (*GetSubItemsRequest) UnmarshalJSON ¶
func (x *GetSubItemsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetSubItemsRequest from JSON.
func (*GetSubItemsRequest) UnmarshalProtoJSON ¶
func (x *GetSubItemsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetSubItemsRequest message from JSON.
func (*GetSubItemsRequest) UnmarshalVT ¶
func (m *GetSubItemsRequest) UnmarshalVT(dAtA []byte) error
type GetSubItemsResponse ¶
type GetSubItemsResponse struct {
// Items is the sub-item list for the command.
Items []*CommandSubItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
GetSubItemsResponse is the response for GetSubItems.
func (*GetSubItemsResponse) CloneMessageVT ¶
func (m *GetSubItemsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GetSubItemsResponse) CloneVT ¶
func (m *GetSubItemsResponse) CloneVT() *GetSubItemsResponse
func (*GetSubItemsResponse) EqualMessageVT ¶
func (this *GetSubItemsResponse) EqualMessageVT(thatMsg any) bool
func (*GetSubItemsResponse) EqualVT ¶
func (this *GetSubItemsResponse) EqualVT(that *GetSubItemsResponse) bool
func (*GetSubItemsResponse) GetItems ¶
func (x *GetSubItemsResponse) GetItems() []*CommandSubItem
func (*GetSubItemsResponse) MarshalJSON ¶
func (x *GetSubItemsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GetSubItemsResponse to JSON.
func (*GetSubItemsResponse) MarshalProtoJSON ¶
func (x *GetSubItemsResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GetSubItemsResponse message to JSON.
func (*GetSubItemsResponse) MarshalProtoText ¶
func (x *GetSubItemsResponse) MarshalProtoText() string
func (*GetSubItemsResponse) MarshalToSizedBufferVT ¶
func (m *GetSubItemsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSubItemsResponse) MarshalToVT ¶
func (m *GetSubItemsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetSubItemsResponse) MarshalVT ¶
func (m *GetSubItemsResponse) MarshalVT() (dAtA []byte, err error)
func (*GetSubItemsResponse) ProtoMessage ¶
func (*GetSubItemsResponse) ProtoMessage()
func (*GetSubItemsResponse) Reset ¶
func (x *GetSubItemsResponse) Reset()
func (*GetSubItemsResponse) SizeVT ¶
func (m *GetSubItemsResponse) SizeVT() (n int)
func (*GetSubItemsResponse) String ¶
func (x *GetSubItemsResponse) String() string
func (*GetSubItemsResponse) UnmarshalJSON ¶
func (x *GetSubItemsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GetSubItemsResponse from JSON.
func (*GetSubItemsResponse) UnmarshalProtoJSON ¶
func (x *GetSubItemsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GetSubItemsResponse message from JSON.
func (*GetSubItemsResponse) UnmarshalVT ¶
func (m *GetSubItemsResponse) UnmarshalVT(dAtA []byte) error
type HandleCommandRequest ¶
type HandleCommandRequest struct {
// CommandId is the invoked command.
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"commandId,omitempty"`
// Args is the arguments passed by the invoker.
Args map[string]string `` /* 149-byte string literal not displayed */
// contains filtered or unexported fields
}
HandleCommandRequest is the request for HandleCommand.
func (*HandleCommandRequest) CloneMessageVT ¶
func (m *HandleCommandRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleCommandRequest) CloneVT ¶
func (m *HandleCommandRequest) CloneVT() *HandleCommandRequest
func (*HandleCommandRequest) EqualMessageVT ¶
func (this *HandleCommandRequest) EqualMessageVT(thatMsg any) bool
func (*HandleCommandRequest) EqualVT ¶
func (this *HandleCommandRequest) EqualVT(that *HandleCommandRequest) bool
func (*HandleCommandRequest) GetArgs ¶
func (x *HandleCommandRequest) GetArgs() map[string]string
func (*HandleCommandRequest) GetCommandId ¶
func (x *HandleCommandRequest) GetCommandId() string
func (*HandleCommandRequest) MarshalJSON ¶
func (x *HandleCommandRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleCommandRequest to JSON.
func (*HandleCommandRequest) MarshalProtoJSON ¶
func (x *HandleCommandRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleCommandRequest message to JSON.
func (*HandleCommandRequest) MarshalProtoText ¶
func (x *HandleCommandRequest) MarshalProtoText() string
func (*HandleCommandRequest) MarshalToSizedBufferVT ¶
func (m *HandleCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleCommandRequest) MarshalToVT ¶
func (m *HandleCommandRequest) MarshalToVT(dAtA []byte) (int, error)
func (*HandleCommandRequest) MarshalVT ¶
func (m *HandleCommandRequest) MarshalVT() (dAtA []byte, err error)
func (*HandleCommandRequest) ProtoMessage ¶
func (*HandleCommandRequest) ProtoMessage()
func (*HandleCommandRequest) Reset ¶
func (x *HandleCommandRequest) Reset()
func (*HandleCommandRequest) SizeVT ¶
func (m *HandleCommandRequest) SizeVT() (n int)
func (*HandleCommandRequest) String ¶
func (x *HandleCommandRequest) String() string
func (*HandleCommandRequest) UnmarshalJSON ¶
func (x *HandleCommandRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleCommandRequest from JSON.
func (*HandleCommandRequest) UnmarshalProtoJSON ¶
func (x *HandleCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleCommandRequest message from JSON.
func (*HandleCommandRequest) UnmarshalVT ¶
func (m *HandleCommandRequest) UnmarshalVT(dAtA []byte) error
type HandleCommandRequest_ArgsEntry ¶
type HandleCommandRequest_ArgsEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*HandleCommandRequest_ArgsEntry) GetKey ¶
func (x *HandleCommandRequest_ArgsEntry) GetKey() string
func (*HandleCommandRequest_ArgsEntry) GetValue ¶
func (x *HandleCommandRequest_ArgsEntry) GetValue() string
func (*HandleCommandRequest_ArgsEntry) MarshalJSON ¶
func (x *HandleCommandRequest_ArgsEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleCommandRequest_ArgsEntry to JSON.
func (*HandleCommandRequest_ArgsEntry) MarshalProtoJSON ¶
func (x *HandleCommandRequest_ArgsEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleCommandRequest_ArgsEntry message to JSON.
func (*HandleCommandRequest_ArgsEntry) MarshalProtoText ¶
func (x *HandleCommandRequest_ArgsEntry) MarshalProtoText() string
func (*HandleCommandRequest_ArgsEntry) ProtoMessage ¶
func (*HandleCommandRequest_ArgsEntry) ProtoMessage()
func (*HandleCommandRequest_ArgsEntry) Reset ¶
func (x *HandleCommandRequest_ArgsEntry) Reset()
func (*HandleCommandRequest_ArgsEntry) String ¶
func (x *HandleCommandRequest_ArgsEntry) String() string
func (*HandleCommandRequest_ArgsEntry) UnmarshalJSON ¶
func (x *HandleCommandRequest_ArgsEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleCommandRequest_ArgsEntry from JSON.
func (*HandleCommandRequest_ArgsEntry) UnmarshalProtoJSON ¶
func (x *HandleCommandRequest_ArgsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleCommandRequest_ArgsEntry message from JSON.
type HandleCommandResponse ¶
type HandleCommandResponse struct {
// contains filtered or unexported fields
}
HandleCommandResponse is the response for HandleCommand.
func (*HandleCommandResponse) CloneMessageVT ¶
func (m *HandleCommandResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleCommandResponse) CloneVT ¶
func (m *HandleCommandResponse) CloneVT() *HandleCommandResponse
func (*HandleCommandResponse) EqualMessageVT ¶
func (this *HandleCommandResponse) EqualMessageVT(thatMsg any) bool
func (*HandleCommandResponse) EqualVT ¶
func (this *HandleCommandResponse) EqualVT(that *HandleCommandResponse) bool
func (*HandleCommandResponse) MarshalJSON ¶
func (x *HandleCommandResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleCommandResponse to JSON.
func (*HandleCommandResponse) MarshalProtoJSON ¶
func (x *HandleCommandResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleCommandResponse message to JSON.
func (*HandleCommandResponse) MarshalProtoText ¶
func (x *HandleCommandResponse) MarshalProtoText() string
func (*HandleCommandResponse) MarshalToSizedBufferVT ¶
func (m *HandleCommandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleCommandResponse) MarshalToVT ¶
func (m *HandleCommandResponse) MarshalToVT(dAtA []byte) (int, error)
func (*HandleCommandResponse) MarshalVT ¶
func (m *HandleCommandResponse) MarshalVT() (dAtA []byte, err error)
func (*HandleCommandResponse) ProtoMessage ¶
func (*HandleCommandResponse) ProtoMessage()
func (*HandleCommandResponse) Reset ¶
func (x *HandleCommandResponse) Reset()
func (*HandleCommandResponse) SizeVT ¶
func (m *HandleCommandResponse) SizeVT() (n int)
func (*HandleCommandResponse) String ¶
func (x *HandleCommandResponse) String() string
func (*HandleCommandResponse) UnmarshalJSON ¶
func (x *HandleCommandResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleCommandResponse from JSON.
func (*HandleCommandResponse) UnmarshalProtoJSON ¶
func (x *HandleCommandResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleCommandResponse message from JSON.
func (*HandleCommandResponse) UnmarshalVT ¶
func (m *HandleCommandResponse) UnmarshalVT(dAtA []byte) error
type InvokeCommandRequest ¶
type InvokeCommandRequest struct {
// CommandId is the command to invoke.
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"commandId,omitempty"`
// Args is optional key-value arguments.
Args map[string]string `` /* 149-byte string literal not displayed */
// contains filtered or unexported fields
}
InvokeCommandRequest is the request for InvokeCommand.
func (*InvokeCommandRequest) CloneMessageVT ¶
func (m *InvokeCommandRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*InvokeCommandRequest) CloneVT ¶
func (m *InvokeCommandRequest) CloneVT() *InvokeCommandRequest
func (*InvokeCommandRequest) EqualMessageVT ¶
func (this *InvokeCommandRequest) EqualMessageVT(thatMsg any) bool
func (*InvokeCommandRequest) EqualVT ¶
func (this *InvokeCommandRequest) EqualVT(that *InvokeCommandRequest) bool
func (*InvokeCommandRequest) GetArgs ¶
func (x *InvokeCommandRequest) GetArgs() map[string]string
func (*InvokeCommandRequest) GetCommandId ¶
func (x *InvokeCommandRequest) GetCommandId() string
func (*InvokeCommandRequest) MarshalJSON ¶
func (x *InvokeCommandRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the InvokeCommandRequest to JSON.
func (*InvokeCommandRequest) MarshalProtoJSON ¶
func (x *InvokeCommandRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the InvokeCommandRequest message to JSON.
func (*InvokeCommandRequest) MarshalProtoText ¶
func (x *InvokeCommandRequest) MarshalProtoText() string
func (*InvokeCommandRequest) MarshalToSizedBufferVT ¶
func (m *InvokeCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InvokeCommandRequest) MarshalToVT ¶
func (m *InvokeCommandRequest) MarshalToVT(dAtA []byte) (int, error)
func (*InvokeCommandRequest) MarshalVT ¶
func (m *InvokeCommandRequest) MarshalVT() (dAtA []byte, err error)
func (*InvokeCommandRequest) ProtoMessage ¶
func (*InvokeCommandRequest) ProtoMessage()
func (*InvokeCommandRequest) Reset ¶
func (x *InvokeCommandRequest) Reset()
func (*InvokeCommandRequest) SizeVT ¶
func (m *InvokeCommandRequest) SizeVT() (n int)
func (*InvokeCommandRequest) String ¶
func (x *InvokeCommandRequest) String() string
func (*InvokeCommandRequest) UnmarshalJSON ¶
func (x *InvokeCommandRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the InvokeCommandRequest from JSON.
func (*InvokeCommandRequest) UnmarshalProtoJSON ¶
func (x *InvokeCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the InvokeCommandRequest message from JSON.
func (*InvokeCommandRequest) UnmarshalVT ¶
func (m *InvokeCommandRequest) UnmarshalVT(dAtA []byte) error
type InvokeCommandRequest_ArgsEntry ¶
type InvokeCommandRequest_ArgsEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*InvokeCommandRequest_ArgsEntry) GetKey ¶
func (x *InvokeCommandRequest_ArgsEntry) GetKey() string
func (*InvokeCommandRequest_ArgsEntry) GetValue ¶
func (x *InvokeCommandRequest_ArgsEntry) GetValue() string
func (*InvokeCommandRequest_ArgsEntry) MarshalJSON ¶
func (x *InvokeCommandRequest_ArgsEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the InvokeCommandRequest_ArgsEntry to JSON.
func (*InvokeCommandRequest_ArgsEntry) MarshalProtoJSON ¶
func (x *InvokeCommandRequest_ArgsEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the InvokeCommandRequest_ArgsEntry message to JSON.
func (*InvokeCommandRequest_ArgsEntry) MarshalProtoText ¶
func (x *InvokeCommandRequest_ArgsEntry) MarshalProtoText() string
func (*InvokeCommandRequest_ArgsEntry) ProtoMessage ¶
func (*InvokeCommandRequest_ArgsEntry) ProtoMessage()
func (*InvokeCommandRequest_ArgsEntry) Reset ¶
func (x *InvokeCommandRequest_ArgsEntry) Reset()
func (*InvokeCommandRequest_ArgsEntry) String ¶
func (x *InvokeCommandRequest_ArgsEntry) String() string
func (*InvokeCommandRequest_ArgsEntry) UnmarshalJSON ¶
func (x *InvokeCommandRequest_ArgsEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the InvokeCommandRequest_ArgsEntry from JSON.
func (*InvokeCommandRequest_ArgsEntry) UnmarshalProtoJSON ¶
func (x *InvokeCommandRequest_ArgsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the InvokeCommandRequest_ArgsEntry message from JSON.
type InvokeCommandResponse ¶
type InvokeCommandResponse struct {
// contains filtered or unexported fields
}
InvokeCommandResponse is the response for InvokeCommand.
func (*InvokeCommandResponse) CloneMessageVT ¶
func (m *InvokeCommandResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*InvokeCommandResponse) CloneVT ¶
func (m *InvokeCommandResponse) CloneVT() *InvokeCommandResponse
func (*InvokeCommandResponse) EqualMessageVT ¶
func (this *InvokeCommandResponse) EqualMessageVT(thatMsg any) bool
func (*InvokeCommandResponse) EqualVT ¶
func (this *InvokeCommandResponse) EqualVT(that *InvokeCommandResponse) bool
func (*InvokeCommandResponse) MarshalJSON ¶
func (x *InvokeCommandResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the InvokeCommandResponse to JSON.
func (*InvokeCommandResponse) MarshalProtoJSON ¶
func (x *InvokeCommandResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the InvokeCommandResponse message to JSON.
func (*InvokeCommandResponse) MarshalProtoText ¶
func (x *InvokeCommandResponse) MarshalProtoText() string
func (*InvokeCommandResponse) MarshalToSizedBufferVT ¶
func (m *InvokeCommandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InvokeCommandResponse) MarshalToVT ¶
func (m *InvokeCommandResponse) MarshalToVT(dAtA []byte) (int, error)
func (*InvokeCommandResponse) MarshalVT ¶
func (m *InvokeCommandResponse) MarshalVT() (dAtA []byte, err error)
func (*InvokeCommandResponse) ProtoMessage ¶
func (*InvokeCommandResponse) ProtoMessage()
func (*InvokeCommandResponse) Reset ¶
func (x *InvokeCommandResponse) Reset()
func (*InvokeCommandResponse) SizeVT ¶
func (m *InvokeCommandResponse) SizeVT() (n int)
func (*InvokeCommandResponse) String ¶
func (x *InvokeCommandResponse) String() string
func (*InvokeCommandResponse) UnmarshalJSON ¶
func (x *InvokeCommandResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the InvokeCommandResponse from JSON.
func (*InvokeCommandResponse) UnmarshalProtoJSON ¶
func (x *InvokeCommandResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the InvokeCommandResponse message from JSON.
func (*InvokeCommandResponse) UnmarshalVT ¶
func (m *InvokeCommandResponse) UnmarshalVT(dAtA []byte) error
type RegisterCommandRequest ¶
type RegisterCommandRequest struct {
// Command is the command metadata.
Command *command.Command `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
// HandlerResourceId is the resource ID of the attached handler.
// If 0, the command has no handler (display-only).
HandlerResourceId uint32 `protobuf:"varint,2,opt,name=handler_resource_id,json=handlerResourceId,proto3" json:"handlerResourceId,omitempty"`
// contains filtered or unexported fields
}
RegisterCommandRequest is the request for RegisterCommand.
func (*RegisterCommandRequest) CloneMessageVT ¶
func (m *RegisterCommandRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RegisterCommandRequest) CloneVT ¶
func (m *RegisterCommandRequest) CloneVT() *RegisterCommandRequest
func (*RegisterCommandRequest) EqualMessageVT ¶
func (this *RegisterCommandRequest) EqualMessageVT(thatMsg any) bool
func (*RegisterCommandRequest) EqualVT ¶
func (this *RegisterCommandRequest) EqualVT(that *RegisterCommandRequest) bool
func (*RegisterCommandRequest) GetCommand ¶
func (x *RegisterCommandRequest) GetCommand() *command.Command
func (*RegisterCommandRequest) GetHandlerResourceId ¶
func (x *RegisterCommandRequest) GetHandlerResourceId() uint32
func (*RegisterCommandRequest) MarshalJSON ¶
func (x *RegisterCommandRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RegisterCommandRequest to JSON.
func (*RegisterCommandRequest) MarshalProtoJSON ¶
func (x *RegisterCommandRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RegisterCommandRequest message to JSON.
func (*RegisterCommandRequest) MarshalProtoText ¶
func (x *RegisterCommandRequest) MarshalProtoText() string
func (*RegisterCommandRequest) MarshalToSizedBufferVT ¶
func (m *RegisterCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RegisterCommandRequest) MarshalToVT ¶
func (m *RegisterCommandRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RegisterCommandRequest) MarshalVT ¶
func (m *RegisterCommandRequest) MarshalVT() (dAtA []byte, err error)
func (*RegisterCommandRequest) ProtoMessage ¶
func (*RegisterCommandRequest) ProtoMessage()
func (*RegisterCommandRequest) Reset ¶
func (x *RegisterCommandRequest) Reset()
func (*RegisterCommandRequest) SizeVT ¶
func (m *RegisterCommandRequest) SizeVT() (n int)
func (*RegisterCommandRequest) String ¶
func (x *RegisterCommandRequest) String() string
func (*RegisterCommandRequest) UnmarshalJSON ¶
func (x *RegisterCommandRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RegisterCommandRequest from JSON.
func (*RegisterCommandRequest) UnmarshalProtoJSON ¶
func (x *RegisterCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RegisterCommandRequest message from JSON.
func (*RegisterCommandRequest) UnmarshalVT ¶
func (m *RegisterCommandRequest) UnmarshalVT(dAtA []byte) error
type RegisterCommandResponse ¶
type RegisterCommandResponse struct {
// ResourceId is the registration resource. Releasing it unregisters the command.
ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
// contains filtered or unexported fields
}
RegisterCommandResponse is the response for RegisterCommand.
func (*RegisterCommandResponse) CloneMessageVT ¶
func (m *RegisterCommandResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RegisterCommandResponse) CloneVT ¶
func (m *RegisterCommandResponse) CloneVT() *RegisterCommandResponse
func (*RegisterCommandResponse) EqualMessageVT ¶
func (this *RegisterCommandResponse) EqualMessageVT(thatMsg any) bool
func (*RegisterCommandResponse) EqualVT ¶
func (this *RegisterCommandResponse) EqualVT(that *RegisterCommandResponse) bool
func (*RegisterCommandResponse) GetResourceId ¶
func (x *RegisterCommandResponse) GetResourceId() uint32
func (*RegisterCommandResponse) MarshalJSON ¶
func (x *RegisterCommandResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RegisterCommandResponse to JSON.
func (*RegisterCommandResponse) MarshalProtoJSON ¶
func (x *RegisterCommandResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RegisterCommandResponse message to JSON.
func (*RegisterCommandResponse) MarshalProtoText ¶
func (x *RegisterCommandResponse) MarshalProtoText() string
func (*RegisterCommandResponse) MarshalToSizedBufferVT ¶
func (m *RegisterCommandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RegisterCommandResponse) MarshalToVT ¶
func (m *RegisterCommandResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RegisterCommandResponse) MarshalVT ¶
func (m *RegisterCommandResponse) MarshalVT() (dAtA []byte, err error)
func (*RegisterCommandResponse) ProtoMessage ¶
func (*RegisterCommandResponse) ProtoMessage()
func (*RegisterCommandResponse) Reset ¶
func (x *RegisterCommandResponse) Reset()
func (*RegisterCommandResponse) SizeVT ¶
func (m *RegisterCommandResponse) SizeVT() (n int)
func (*RegisterCommandResponse) String ¶
func (x *RegisterCommandResponse) String() string
func (*RegisterCommandResponse) UnmarshalJSON ¶
func (x *RegisterCommandResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RegisterCommandResponse from JSON.
func (*RegisterCommandResponse) UnmarshalProtoJSON ¶
func (x *RegisterCommandResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RegisterCommandResponse message from JSON.
func (*RegisterCommandResponse) UnmarshalVT ¶
func (m *RegisterCommandResponse) UnmarshalVT(dAtA []byte) error
type SRPCCommandHandlerServiceClient ¶
type SRPCCommandHandlerServiceClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
GetSubItems(ctx context.Context, in *GetSubItemsRequest) (*GetSubItemsResponse, error)
HandleCommand(ctx context.Context, in *HandleCommandRequest) (*HandleCommandResponse, error)
}
func NewSRPCCommandHandlerServiceClient ¶
func NewSRPCCommandHandlerServiceClient(cc srpc.Client) SRPCCommandHandlerServiceClient
func NewSRPCCommandHandlerServiceClientWithServiceID ¶
func NewSRPCCommandHandlerServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCCommandHandlerServiceClient
type SRPCCommandHandlerServiceHandler ¶
type SRPCCommandHandlerServiceHandler struct {
// contains filtered or unexported fields
}
func (SRPCCommandHandlerServiceHandler) GetMethodIDs ¶
func (SRPCCommandHandlerServiceHandler) GetMethodIDs() []string
func (*SRPCCommandHandlerServiceHandler) GetServiceID ¶
func (d *SRPCCommandHandlerServiceHandler) GetServiceID() string
func (*SRPCCommandHandlerServiceHandler) InvokeMethod ¶
func (SRPCCommandHandlerServiceHandler) InvokeMethod_GetSubItems ¶
func (SRPCCommandHandlerServiceHandler) InvokeMethod_GetSubItems(impl SRPCCommandHandlerServiceServer, strm srpc.Stream) error
func (SRPCCommandHandlerServiceHandler) InvokeMethod_HandleCommand ¶
func (SRPCCommandHandlerServiceHandler) InvokeMethod_HandleCommand(impl SRPCCommandHandlerServiceServer, strm srpc.Stream) error
type SRPCCommandHandlerServiceServer ¶
type SRPCCommandHandlerServiceServer interface {
GetSubItems(context.Context, *GetSubItemsRequest) (*GetSubItemsResponse, error)
HandleCommand(context.Context, *HandleCommandRequest) (*HandleCommandResponse, error)
}
type SRPCCommandRegistryResourceServiceClient ¶
type SRPCCommandRegistryResourceServiceClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
RegisterCommand(ctx context.Context, in *RegisterCommandRequest) (*RegisterCommandResponse, error)
SetActive(ctx context.Context, in *SetActiveRequest) (*SetActiveResponse, error)
SetEnabled(ctx context.Context, in *SetEnabledRequest) (*SetEnabledResponse, error)
WatchCommands(ctx context.Context, in *WatchCommandsRequest) (SRPCCommandRegistryResourceService_WatchCommandsClient, error)
GetSubItems(ctx context.Context, in *GetSubItemsRequest) (*GetSubItemsResponse, error)
InvokeCommand(ctx context.Context, in *InvokeCommandRequest) (*InvokeCommandResponse, error)
}
func NewSRPCCommandRegistryResourceServiceClient ¶
func NewSRPCCommandRegistryResourceServiceClient(cc srpc.Client) SRPCCommandRegistryResourceServiceClient
func NewSRPCCommandRegistryResourceServiceClientWithServiceID ¶
func NewSRPCCommandRegistryResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCCommandRegistryResourceServiceClient
type SRPCCommandRegistryResourceServiceHandler ¶
type SRPCCommandRegistryResourceServiceHandler struct {
// contains filtered or unexported fields
}
func (SRPCCommandRegistryResourceServiceHandler) GetMethodIDs ¶
func (SRPCCommandRegistryResourceServiceHandler) GetMethodIDs() []string
func (*SRPCCommandRegistryResourceServiceHandler) GetServiceID ¶
func (d *SRPCCommandRegistryResourceServiceHandler) GetServiceID() string
func (*SRPCCommandRegistryResourceServiceHandler) InvokeMethod ¶
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_GetSubItems ¶
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_GetSubItems(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_InvokeCommand ¶
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_InvokeCommand(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_RegisterCommand ¶
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_RegisterCommand(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_SetActive ¶
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_SetActive(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_SetEnabled ¶
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_SetEnabled(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_WatchCommands ¶
func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_WatchCommands(impl SRPCCommandRegistryResourceServiceServer, strm srpc.Stream) error
type SRPCCommandRegistryResourceServiceServer ¶
type SRPCCommandRegistryResourceServiceServer interface {
RegisterCommand(context.Context, *RegisterCommandRequest) (*RegisterCommandResponse, error)
SetActive(context.Context, *SetActiveRequest) (*SetActiveResponse, error)
SetEnabled(context.Context, *SetEnabledRequest) (*SetEnabledResponse, error)
WatchCommands(*WatchCommandsRequest, SRPCCommandRegistryResourceService_WatchCommandsStream) error
GetSubItems(context.Context, *GetSubItemsRequest) (*GetSubItemsResponse, error)
InvokeCommand(context.Context, *InvokeCommandRequest) (*InvokeCommandResponse, error)
}
type SRPCCommandRegistryResourceService_WatchCommandsClient ¶
type SRPCCommandRegistryResourceService_WatchCommandsClient interface {
srpc.Stream
Recv() (*WatchCommandsResponse, error)
RecvTo(*WatchCommandsResponse) error
}
type SRPCCommandRegistryResourceService_WatchCommandsStream ¶
type SRPCCommandRegistryResourceService_WatchCommandsStream interface {
srpc.Stream
Send(*WatchCommandsResponse) error
SendAndClose(*WatchCommandsResponse) error
}
type SetActiveRequest ¶
type SetActiveRequest struct {
// ResourceId is the command registration to update.
ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
// Active is whether the registration is active.
Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
// contains filtered or unexported fields
}
SetActiveRequest is the request for SetActive.
func (*SetActiveRequest) CloneMessageVT ¶
func (m *SetActiveRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SetActiveRequest) CloneVT ¶
func (m *SetActiveRequest) CloneVT() *SetActiveRequest
func (*SetActiveRequest) EqualMessageVT ¶
func (this *SetActiveRequest) EqualMessageVT(thatMsg any) bool
func (*SetActiveRequest) EqualVT ¶
func (this *SetActiveRequest) EqualVT(that *SetActiveRequest) bool
func (*SetActiveRequest) GetActive ¶
func (x *SetActiveRequest) GetActive() bool
func (*SetActiveRequest) GetResourceId ¶
func (x *SetActiveRequest) GetResourceId() uint32
func (*SetActiveRequest) MarshalJSON ¶
func (x *SetActiveRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SetActiveRequest to JSON.
func (*SetActiveRequest) MarshalProtoJSON ¶
func (x *SetActiveRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SetActiveRequest message to JSON.
func (*SetActiveRequest) MarshalProtoText ¶
func (x *SetActiveRequest) MarshalProtoText() string
func (*SetActiveRequest) MarshalToSizedBufferVT ¶
func (m *SetActiveRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetActiveRequest) MarshalToVT ¶
func (m *SetActiveRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SetActiveRequest) MarshalVT ¶
func (m *SetActiveRequest) MarshalVT() (dAtA []byte, err error)
func (*SetActiveRequest) ProtoMessage ¶
func (*SetActiveRequest) ProtoMessage()
func (*SetActiveRequest) Reset ¶
func (x *SetActiveRequest) Reset()
func (*SetActiveRequest) SizeVT ¶
func (m *SetActiveRequest) SizeVT() (n int)
func (*SetActiveRequest) String ¶
func (x *SetActiveRequest) String() string
func (*SetActiveRequest) UnmarshalJSON ¶
func (x *SetActiveRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the SetActiveRequest from JSON.
func (*SetActiveRequest) UnmarshalProtoJSON ¶
func (x *SetActiveRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SetActiveRequest message from JSON.
func (*SetActiveRequest) UnmarshalVT ¶
func (m *SetActiveRequest) UnmarshalVT(dAtA []byte) error
type SetActiveResponse ¶
type SetActiveResponse struct {
// contains filtered or unexported fields
}
SetActiveResponse is the response for SetActive.
func (*SetActiveResponse) CloneMessageVT ¶
func (m *SetActiveResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SetActiveResponse) CloneVT ¶
func (m *SetActiveResponse) CloneVT() *SetActiveResponse
func (*SetActiveResponse) EqualMessageVT ¶
func (this *SetActiveResponse) EqualMessageVT(thatMsg any) bool
func (*SetActiveResponse) EqualVT ¶
func (this *SetActiveResponse) EqualVT(that *SetActiveResponse) bool
func (*SetActiveResponse) MarshalJSON ¶
func (x *SetActiveResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SetActiveResponse to JSON.
func (*SetActiveResponse) MarshalProtoJSON ¶
func (x *SetActiveResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SetActiveResponse message to JSON.
func (*SetActiveResponse) MarshalProtoText ¶
func (x *SetActiveResponse) MarshalProtoText() string
func (*SetActiveResponse) MarshalToSizedBufferVT ¶
func (m *SetActiveResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetActiveResponse) MarshalToVT ¶
func (m *SetActiveResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SetActiveResponse) MarshalVT ¶
func (m *SetActiveResponse) MarshalVT() (dAtA []byte, err error)
func (*SetActiveResponse) ProtoMessage ¶
func (*SetActiveResponse) ProtoMessage()
func (*SetActiveResponse) Reset ¶
func (x *SetActiveResponse) Reset()
func (*SetActiveResponse) SizeVT ¶
func (m *SetActiveResponse) SizeVT() (n int)
func (*SetActiveResponse) String ¶
func (x *SetActiveResponse) String() string
func (*SetActiveResponse) UnmarshalJSON ¶
func (x *SetActiveResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the SetActiveResponse from JSON.
func (*SetActiveResponse) UnmarshalProtoJSON ¶
func (x *SetActiveResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SetActiveResponse message from JSON.
func (*SetActiveResponse) UnmarshalVT ¶
func (m *SetActiveResponse) UnmarshalVT(dAtA []byte) error
type SetEnabledRequest ¶
type SetEnabledRequest struct {
// ResourceId is the command registration to update.
ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
// Enabled is whether the registration is enabled.
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
SetEnabledRequest is the request for SetEnabled.
func (*SetEnabledRequest) CloneMessageVT ¶
func (m *SetEnabledRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SetEnabledRequest) CloneVT ¶
func (m *SetEnabledRequest) CloneVT() *SetEnabledRequest
func (*SetEnabledRequest) EqualMessageVT ¶
func (this *SetEnabledRequest) EqualMessageVT(thatMsg any) bool
func (*SetEnabledRequest) EqualVT ¶
func (this *SetEnabledRequest) EqualVT(that *SetEnabledRequest) bool
func (*SetEnabledRequest) GetEnabled ¶
func (x *SetEnabledRequest) GetEnabled() bool
func (*SetEnabledRequest) GetResourceId ¶
func (x *SetEnabledRequest) GetResourceId() uint32
func (*SetEnabledRequest) MarshalJSON ¶
func (x *SetEnabledRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SetEnabledRequest to JSON.
func (*SetEnabledRequest) MarshalProtoJSON ¶
func (x *SetEnabledRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SetEnabledRequest message to JSON.
func (*SetEnabledRequest) MarshalProtoText ¶
func (x *SetEnabledRequest) MarshalProtoText() string
func (*SetEnabledRequest) MarshalToSizedBufferVT ¶
func (m *SetEnabledRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetEnabledRequest) MarshalToVT ¶
func (m *SetEnabledRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SetEnabledRequest) MarshalVT ¶
func (m *SetEnabledRequest) MarshalVT() (dAtA []byte, err error)
func (*SetEnabledRequest) ProtoMessage ¶
func (*SetEnabledRequest) ProtoMessage()
func (*SetEnabledRequest) Reset ¶
func (x *SetEnabledRequest) Reset()
func (*SetEnabledRequest) SizeVT ¶
func (m *SetEnabledRequest) SizeVT() (n int)
func (*SetEnabledRequest) String ¶
func (x *SetEnabledRequest) String() string
func (*SetEnabledRequest) UnmarshalJSON ¶
func (x *SetEnabledRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the SetEnabledRequest from JSON.
func (*SetEnabledRequest) UnmarshalProtoJSON ¶
func (x *SetEnabledRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SetEnabledRequest message from JSON.
func (*SetEnabledRequest) UnmarshalVT ¶
func (m *SetEnabledRequest) UnmarshalVT(dAtA []byte) error
type SetEnabledResponse ¶
type SetEnabledResponse struct {
// contains filtered or unexported fields
}
SetEnabledResponse is the response for SetEnabled.
func (*SetEnabledResponse) CloneMessageVT ¶
func (m *SetEnabledResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SetEnabledResponse) CloneVT ¶
func (m *SetEnabledResponse) CloneVT() *SetEnabledResponse
func (*SetEnabledResponse) EqualMessageVT ¶
func (this *SetEnabledResponse) EqualMessageVT(thatMsg any) bool
func (*SetEnabledResponse) EqualVT ¶
func (this *SetEnabledResponse) EqualVT(that *SetEnabledResponse) bool
func (*SetEnabledResponse) MarshalJSON ¶
func (x *SetEnabledResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SetEnabledResponse to JSON.
func (*SetEnabledResponse) MarshalProtoJSON ¶
func (x *SetEnabledResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SetEnabledResponse message to JSON.
func (*SetEnabledResponse) MarshalProtoText ¶
func (x *SetEnabledResponse) MarshalProtoText() string
func (*SetEnabledResponse) MarshalToSizedBufferVT ¶
func (m *SetEnabledResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetEnabledResponse) MarshalToVT ¶
func (m *SetEnabledResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SetEnabledResponse) MarshalVT ¶
func (m *SetEnabledResponse) MarshalVT() (dAtA []byte, err error)
func (*SetEnabledResponse) ProtoMessage ¶
func (*SetEnabledResponse) ProtoMessage()
func (*SetEnabledResponse) Reset ¶
func (x *SetEnabledResponse) Reset()
func (*SetEnabledResponse) SizeVT ¶
func (m *SetEnabledResponse) SizeVT() (n int)
func (*SetEnabledResponse) String ¶
func (x *SetEnabledResponse) String() string
func (*SetEnabledResponse) UnmarshalJSON ¶
func (x *SetEnabledResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the SetEnabledResponse from JSON.
func (*SetEnabledResponse) UnmarshalProtoJSON ¶
func (x *SetEnabledResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SetEnabledResponse message from JSON.
func (*SetEnabledResponse) UnmarshalVT ¶
func (m *SetEnabledResponse) UnmarshalVT(dAtA []byte) error
type WatchCommandsRequest ¶
type WatchCommandsRequest struct {
// contains filtered or unexported fields
}
WatchCommandsRequest is the request for WatchCommands.
func (*WatchCommandsRequest) CloneMessageVT ¶
func (m *WatchCommandsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchCommandsRequest) CloneVT ¶
func (m *WatchCommandsRequest) CloneVT() *WatchCommandsRequest
func (*WatchCommandsRequest) EqualMessageVT ¶
func (this *WatchCommandsRequest) EqualMessageVT(thatMsg any) bool
func (*WatchCommandsRequest) EqualVT ¶
func (this *WatchCommandsRequest) EqualVT(that *WatchCommandsRequest) bool
func (*WatchCommandsRequest) MarshalJSON ¶
func (x *WatchCommandsRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchCommandsRequest to JSON.
func (*WatchCommandsRequest) MarshalProtoJSON ¶
func (x *WatchCommandsRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchCommandsRequest message to JSON.
func (*WatchCommandsRequest) MarshalProtoText ¶
func (x *WatchCommandsRequest) MarshalProtoText() string
func (*WatchCommandsRequest) MarshalToSizedBufferVT ¶
func (m *WatchCommandsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchCommandsRequest) MarshalToVT ¶
func (m *WatchCommandsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchCommandsRequest) MarshalVT ¶
func (m *WatchCommandsRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchCommandsRequest) ProtoMessage ¶
func (*WatchCommandsRequest) ProtoMessage()
func (*WatchCommandsRequest) Reset ¶
func (x *WatchCommandsRequest) Reset()
func (*WatchCommandsRequest) SizeVT ¶
func (m *WatchCommandsRequest) SizeVT() (n int)
func (*WatchCommandsRequest) String ¶
func (x *WatchCommandsRequest) String() string
func (*WatchCommandsRequest) UnmarshalJSON ¶
func (x *WatchCommandsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchCommandsRequest from JSON.
func (*WatchCommandsRequest) UnmarshalProtoJSON ¶
func (x *WatchCommandsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchCommandsRequest message from JSON.
func (*WatchCommandsRequest) UnmarshalVT ¶
func (m *WatchCommandsRequest) UnmarshalVT(dAtA []byte) error
type WatchCommandsResponse ¶
type WatchCommandsResponse struct {
// Commands is the full registry of command registrations.
Commands []*CommandState `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
// contains filtered or unexported fields
}
WatchCommandsResponse is the response for WatchCommands.
func (*WatchCommandsResponse) CloneMessageVT ¶
func (m *WatchCommandsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchCommandsResponse) CloneVT ¶
func (m *WatchCommandsResponse) CloneVT() *WatchCommandsResponse
func (*WatchCommandsResponse) EqualMessageVT ¶
func (this *WatchCommandsResponse) EqualMessageVT(thatMsg any) bool
func (*WatchCommandsResponse) EqualVT ¶
func (this *WatchCommandsResponse) EqualVT(that *WatchCommandsResponse) bool
func (*WatchCommandsResponse) GetCommands ¶
func (x *WatchCommandsResponse) GetCommands() []*CommandState
func (*WatchCommandsResponse) MarshalJSON ¶
func (x *WatchCommandsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchCommandsResponse to JSON.
func (*WatchCommandsResponse) MarshalProtoJSON ¶
func (x *WatchCommandsResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchCommandsResponse message to JSON.
func (*WatchCommandsResponse) MarshalProtoText ¶
func (x *WatchCommandsResponse) MarshalProtoText() string
func (*WatchCommandsResponse) MarshalToSizedBufferVT ¶
func (m *WatchCommandsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchCommandsResponse) MarshalToVT ¶
func (m *WatchCommandsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WatchCommandsResponse) MarshalVT ¶
func (m *WatchCommandsResponse) MarshalVT() (dAtA []byte, err error)
func (*WatchCommandsResponse) ProtoMessage ¶
func (*WatchCommandsResponse) ProtoMessage()
func (*WatchCommandsResponse) Reset ¶
func (x *WatchCommandsResponse) Reset()
func (*WatchCommandsResponse) SizeVT ¶
func (m *WatchCommandsResponse) SizeVT() (n int)
func (*WatchCommandsResponse) String ¶
func (x *WatchCommandsResponse) String() string
func (*WatchCommandsResponse) UnmarshalJSON ¶
func (x *WatchCommandsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchCommandsResponse from JSON.
func (*WatchCommandsResponse) UnmarshalProtoJSON ¶
func (x *WatchCommandsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchCommandsResponse message from JSON.
func (*WatchCommandsResponse) UnmarshalVT ¶
func (m *WatchCommandsResponse) UnmarshalVT(dAtA []byte) error