Documentation
¶
Index ¶
- Constants
- func NewSRPCDesktopControlServiceHandler(impl SRPCDesktopControlServiceServer, serviceID string) srpc.Handler
- func SRPCRegisterDesktopControlService(mux srpc.Mux, impl SRPCDesktopControlServiceServer) error
- type OpenOrFocusDesktopRequest
- func (m *OpenOrFocusDesktopRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OpenOrFocusDesktopRequest) CloneVT() *OpenOrFocusDesktopRequest
- func (this *OpenOrFocusDesktopRequest) EqualMessageVT(thatMsg any) bool
- func (this *OpenOrFocusDesktopRequest) EqualVT(that *OpenOrFocusDesktopRequest) bool
- func (x *OpenOrFocusDesktopRequest) GetInstalledApp() string
- func (x *OpenOrFocusDesktopRequest) GetRoute() string
- func (x *OpenOrFocusDesktopRequest) MarshalJSON() ([]byte, error)
- func (x *OpenOrFocusDesktopRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *OpenOrFocusDesktopRequest) MarshalProtoText() string
- func (m *OpenOrFocusDesktopRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OpenOrFocusDesktopRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *OpenOrFocusDesktopRequest) MarshalVT() (dAtA []byte, err error)
- func (*OpenOrFocusDesktopRequest) ProtoMessage()
- func (x *OpenOrFocusDesktopRequest) Reset()
- func (m *OpenOrFocusDesktopRequest) SizeVT() (n int)
- func (x *OpenOrFocusDesktopRequest) String() string
- func (x *OpenOrFocusDesktopRequest) UnmarshalJSON(b []byte) error
- func (x *OpenOrFocusDesktopRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *OpenOrFocusDesktopRequest) UnmarshalVT(dAtA []byte) error
- type OpenOrFocusDesktopResponse
- func (m *OpenOrFocusDesktopResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OpenOrFocusDesktopResponse) CloneVT() *OpenOrFocusDesktopResponse
- func (this *OpenOrFocusDesktopResponse) EqualMessageVT(thatMsg any) bool
- func (this *OpenOrFocusDesktopResponse) EqualVT(that *OpenOrFocusDesktopResponse) bool
- func (x *OpenOrFocusDesktopResponse) GetDaemonExecutable() string
- func (x *OpenOrFocusDesktopResponse) GetDaemonPid() int64
- func (x *OpenOrFocusDesktopResponse) GetDaemonRelease() string
- func (x *OpenOrFocusDesktopResponse) GetUiManifestRef() string
- func (x *OpenOrFocusDesktopResponse) MarshalJSON() ([]byte, error)
- func (x *OpenOrFocusDesktopResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *OpenOrFocusDesktopResponse) MarshalProtoText() string
- func (m *OpenOrFocusDesktopResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OpenOrFocusDesktopResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *OpenOrFocusDesktopResponse) MarshalVT() (dAtA []byte, err error)
- func (*OpenOrFocusDesktopResponse) ProtoMessage()
- func (x *OpenOrFocusDesktopResponse) Reset()
- func (m *OpenOrFocusDesktopResponse) SizeVT() (n int)
- func (x *OpenOrFocusDesktopResponse) String() string
- func (x *OpenOrFocusDesktopResponse) UnmarshalJSON(b []byte) error
- func (x *OpenOrFocusDesktopResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *OpenOrFocusDesktopResponse) UnmarshalVT(dAtA []byte) error
- type QuitDesktopRequest
- func (m *QuitDesktopRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *QuitDesktopRequest) CloneVT() *QuitDesktopRequest
- func (this *QuitDesktopRequest) EqualMessageVT(thatMsg any) bool
- func (this *QuitDesktopRequest) EqualVT(that *QuitDesktopRequest) bool
- func (x *QuitDesktopRequest) MarshalJSON() ([]byte, error)
- func (x *QuitDesktopRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *QuitDesktopRequest) MarshalProtoText() string
- func (m *QuitDesktopRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QuitDesktopRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *QuitDesktopRequest) MarshalVT() (dAtA []byte, err error)
- func (*QuitDesktopRequest) ProtoMessage()
- func (x *QuitDesktopRequest) Reset()
- func (m *QuitDesktopRequest) SizeVT() (n int)
- func (x *QuitDesktopRequest) String() string
- func (x *QuitDesktopRequest) UnmarshalJSON(b []byte) error
- func (x *QuitDesktopRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *QuitDesktopRequest) UnmarshalVT(dAtA []byte) error
- type QuitDesktopResponse
- func (m *QuitDesktopResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *QuitDesktopResponse) CloneVT() *QuitDesktopResponse
- func (this *QuitDesktopResponse) EqualMessageVT(thatMsg any) bool
- func (this *QuitDesktopResponse) EqualVT(that *QuitDesktopResponse) bool
- func (x *QuitDesktopResponse) GetOtherClients() int64
- func (x *QuitDesktopResponse) GetOtherServices() int64
- func (x *QuitDesktopResponse) MarshalJSON() ([]byte, error)
- func (x *QuitDesktopResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *QuitDesktopResponse) MarshalProtoText() string
- func (m *QuitDesktopResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QuitDesktopResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *QuitDesktopResponse) MarshalVT() (dAtA []byte, err error)
- func (*QuitDesktopResponse) ProtoMessage()
- func (x *QuitDesktopResponse) Reset()
- func (m *QuitDesktopResponse) SizeVT() (n int)
- func (x *QuitDesktopResponse) String() string
- func (x *QuitDesktopResponse) UnmarshalJSON(b []byte) error
- func (x *QuitDesktopResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *QuitDesktopResponse) UnmarshalVT(dAtA []byte) error
- type SRPCDesktopControlServiceClient
- type SRPCDesktopControlServiceHandler
- func (SRPCDesktopControlServiceHandler) GetMethodIDs() []string
- func (d *SRPCDesktopControlServiceHandler) GetServiceID() string
- func (d *SRPCDesktopControlServiceHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCDesktopControlServiceHandler) InvokeMethod_OpenOrFocusDesktop(impl SRPCDesktopControlServiceServer, strm srpc.Stream) error
- func (SRPCDesktopControlServiceHandler) InvokeMethod_QuitDesktop(impl SRPCDesktopControlServiceServer, strm srpc.Stream) error
- func (SRPCDesktopControlServiceHandler) InvokeMethod_WatchDesktopStatus(impl SRPCDesktopControlServiceServer, strm srpc.Stream) error
- type SRPCDesktopControlServiceServer
- type SRPCDesktopControlService_OpenOrFocusDesktopStream
- type SRPCDesktopControlService_QuitDesktopStream
- type SRPCDesktopControlService_WatchDesktopStatusClient
- type SRPCDesktopControlService_WatchDesktopStatusStream
- type WatchDesktopStatusRequest
- func (m *WatchDesktopStatusRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchDesktopStatusRequest) CloneVT() *WatchDesktopStatusRequest
- func (this *WatchDesktopStatusRequest) EqualMessageVT(thatMsg any) bool
- func (this *WatchDesktopStatusRequest) EqualVT(that *WatchDesktopStatusRequest) bool
- func (x *WatchDesktopStatusRequest) MarshalJSON() ([]byte, error)
- func (x *WatchDesktopStatusRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchDesktopStatusRequest) MarshalProtoText() string
- func (m *WatchDesktopStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchDesktopStatusRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchDesktopStatusRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchDesktopStatusRequest) ProtoMessage()
- func (x *WatchDesktopStatusRequest) Reset()
- func (m *WatchDesktopStatusRequest) SizeVT() (n int)
- func (x *WatchDesktopStatusRequest) String() string
- func (x *WatchDesktopStatusRequest) UnmarshalJSON(b []byte) error
- func (x *WatchDesktopStatusRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchDesktopStatusRequest) UnmarshalVT(dAtA []byte) error
- type WatchDesktopStatusResponse
- func (m *WatchDesktopStatusResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchDesktopStatusResponse) CloneVT() *WatchDesktopStatusResponse
- func (this *WatchDesktopStatusResponse) EqualMessageVT(thatMsg any) bool
- func (this *WatchDesktopStatusResponse) EqualVT(that *WatchDesktopStatusResponse) bool
- func (x *WatchDesktopStatusResponse) GetFailure() string
- func (x *WatchDesktopStatusResponse) GetGeneration() uint64
- func (x *WatchDesktopStatusResponse) GetPresence() *plugin.WatchDesktopPresenceResponse
- func (x *WatchDesktopStatusResponse) MarshalJSON() ([]byte, error)
- func (x *WatchDesktopStatusResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchDesktopStatusResponse) MarshalProtoText() string
- func (m *WatchDesktopStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchDesktopStatusResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchDesktopStatusResponse) MarshalVT() (dAtA []byte, err error)
- func (*WatchDesktopStatusResponse) ProtoMessage()
- func (x *WatchDesktopStatusResponse) Reset()
- func (m *WatchDesktopStatusResponse) SizeVT() (n int)
- func (x *WatchDesktopStatusResponse) String() string
- func (x *WatchDesktopStatusResponse) UnmarshalJSON(b []byte) error
- func (x *WatchDesktopStatusResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchDesktopStatusResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const SRPCDesktopControlServiceServiceID = "bldr.desktop.control.DesktopControlService"
Variables ¶
This section is empty.
Functions ¶
func NewSRPCDesktopControlServiceHandler ¶
func NewSRPCDesktopControlServiceHandler(impl SRPCDesktopControlServiceServer, serviceID string) srpc.Handler
NewSRPCDesktopControlServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: bldr.desktop.control.DesktopControlService
func SRPCRegisterDesktopControlService ¶
func SRPCRegisterDesktopControlService(mux srpc.Mux, impl SRPCDesktopControlServiceServer) error
SRPCRegisterDesktopControlService registers the implementation with the mux. Uses the default serviceID: bldr.desktop.control.DesktopControlService
Types ¶
type OpenOrFocusDesktopRequest ¶
type OpenOrFocusDesktopRequest struct {
// Route is the optional application route to open.
Route string `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
// InstalledApp is the application bundle that requested the desktop.
// Desktop app updates replace this bundle; empty when not launched from one.
InstalledApp string `protobuf:"bytes,2,opt,name=installed_app,json=installedApp,proto3" json:"installedApp,omitempty"`
// contains filtered or unexported fields
}
OpenOrFocusDesktopRequest selects the initial route in the desktop.
func (*OpenOrFocusDesktopRequest) CloneMessageVT ¶
func (m *OpenOrFocusDesktopRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OpenOrFocusDesktopRequest) CloneVT ¶
func (m *OpenOrFocusDesktopRequest) CloneVT() *OpenOrFocusDesktopRequest
func (*OpenOrFocusDesktopRequest) EqualMessageVT ¶
func (this *OpenOrFocusDesktopRequest) EqualMessageVT(thatMsg any) bool
func (*OpenOrFocusDesktopRequest) EqualVT ¶
func (this *OpenOrFocusDesktopRequest) EqualVT(that *OpenOrFocusDesktopRequest) bool
func (*OpenOrFocusDesktopRequest) GetInstalledApp ¶
func (x *OpenOrFocusDesktopRequest) GetInstalledApp() string
func (*OpenOrFocusDesktopRequest) GetRoute ¶
func (x *OpenOrFocusDesktopRequest) GetRoute() string
func (*OpenOrFocusDesktopRequest) MarshalJSON ¶
func (x *OpenOrFocusDesktopRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the OpenOrFocusDesktopRequest to JSON.
func (*OpenOrFocusDesktopRequest) MarshalProtoJSON ¶
func (x *OpenOrFocusDesktopRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the OpenOrFocusDesktopRequest message to JSON.
func (*OpenOrFocusDesktopRequest) MarshalProtoText ¶
func (x *OpenOrFocusDesktopRequest) MarshalProtoText() string
func (*OpenOrFocusDesktopRequest) MarshalToSizedBufferVT ¶
func (m *OpenOrFocusDesktopRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OpenOrFocusDesktopRequest) MarshalToVT ¶
func (m *OpenOrFocusDesktopRequest) MarshalToVT(dAtA []byte) (int, error)
func (*OpenOrFocusDesktopRequest) MarshalVT ¶
func (m *OpenOrFocusDesktopRequest) MarshalVT() (dAtA []byte, err error)
func (*OpenOrFocusDesktopRequest) ProtoMessage ¶
func (*OpenOrFocusDesktopRequest) ProtoMessage()
func (*OpenOrFocusDesktopRequest) Reset ¶
func (x *OpenOrFocusDesktopRequest) Reset()
func (*OpenOrFocusDesktopRequest) SizeVT ¶
func (m *OpenOrFocusDesktopRequest) SizeVT() (n int)
func (*OpenOrFocusDesktopRequest) String ¶
func (x *OpenOrFocusDesktopRequest) String() string
func (*OpenOrFocusDesktopRequest) UnmarshalJSON ¶
func (x *OpenOrFocusDesktopRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the OpenOrFocusDesktopRequest from JSON.
func (*OpenOrFocusDesktopRequest) UnmarshalProtoJSON ¶
func (x *OpenOrFocusDesktopRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the OpenOrFocusDesktopRequest message from JSON.
func (*OpenOrFocusDesktopRequest) UnmarshalVT ¶
func (m *OpenOrFocusDesktopRequest) UnmarshalVT(dAtA []byte) error
type OpenOrFocusDesktopResponse ¶
type OpenOrFocusDesktopResponse struct {
// DaemonPid identifies the running daemon process.
DaemonPid int64 `protobuf:"varint,1,opt,name=daemon_pid,json=daemonPid,proto3" json:"daemonPid,omitempty"`
// DaemonExecutable is the running daemon's executable path.
DaemonExecutable string `protobuf:"bytes,2,opt,name=daemon_executable,json=daemonExecutable,proto3" json:"daemonExecutable,omitempty"`
// DaemonRelease is the application release embedded in the running executable.
DaemonRelease string `protobuf:"bytes,3,opt,name=daemon_release,json=daemonRelease,proto3" json:"daemonRelease,omitempty"`
// UiManifestRef identifies the selected web plugin artifact.
UiManifestRef string `protobuf:"bytes,4,opt,name=ui_manifest_ref,json=uiManifestRef,proto3" json:"uiManifestRef,omitempty"`
// contains filtered or unexported fields
}
OpenOrFocusDesktopResponse identifies the daemon and UI artifact that opened.
func (*OpenOrFocusDesktopResponse) CloneMessageVT ¶
func (m *OpenOrFocusDesktopResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OpenOrFocusDesktopResponse) CloneVT ¶
func (m *OpenOrFocusDesktopResponse) CloneVT() *OpenOrFocusDesktopResponse
func (*OpenOrFocusDesktopResponse) EqualMessageVT ¶
func (this *OpenOrFocusDesktopResponse) EqualMessageVT(thatMsg any) bool
func (*OpenOrFocusDesktopResponse) EqualVT ¶
func (this *OpenOrFocusDesktopResponse) EqualVT(that *OpenOrFocusDesktopResponse) bool
func (*OpenOrFocusDesktopResponse) GetDaemonExecutable ¶
func (x *OpenOrFocusDesktopResponse) GetDaemonExecutable() string
func (*OpenOrFocusDesktopResponse) GetDaemonPid ¶
func (x *OpenOrFocusDesktopResponse) GetDaemonPid() int64
func (*OpenOrFocusDesktopResponse) GetDaemonRelease ¶
func (x *OpenOrFocusDesktopResponse) GetDaemonRelease() string
func (*OpenOrFocusDesktopResponse) GetUiManifestRef ¶
func (x *OpenOrFocusDesktopResponse) GetUiManifestRef() string
func (*OpenOrFocusDesktopResponse) MarshalJSON ¶
func (x *OpenOrFocusDesktopResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the OpenOrFocusDesktopResponse to JSON.
func (*OpenOrFocusDesktopResponse) MarshalProtoJSON ¶
func (x *OpenOrFocusDesktopResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the OpenOrFocusDesktopResponse message to JSON.
func (*OpenOrFocusDesktopResponse) MarshalProtoText ¶
func (x *OpenOrFocusDesktopResponse) MarshalProtoText() string
func (*OpenOrFocusDesktopResponse) MarshalToSizedBufferVT ¶
func (m *OpenOrFocusDesktopResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OpenOrFocusDesktopResponse) MarshalToVT ¶
func (m *OpenOrFocusDesktopResponse) MarshalToVT(dAtA []byte) (int, error)
func (*OpenOrFocusDesktopResponse) MarshalVT ¶
func (m *OpenOrFocusDesktopResponse) MarshalVT() (dAtA []byte, err error)
func (*OpenOrFocusDesktopResponse) ProtoMessage ¶
func (*OpenOrFocusDesktopResponse) ProtoMessage()
func (*OpenOrFocusDesktopResponse) Reset ¶
func (x *OpenOrFocusDesktopResponse) Reset()
func (*OpenOrFocusDesktopResponse) SizeVT ¶
func (m *OpenOrFocusDesktopResponse) SizeVT() (n int)
func (*OpenOrFocusDesktopResponse) String ¶
func (x *OpenOrFocusDesktopResponse) String() string
func (*OpenOrFocusDesktopResponse) UnmarshalJSON ¶
func (x *OpenOrFocusDesktopResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the OpenOrFocusDesktopResponse from JSON.
func (*OpenOrFocusDesktopResponse) UnmarshalProtoJSON ¶
func (x *OpenOrFocusDesktopResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the OpenOrFocusDesktopResponse message from JSON.
func (*OpenOrFocusDesktopResponse) UnmarshalVT ¶
func (m *OpenOrFocusDesktopResponse) UnmarshalVT(dAtA []byte) error
type QuitDesktopRequest ¶
type QuitDesktopRequest struct {
// contains filtered or unexported fields
}
QuitDesktopRequest asks the daemon to stop after this desktop shell exits if unused.
func (*QuitDesktopRequest) CloneMessageVT ¶
func (m *QuitDesktopRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*QuitDesktopRequest) CloneVT ¶
func (m *QuitDesktopRequest) CloneVT() *QuitDesktopRequest
func (*QuitDesktopRequest) EqualMessageVT ¶
func (this *QuitDesktopRequest) EqualMessageVT(thatMsg any) bool
func (*QuitDesktopRequest) EqualVT ¶
func (this *QuitDesktopRequest) EqualVT(that *QuitDesktopRequest) bool
func (*QuitDesktopRequest) MarshalJSON ¶
func (x *QuitDesktopRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the QuitDesktopRequest to JSON.
func (*QuitDesktopRequest) MarshalProtoJSON ¶
func (x *QuitDesktopRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the QuitDesktopRequest message to JSON.
func (*QuitDesktopRequest) MarshalProtoText ¶
func (x *QuitDesktopRequest) MarshalProtoText() string
func (*QuitDesktopRequest) MarshalToSizedBufferVT ¶
func (m *QuitDesktopRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QuitDesktopRequest) MarshalToVT ¶
func (m *QuitDesktopRequest) MarshalToVT(dAtA []byte) (int, error)
func (*QuitDesktopRequest) MarshalVT ¶
func (m *QuitDesktopRequest) MarshalVT() (dAtA []byte, err error)
func (*QuitDesktopRequest) ProtoMessage ¶
func (*QuitDesktopRequest) ProtoMessage()
func (*QuitDesktopRequest) Reset ¶
func (x *QuitDesktopRequest) Reset()
func (*QuitDesktopRequest) SizeVT ¶
func (m *QuitDesktopRequest) SizeVT() (n int)
func (*QuitDesktopRequest) String ¶
func (x *QuitDesktopRequest) String() string
func (*QuitDesktopRequest) UnmarshalJSON ¶
func (x *QuitDesktopRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the QuitDesktopRequest from JSON.
func (*QuitDesktopRequest) UnmarshalProtoJSON ¶
func (x *QuitDesktopRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the QuitDesktopRequest message from JSON.
func (*QuitDesktopRequest) UnmarshalVT ¶
func (m *QuitDesktopRequest) UnmarshalVT(dAtA []byte) error
type QuitDesktopResponse ¶
type QuitDesktopResponse struct {
// OtherClients counts admitted Resource connections apart from the requester.
OtherClients int64 `protobuf:"varint,1,opt,name=other_clients,json=otherClients,proto3" json:"otherClients,omitempty"`
// OtherServices counts persistent services apart from this desktop shell.
OtherServices int64 `protobuf:"varint,2,opt,name=other_services,json=otherServices,proto3" json:"otherServices,omitempty"`
// contains filtered or unexported fields
}
QuitDesktopResponse reports demand outside this shell and the requesting connection.
func (*QuitDesktopResponse) CloneMessageVT ¶
func (m *QuitDesktopResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*QuitDesktopResponse) CloneVT ¶
func (m *QuitDesktopResponse) CloneVT() *QuitDesktopResponse
func (*QuitDesktopResponse) EqualMessageVT ¶
func (this *QuitDesktopResponse) EqualMessageVT(thatMsg any) bool
func (*QuitDesktopResponse) EqualVT ¶
func (this *QuitDesktopResponse) EqualVT(that *QuitDesktopResponse) bool
func (*QuitDesktopResponse) GetOtherClients ¶
func (x *QuitDesktopResponse) GetOtherClients() int64
func (*QuitDesktopResponse) GetOtherServices ¶
func (x *QuitDesktopResponse) GetOtherServices() int64
func (*QuitDesktopResponse) MarshalJSON ¶
func (x *QuitDesktopResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the QuitDesktopResponse to JSON.
func (*QuitDesktopResponse) MarshalProtoJSON ¶
func (x *QuitDesktopResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the QuitDesktopResponse message to JSON.
func (*QuitDesktopResponse) MarshalProtoText ¶
func (x *QuitDesktopResponse) MarshalProtoText() string
func (*QuitDesktopResponse) MarshalToSizedBufferVT ¶
func (m *QuitDesktopResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QuitDesktopResponse) MarshalToVT ¶
func (m *QuitDesktopResponse) MarshalToVT(dAtA []byte) (int, error)
func (*QuitDesktopResponse) MarshalVT ¶
func (m *QuitDesktopResponse) MarshalVT() (dAtA []byte, err error)
func (*QuitDesktopResponse) ProtoMessage ¶
func (*QuitDesktopResponse) ProtoMessage()
func (*QuitDesktopResponse) Reset ¶
func (x *QuitDesktopResponse) Reset()
func (*QuitDesktopResponse) SizeVT ¶
func (m *QuitDesktopResponse) SizeVT() (n int)
func (*QuitDesktopResponse) String ¶
func (x *QuitDesktopResponse) String() string
func (*QuitDesktopResponse) UnmarshalJSON ¶
func (x *QuitDesktopResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the QuitDesktopResponse from JSON.
func (*QuitDesktopResponse) UnmarshalProtoJSON ¶
func (x *QuitDesktopResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the QuitDesktopResponse message from JSON.
func (*QuitDesktopResponse) UnmarshalVT ¶
func (m *QuitDesktopResponse) UnmarshalVT(dAtA []byte) error
type SRPCDesktopControlServiceClient ¶
type SRPCDesktopControlServiceClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
// OpenOrFocusDesktop opens or focuses the daemon's selected desktop.
OpenOrFocusDesktop(ctx context.Context, in *OpenOrFocusDesktopRequest) (*OpenOrFocusDesktopResponse, error)
// QuitDesktop records explicit Quit for the current shell and reports work that will retain the daemon.
QuitDesktop(ctx context.Context, in *QuitDesktopRequest) (*QuitDesktopResponse, error)
// WatchDesktopStatus sends current desktop status and subsequent changes without owning the shell.
WatchDesktopStatus(ctx context.Context, in *WatchDesktopStatusRequest) (SRPCDesktopControlService_WatchDesktopStatusClient, error)
}
func NewSRPCDesktopControlServiceClient ¶
func NewSRPCDesktopControlServiceClient(cc srpc.Client) SRPCDesktopControlServiceClient
func NewSRPCDesktopControlServiceClientWithServiceID ¶
func NewSRPCDesktopControlServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCDesktopControlServiceClient
type SRPCDesktopControlServiceHandler ¶
type SRPCDesktopControlServiceHandler struct {
// contains filtered or unexported fields
}
func (SRPCDesktopControlServiceHandler) GetMethodIDs ¶
func (SRPCDesktopControlServiceHandler) GetMethodIDs() []string
func (*SRPCDesktopControlServiceHandler) GetServiceID ¶
func (d *SRPCDesktopControlServiceHandler) GetServiceID() string
func (*SRPCDesktopControlServiceHandler) InvokeMethod ¶
func (SRPCDesktopControlServiceHandler) InvokeMethod_OpenOrFocusDesktop ¶
func (SRPCDesktopControlServiceHandler) InvokeMethod_OpenOrFocusDesktop(impl SRPCDesktopControlServiceServer, strm srpc.Stream) error
func (SRPCDesktopControlServiceHandler) InvokeMethod_QuitDesktop ¶
func (SRPCDesktopControlServiceHandler) InvokeMethod_QuitDesktop(impl SRPCDesktopControlServiceServer, strm srpc.Stream) error
func (SRPCDesktopControlServiceHandler) InvokeMethod_WatchDesktopStatus ¶
func (SRPCDesktopControlServiceHandler) InvokeMethod_WatchDesktopStatus(impl SRPCDesktopControlServiceServer, strm srpc.Stream) error
type SRPCDesktopControlServiceServer ¶
type SRPCDesktopControlServiceServer interface {
// OpenOrFocusDesktop opens or focuses the daemon's selected desktop.
OpenOrFocusDesktop(context.Context, *OpenOrFocusDesktopRequest) (*OpenOrFocusDesktopResponse, error)
// QuitDesktop records explicit Quit for the current shell and reports work that will retain the daemon.
QuitDesktop(context.Context, *QuitDesktopRequest) (*QuitDesktopResponse, error)
// WatchDesktopStatus sends current desktop status and subsequent changes without owning the shell.
WatchDesktopStatus(*WatchDesktopStatusRequest, SRPCDesktopControlService_WatchDesktopStatusStream) error
}
type SRPCDesktopControlService_WatchDesktopStatusClient ¶
type SRPCDesktopControlService_WatchDesktopStatusClient interface {
srpc.Stream
Recv() (*WatchDesktopStatusResponse, error)
RecvTo(*WatchDesktopStatusResponse) error
}
type SRPCDesktopControlService_WatchDesktopStatusStream ¶
type SRPCDesktopControlService_WatchDesktopStatusStream interface {
srpc.Stream
Send(*WatchDesktopStatusResponse) error
SendAndClose(*WatchDesktopStatusResponse) error
}
type WatchDesktopStatusRequest ¶
type WatchDesktopStatusRequest struct {
// contains filtered or unexported fields
}
WatchDesktopStatusRequest subscribes to the daemon's desktop observation.
func (*WatchDesktopStatusRequest) CloneMessageVT ¶
func (m *WatchDesktopStatusRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchDesktopStatusRequest) CloneVT ¶
func (m *WatchDesktopStatusRequest) CloneVT() *WatchDesktopStatusRequest
func (*WatchDesktopStatusRequest) EqualMessageVT ¶
func (this *WatchDesktopStatusRequest) EqualMessageVT(thatMsg any) bool
func (*WatchDesktopStatusRequest) EqualVT ¶
func (this *WatchDesktopStatusRequest) EqualVT(that *WatchDesktopStatusRequest) bool
func (*WatchDesktopStatusRequest) MarshalJSON ¶
func (x *WatchDesktopStatusRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchDesktopStatusRequest to JSON.
func (*WatchDesktopStatusRequest) MarshalProtoJSON ¶
func (x *WatchDesktopStatusRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchDesktopStatusRequest message to JSON.
func (*WatchDesktopStatusRequest) MarshalProtoText ¶
func (x *WatchDesktopStatusRequest) MarshalProtoText() string
func (*WatchDesktopStatusRequest) MarshalToSizedBufferVT ¶
func (m *WatchDesktopStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchDesktopStatusRequest) MarshalToVT ¶
func (m *WatchDesktopStatusRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchDesktopStatusRequest) MarshalVT ¶
func (m *WatchDesktopStatusRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchDesktopStatusRequest) ProtoMessage ¶
func (*WatchDesktopStatusRequest) ProtoMessage()
func (*WatchDesktopStatusRequest) Reset ¶
func (x *WatchDesktopStatusRequest) Reset()
func (*WatchDesktopStatusRequest) SizeVT ¶
func (m *WatchDesktopStatusRequest) SizeVT() (n int)
func (*WatchDesktopStatusRequest) String ¶
func (x *WatchDesktopStatusRequest) String() string
func (*WatchDesktopStatusRequest) UnmarshalJSON ¶
func (x *WatchDesktopStatusRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchDesktopStatusRequest from JSON.
func (*WatchDesktopStatusRequest) UnmarshalProtoJSON ¶
func (x *WatchDesktopStatusRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchDesktopStatusRequest message from JSON.
func (*WatchDesktopStatusRequest) UnmarshalVT ¶
func (m *WatchDesktopStatusRequest) UnmarshalVT(dAtA []byte) error
type WatchDesktopStatusResponse ¶
type WatchDesktopStatusResponse struct {
// Generation identifies the shell in the selected web plugin; zero means none has opened.
Generation uint64 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"`
// Presence is the Electron owner's last observation, absent until confirmed.
// ACTIVE confirms open readiness; ENDED confirms exit, with Error distinguishing failure.
Presence *plugin.WatchDesktopPresenceResponse `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"`
// Failure reports an operation, observation, or busy Quit outcome, not proof of shell exit.
// An observation failure preserves Presence and the daemon's service demand.
Failure string `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
// contains filtered or unexported fields
}
WatchDesktopStatusResponse survives launcher disconnection and is replayed to new subscribers.
func (*WatchDesktopStatusResponse) CloneMessageVT ¶
func (m *WatchDesktopStatusResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchDesktopStatusResponse) CloneVT ¶
func (m *WatchDesktopStatusResponse) CloneVT() *WatchDesktopStatusResponse
func (*WatchDesktopStatusResponse) EqualMessageVT ¶
func (this *WatchDesktopStatusResponse) EqualMessageVT(thatMsg any) bool
func (*WatchDesktopStatusResponse) EqualVT ¶
func (this *WatchDesktopStatusResponse) EqualVT(that *WatchDesktopStatusResponse) bool
func (*WatchDesktopStatusResponse) GetFailure ¶
func (x *WatchDesktopStatusResponse) GetFailure() string
func (*WatchDesktopStatusResponse) GetGeneration ¶
func (x *WatchDesktopStatusResponse) GetGeneration() uint64
func (*WatchDesktopStatusResponse) GetPresence ¶
func (x *WatchDesktopStatusResponse) GetPresence() *plugin.WatchDesktopPresenceResponse
func (*WatchDesktopStatusResponse) MarshalJSON ¶
func (x *WatchDesktopStatusResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchDesktopStatusResponse to JSON.
func (*WatchDesktopStatusResponse) MarshalProtoJSON ¶
func (x *WatchDesktopStatusResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchDesktopStatusResponse message to JSON.
func (*WatchDesktopStatusResponse) MarshalProtoText ¶
func (x *WatchDesktopStatusResponse) MarshalProtoText() string
func (*WatchDesktopStatusResponse) MarshalToSizedBufferVT ¶
func (m *WatchDesktopStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchDesktopStatusResponse) MarshalToVT ¶
func (m *WatchDesktopStatusResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WatchDesktopStatusResponse) MarshalVT ¶
func (m *WatchDesktopStatusResponse) MarshalVT() (dAtA []byte, err error)
func (*WatchDesktopStatusResponse) ProtoMessage ¶
func (*WatchDesktopStatusResponse) ProtoMessage()
func (*WatchDesktopStatusResponse) Reset ¶
func (x *WatchDesktopStatusResponse) Reset()
func (*WatchDesktopStatusResponse) SizeVT ¶
func (m *WatchDesktopStatusResponse) SizeVT() (n int)
func (*WatchDesktopStatusResponse) String ¶
func (x *WatchDesktopStatusResponse) String() string
func (*WatchDesktopStatusResponse) UnmarshalJSON ¶
func (x *WatchDesktopStatusResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchDesktopStatusResponse from JSON.
func (*WatchDesktopStatusResponse) UnmarshalProtoJSON ¶
func (x *WatchDesktopStatusResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchDesktopStatusResponse message from JSON.
func (*WatchDesktopStatusResponse) UnmarshalVT ¶
func (m *WatchDesktopStatusResponse) UnmarshalVT(dAtA []byte) error