Documentation
¶
Index ¶
- Constants
- Variables
- func NewSRPCWebPluginHandler(impl SRPCWebPluginServer, serviceID string) srpc.Handler
- func SRPCRegisterWebPlugin(mux srpc.Mux, impl SRPCWebPluginServer) error
- type Desktop
- type DesktopPresenceState
- func (x DesktopPresenceState) Enum() *DesktopPresenceState
- func (x DesktopPresenceState) MarshalJSON() ([]byte, error)
- func (x DesktopPresenceState) MarshalProtoJSON(s *json.MarshalState)
- func (x DesktopPresenceState) MarshalProtoText() string
- func (x DesktopPresenceState) MarshalText() ([]byte, error)
- func (x DesktopPresenceState) String() string
- func (x *DesktopPresenceState) UnmarshalJSON(b []byte) error
- func (x *DesktopPresenceState) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *DesktopPresenceState) UnmarshalText(b []byte) error
- type HandleRpcViaPluginRequest
- func (m *HandleRpcViaPluginRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleRpcViaPluginRequest) CloneVT() *HandleRpcViaPluginRequest
- func (this *HandleRpcViaPluginRequest) EqualMessageVT(thatMsg any) bool
- func (this *HandleRpcViaPluginRequest) EqualVT(that *HandleRpcViaPluginRequest) bool
- func (x *HandleRpcViaPluginRequest) GetBackoff() *backoff.Backoff
- func (x *HandleRpcViaPluginRequest) GetHandlePluginId() string
- func (x *HandleRpcViaPluginRequest) GetServerIdRe() string
- func (x *HandleRpcViaPluginRequest) GetServiceIdRe() string
- func (x *HandleRpcViaPluginRequest) MarshalJSON() ([]byte, error)
- func (x *HandleRpcViaPluginRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleRpcViaPluginRequest) MarshalProtoText() string
- func (m *HandleRpcViaPluginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleRpcViaPluginRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleRpcViaPluginRequest) MarshalVT() (dAtA []byte, err error)
- func (*HandleRpcViaPluginRequest) ProtoMessage()
- func (x *HandleRpcViaPluginRequest) Reset()
- func (m *HandleRpcViaPluginRequest) SizeVT() (n int)
- func (x *HandleRpcViaPluginRequest) String() string
- func (x *HandleRpcViaPluginRequest) UnmarshalJSON(b []byte) error
- func (x *HandleRpcViaPluginRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleRpcViaPluginRequest) UnmarshalVT(dAtA []byte) error
- func (m *HandleRpcViaPluginRequest) Validate() error
- type HandleRpcViaPluginResponse
- func (m *HandleRpcViaPluginResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleRpcViaPluginResponse) CloneVT() *HandleRpcViaPluginResponse
- func (this *HandleRpcViaPluginResponse) EqualMessageVT(thatMsg any) bool
- func (this *HandleRpcViaPluginResponse) EqualVT(that *HandleRpcViaPluginResponse) bool
- func (m *HandleRpcViaPluginResponse) GetBody() isHandleRpcViaPluginResponse_Body
- func (x *HandleRpcViaPluginResponse) GetReady() bool
- func (x *HandleRpcViaPluginResponse) MarshalJSON() ([]byte, error)
- func (x *HandleRpcViaPluginResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleRpcViaPluginResponse) MarshalProtoText() string
- func (m *HandleRpcViaPluginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleRpcViaPluginResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleRpcViaPluginResponse) MarshalVT() (dAtA []byte, err error)
- func (*HandleRpcViaPluginResponse) ProtoMessage()
- func (x *HandleRpcViaPluginResponse) Reset()
- func (m *HandleRpcViaPluginResponse) SizeVT() (n int)
- func (x *HandleRpcViaPluginResponse) String() string
- func (x *HandleRpcViaPluginResponse) UnmarshalJSON(b []byte) error
- func (x *HandleRpcViaPluginResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleRpcViaPluginResponse) UnmarshalVT(dAtA []byte) error
- type HandleRpcViaPluginResponse_Ready
- func (m *HandleRpcViaPluginResponse_Ready) CloneOneofVT() isHandleRpcViaPluginResponse_Body
- func (m *HandleRpcViaPluginResponse_Ready) CloneVT() *HandleRpcViaPluginResponse_Ready
- func (this *HandleRpcViaPluginResponse_Ready) EqualVT(thatIface isHandleRpcViaPluginResponse_Body) bool
- func (m *HandleRpcViaPluginResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleRpcViaPluginResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleRpcViaPluginResponse_Ready) SizeVT() (n int)
- type HandleWebPkgViaPluginRequest
- func (m *HandleWebPkgViaPluginRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleWebPkgViaPluginRequest) CloneVT() *HandleWebPkgViaPluginRequest
- func (this *HandleWebPkgViaPluginRequest) EqualMessageVT(thatMsg any) bool
- func (this *HandleWebPkgViaPluginRequest) EqualVT(that *HandleWebPkgViaPluginRequest) bool
- func (x *HandleWebPkgViaPluginRequest) GetHandlePluginId() string
- func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdList() []string
- func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdPrefixes() []string
- func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdRe() string
- func (x *HandleWebPkgViaPluginRequest) MarshalJSON() ([]byte, error)
- func (x *HandleWebPkgViaPluginRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleWebPkgViaPluginRequest) MarshalProtoText() string
- func (m *HandleWebPkgViaPluginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgViaPluginRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgViaPluginRequest) MarshalVT() (dAtA []byte, err error)
- func (*HandleWebPkgViaPluginRequest) ProtoMessage()
- func (x *HandleWebPkgViaPluginRequest) Reset()
- func (m *HandleWebPkgViaPluginRequest) SizeVT() (n int)
- func (x *HandleWebPkgViaPluginRequest) String() string
- func (x *HandleWebPkgViaPluginRequest) UnmarshalJSON(b []byte) error
- func (x *HandleWebPkgViaPluginRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleWebPkgViaPluginRequest) UnmarshalVT(dAtA []byte) error
- func (m *HandleWebPkgViaPluginRequest) Validate() error
- type HandleWebPkgViaPluginResponse
- func (m *HandleWebPkgViaPluginResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleWebPkgViaPluginResponse) CloneVT() *HandleWebPkgViaPluginResponse
- func (this *HandleWebPkgViaPluginResponse) EqualMessageVT(thatMsg any) bool
- func (this *HandleWebPkgViaPluginResponse) EqualVT(that *HandleWebPkgViaPluginResponse) bool
- func (m *HandleWebPkgViaPluginResponse) GetBody() isHandleWebPkgViaPluginResponse_Body
- func (x *HandleWebPkgViaPluginResponse) GetReady() bool
- func (x *HandleWebPkgViaPluginResponse) MarshalJSON() ([]byte, error)
- func (x *HandleWebPkgViaPluginResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleWebPkgViaPluginResponse) MarshalProtoText() string
- func (m *HandleWebPkgViaPluginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgViaPluginResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgViaPluginResponse) MarshalVT() (dAtA []byte, err error)
- func (*HandleWebPkgViaPluginResponse) ProtoMessage()
- func (x *HandleWebPkgViaPluginResponse) Reset()
- func (m *HandleWebPkgViaPluginResponse) SizeVT() (n int)
- func (x *HandleWebPkgViaPluginResponse) String() string
- func (x *HandleWebPkgViaPluginResponse) UnmarshalJSON(b []byte) error
- func (x *HandleWebPkgViaPluginResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleWebPkgViaPluginResponse) UnmarshalVT(dAtA []byte) error
- type HandleWebPkgViaPluginResponse_Ready
- func (m *HandleWebPkgViaPluginResponse_Ready) CloneOneofVT() isHandleWebPkgViaPluginResponse_Body
- func (m *HandleWebPkgViaPluginResponse_Ready) CloneVT() *HandleWebPkgViaPluginResponse_Ready
- func (this *HandleWebPkgViaPluginResponse_Ready) EqualVT(thatIface isHandleWebPkgViaPluginResponse_Body) bool
- func (m *HandleWebPkgViaPluginResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgViaPluginResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgViaPluginResponse_Ready) SizeVT() (n int)
- type HandleWebPkgsViaPluginAssetsRequest
- func (m *HandleWebPkgsViaPluginAssetsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleWebPkgsViaPluginAssetsRequest) CloneVT() *HandleWebPkgsViaPluginAssetsRequest
- func (this *HandleWebPkgsViaPluginAssetsRequest) EqualMessageVT(thatMsg any) bool
- func (this *HandleWebPkgsViaPluginAssetsRequest) EqualVT(that *HandleWebPkgsViaPluginAssetsRequest) bool
- func (x *HandleWebPkgsViaPluginAssetsRequest) GetHandlePluginId() string
- func (x *HandleWebPkgsViaPluginAssetsRequest) GetWebPkgIdList() []string
- func (x *HandleWebPkgsViaPluginAssetsRequest) GetWebPkgsPath() string
- func (x *HandleWebPkgsViaPluginAssetsRequest) MarshalJSON() ([]byte, error)
- func (x *HandleWebPkgsViaPluginAssetsRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleWebPkgsViaPluginAssetsRequest) MarshalProtoText() string
- func (m *HandleWebPkgsViaPluginAssetsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgsViaPluginAssetsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgsViaPluginAssetsRequest) MarshalVT() (dAtA []byte, err error)
- func (*HandleWebPkgsViaPluginAssetsRequest) ProtoMessage()
- func (x *HandleWebPkgsViaPluginAssetsRequest) Reset()
- func (m *HandleWebPkgsViaPluginAssetsRequest) SizeVT() (n int)
- func (x *HandleWebPkgsViaPluginAssetsRequest) String() string
- func (x *HandleWebPkgsViaPluginAssetsRequest) UnmarshalJSON(b []byte) error
- func (x *HandleWebPkgsViaPluginAssetsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleWebPkgsViaPluginAssetsRequest) UnmarshalVT(dAtA []byte) error
- func (m *HandleWebPkgsViaPluginAssetsRequest) Validate() error
- type HandleWebPkgsViaPluginAssetsResponse
- func (m *HandleWebPkgsViaPluginAssetsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleWebPkgsViaPluginAssetsResponse) CloneVT() *HandleWebPkgsViaPluginAssetsResponse
- func (this *HandleWebPkgsViaPluginAssetsResponse) EqualMessageVT(thatMsg any) bool
- func (this *HandleWebPkgsViaPluginAssetsResponse) EqualVT(that *HandleWebPkgsViaPluginAssetsResponse) bool
- func (m *HandleWebPkgsViaPluginAssetsResponse) GetBody() isHandleWebPkgsViaPluginAssetsResponse_Body
- func (x *HandleWebPkgsViaPluginAssetsResponse) GetReady() bool
- func (x *HandleWebPkgsViaPluginAssetsResponse) MarshalJSON() ([]byte, error)
- func (x *HandleWebPkgsViaPluginAssetsResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleWebPkgsViaPluginAssetsResponse) MarshalProtoText() string
- func (m *HandleWebPkgsViaPluginAssetsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgsViaPluginAssetsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgsViaPluginAssetsResponse) MarshalVT() (dAtA []byte, err error)
- func (*HandleWebPkgsViaPluginAssetsResponse) ProtoMessage()
- func (x *HandleWebPkgsViaPluginAssetsResponse) Reset()
- func (m *HandleWebPkgsViaPluginAssetsResponse) SizeVT() (n int)
- func (x *HandleWebPkgsViaPluginAssetsResponse) String() string
- func (x *HandleWebPkgsViaPluginAssetsResponse) UnmarshalJSON(b []byte) error
- func (x *HandleWebPkgsViaPluginAssetsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleWebPkgsViaPluginAssetsResponse) UnmarshalVT(dAtA []byte) error
- type HandleWebPkgsViaPluginAssetsResponse_Ready
- func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) CloneOneofVT() isHandleWebPkgsViaPluginAssetsResponse_Body
- func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) CloneVT() *HandleWebPkgsViaPluginAssetsResponse_Ready
- func (this *HandleWebPkgsViaPluginAssetsResponse_Ready) EqualVT(thatIface isHandleWebPkgsViaPluginAssetsResponse_Body) bool
- func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) SizeVT() (n int)
- type HandleWebViewViaHandlersRequest
- func (m *HandleWebViewViaHandlersRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleWebViewViaHandlersRequest) CloneVT() *HandleWebViewViaHandlersRequest
- func (this *HandleWebViewViaHandlersRequest) EqualMessageVT(thatMsg any) bool
- func (this *HandleWebViewViaHandlersRequest) EqualVT(that *HandleWebViewViaHandlersRequest) bool
- func (x *HandleWebViewViaHandlersRequest) GetConfig() *handler.WebViewHandlersConfig
- func (x *HandleWebViewViaHandlersRequest) MarshalJSON() ([]byte, error)
- func (x *HandleWebViewViaHandlersRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleWebViewViaHandlersRequest) MarshalProtoText() string
- func (m *HandleWebViewViaHandlersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaHandlersRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaHandlersRequest) MarshalVT() (dAtA []byte, err error)
- func (*HandleWebViewViaHandlersRequest) ProtoMessage()
- func (x *HandleWebViewViaHandlersRequest) Reset()
- func (m *HandleWebViewViaHandlersRequest) SizeVT() (n int)
- func (x *HandleWebViewViaHandlersRequest) String() string
- func (x *HandleWebViewViaHandlersRequest) UnmarshalJSON(b []byte) error
- func (x *HandleWebViewViaHandlersRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleWebViewViaHandlersRequest) UnmarshalVT(dAtA []byte) error
- func (m *HandleWebViewViaHandlersRequest) Validate() error
- type HandleWebViewViaHandlersResponse
- func (m *HandleWebViewViaHandlersResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleWebViewViaHandlersResponse) CloneVT() *HandleWebViewViaHandlersResponse
- func (this *HandleWebViewViaHandlersResponse) EqualMessageVT(thatMsg any) bool
- func (this *HandleWebViewViaHandlersResponse) EqualVT(that *HandleWebViewViaHandlersResponse) bool
- func (m *HandleWebViewViaHandlersResponse) GetBody() isHandleWebViewViaHandlersResponse_Body
- func (x *HandleWebViewViaHandlersResponse) GetReady() bool
- func (x *HandleWebViewViaHandlersResponse) MarshalJSON() ([]byte, error)
- func (x *HandleWebViewViaHandlersResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleWebViewViaHandlersResponse) MarshalProtoText() string
- func (m *HandleWebViewViaHandlersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaHandlersResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaHandlersResponse) MarshalVT() (dAtA []byte, err error)
- func (*HandleWebViewViaHandlersResponse) ProtoMessage()
- func (x *HandleWebViewViaHandlersResponse) Reset()
- func (m *HandleWebViewViaHandlersResponse) SizeVT() (n int)
- func (x *HandleWebViewViaHandlersResponse) String() string
- func (x *HandleWebViewViaHandlersResponse) UnmarshalJSON(b []byte) error
- func (x *HandleWebViewViaHandlersResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleWebViewViaHandlersResponse) UnmarshalVT(dAtA []byte) error
- type HandleWebViewViaHandlersResponse_Ready
- func (m *HandleWebViewViaHandlersResponse_Ready) CloneOneofVT() isHandleWebViewViaHandlersResponse_Body
- func (m *HandleWebViewViaHandlersResponse_Ready) CloneVT() *HandleWebViewViaHandlersResponse_Ready
- func (this *HandleWebViewViaHandlersResponse_Ready) EqualVT(thatIface isHandleWebViewViaHandlersResponse_Body) bool
- func (m *HandleWebViewViaHandlersResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaHandlersResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaHandlersResponse_Ready) SizeVT() (n int)
- type HandleWebViewViaPluginRequest
- func (m *HandleWebViewViaPluginRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleWebViewViaPluginRequest) CloneVT() *HandleWebViewViaPluginRequest
- func (this *HandleWebViewViaPluginRequest) EqualMessageVT(thatMsg any) bool
- func (this *HandleWebViewViaPluginRequest) EqualVT(that *HandleWebViewViaPluginRequest) bool
- func (x *HandleWebViewViaPluginRequest) GetHandlePluginId() string
- func (x *HandleWebViewViaPluginRequest) GetWebViewIdRe() string
- func (x *HandleWebViewViaPluginRequest) MarshalJSON() ([]byte, error)
- func (x *HandleWebViewViaPluginRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleWebViewViaPluginRequest) MarshalProtoText() string
- func (m *HandleWebViewViaPluginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaPluginRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaPluginRequest) MarshalVT() (dAtA []byte, err error)
- func (*HandleWebViewViaPluginRequest) ProtoMessage()
- func (x *HandleWebViewViaPluginRequest) Reset()
- func (m *HandleWebViewViaPluginRequest) SizeVT() (n int)
- func (x *HandleWebViewViaPluginRequest) String() string
- func (x *HandleWebViewViaPluginRequest) UnmarshalJSON(b []byte) error
- func (x *HandleWebViewViaPluginRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleWebViewViaPluginRequest) UnmarshalVT(dAtA []byte) error
- func (m *HandleWebViewViaPluginRequest) Validate() error
- type HandleWebViewViaPluginResponse
- func (m *HandleWebViewViaPluginResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HandleWebViewViaPluginResponse) CloneVT() *HandleWebViewViaPluginResponse
- func (this *HandleWebViewViaPluginResponse) EqualMessageVT(thatMsg any) bool
- func (this *HandleWebViewViaPluginResponse) EqualVT(that *HandleWebViewViaPluginResponse) bool
- func (m *HandleWebViewViaPluginResponse) GetBody() isHandleWebViewViaPluginResponse_Body
- func (x *HandleWebViewViaPluginResponse) GetReady() bool
- func (x *HandleWebViewViaPluginResponse) MarshalJSON() ([]byte, error)
- func (x *HandleWebViewViaPluginResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *HandleWebViewViaPluginResponse) MarshalProtoText() string
- func (m *HandleWebViewViaPluginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaPluginResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaPluginResponse) MarshalVT() (dAtA []byte, err error)
- func (*HandleWebViewViaPluginResponse) ProtoMessage()
- func (x *HandleWebViewViaPluginResponse) Reset()
- func (m *HandleWebViewViaPluginResponse) SizeVT() (n int)
- func (x *HandleWebViewViaPluginResponse) String() string
- func (x *HandleWebViewViaPluginResponse) UnmarshalJSON(b []byte) error
- func (x *HandleWebViewViaPluginResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HandleWebViewViaPluginResponse) UnmarshalVT(dAtA []byte) error
- type HandleWebViewViaPluginResponse_Ready
- func (m *HandleWebViewViaPluginResponse_Ready) CloneOneofVT() isHandleWebViewViaPluginResponse_Body
- func (m *HandleWebViewViaPluginResponse_Ready) CloneVT() *HandleWebViewViaPluginResponse_Ready
- func (this *HandleWebViewViaPluginResponse_Ready) EqualVT(thatIface isHandleWebViewViaPluginResponse_Body) bool
- func (m *HandleWebViewViaPluginResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaPluginResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
- func (m *HandleWebViewViaPluginResponse_Ready) SizeVT() (n int)
- type LookupDesktop
- 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) GetGeneration() uint64
- 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 SRPCWebPluginClient
- type SRPCWebPluginHandler
- func (SRPCWebPluginHandler) GetMethodIDs() []string
- func (d *SRPCWebPluginHandler) GetServiceID() string
- func (d *SRPCWebPluginHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCWebPluginHandler) InvokeMethod_HandleRpcViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error
- func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error
- func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgsViaPluginAssets(impl SRPCWebPluginServer, strm srpc.Stream) error
- func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaHandlers(impl SRPCWebPluginServer, strm srpc.Stream) error
- func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error
- func (SRPCWebPluginHandler) InvokeMethod_OpenOrFocusDesktop(impl SRPCWebPluginServer, strm srpc.Stream) error
- func (SRPCWebPluginHandler) InvokeMethod_WaitDesktopExit(impl SRPCWebPluginServer, strm srpc.Stream) error
- func (SRPCWebPluginHandler) InvokeMethod_WatchDesktopPresence(impl SRPCWebPluginServer, strm srpc.Stream) error
- type SRPCWebPluginServer
- type SRPCWebPlugin_HandleRpcViaPluginClient
- type SRPCWebPlugin_HandleRpcViaPluginStream
- type SRPCWebPlugin_HandleWebPkgViaPluginClient
- type SRPCWebPlugin_HandleWebPkgViaPluginStream
- type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsClient
- type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsStream
- type SRPCWebPlugin_HandleWebViewViaHandlersClient
- type SRPCWebPlugin_HandleWebViewViaHandlersStream
- type SRPCWebPlugin_HandleWebViewViaPluginClient
- type SRPCWebPlugin_HandleWebViewViaPluginStream
- type SRPCWebPlugin_OpenOrFocusDesktopStream
- type SRPCWebPlugin_WaitDesktopExitStream
- type SRPCWebPlugin_WatchDesktopPresenceClient
- type SRPCWebPlugin_WatchDesktopPresenceStream
- type WatchDesktopPresenceRequest
- func (m *WatchDesktopPresenceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchDesktopPresenceRequest) CloneVT() *WatchDesktopPresenceRequest
- func (this *WatchDesktopPresenceRequest) EqualMessageVT(thatMsg any) bool
- func (this *WatchDesktopPresenceRequest) EqualVT(that *WatchDesktopPresenceRequest) bool
- func (x *WatchDesktopPresenceRequest) GetGeneration() uint64
- func (x *WatchDesktopPresenceRequest) MarshalJSON() ([]byte, error)
- func (x *WatchDesktopPresenceRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchDesktopPresenceRequest) MarshalProtoText() string
- func (m *WatchDesktopPresenceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchDesktopPresenceRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchDesktopPresenceRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchDesktopPresenceRequest) ProtoMessage()
- func (x *WatchDesktopPresenceRequest) Reset()
- func (m *WatchDesktopPresenceRequest) SizeVT() (n int)
- func (x *WatchDesktopPresenceRequest) String() string
- func (x *WatchDesktopPresenceRequest) UnmarshalJSON(b []byte) error
- func (x *WatchDesktopPresenceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchDesktopPresenceRequest) UnmarshalVT(dAtA []byte) error
- type WatchDesktopPresenceResponse
- func (m *WatchDesktopPresenceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchDesktopPresenceResponse) CloneVT() *WatchDesktopPresenceResponse
- func (this *WatchDesktopPresenceResponse) EqualMessageVT(thatMsg any) bool
- func (this *WatchDesktopPresenceResponse) EqualVT(that *WatchDesktopPresenceResponse) bool
- func (x *WatchDesktopPresenceResponse) GetError() string
- func (x *WatchDesktopPresenceResponse) GetState() DesktopPresenceState
- func (x *WatchDesktopPresenceResponse) MarshalJSON() ([]byte, error)
- func (x *WatchDesktopPresenceResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchDesktopPresenceResponse) MarshalProtoText() string
- func (m *WatchDesktopPresenceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchDesktopPresenceResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchDesktopPresenceResponse) MarshalVT() (dAtA []byte, err error)
- func (*WatchDesktopPresenceResponse) ProtoMessage()
- func (x *WatchDesktopPresenceResponse) Reset()
- func (m *WatchDesktopPresenceResponse) SizeVT() (n int)
- func (x *WatchDesktopPresenceResponse) String() string
- func (x *WatchDesktopPresenceResponse) UnmarshalJSON(b []byte) error
- func (x *WatchDesktopPresenceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchDesktopPresenceResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const SRPCWebPluginServiceID = "bldr.web.plugin.WebPlugin"
Variables ¶
var ( DesktopPresenceState_name = map[int32]string{ 0: "DESKTOP_PRESENCE_STATE_UNKNOWN", 1: "DESKTOP_PRESENCE_STATE_ACTIVE", 2: "DESKTOP_PRESENCE_STATE_ENDED", } DesktopPresenceState_value = map[string]int32{ "DESKTOP_PRESENCE_STATE_UNKNOWN": 0, "DESKTOP_PRESENCE_STATE_ACTIVE": 1, "DESKTOP_PRESENCE_STATE_ENDED": 2, } )
Enum value maps for DesktopPresenceState.
Functions ¶
func NewSRPCWebPluginHandler ¶
func NewSRPCWebPluginHandler(impl SRPCWebPluginServer, serviceID string) srpc.Handler
NewSRPCWebPluginHandler constructs a new RPC handler. serviceID: if empty, uses default: bldr.web.plugin.WebPlugin
func SRPCRegisterWebPlugin ¶
func SRPCRegisterWebPlugin(mux srpc.Mux, impl SRPCWebPluginServer) error
SRPCRegisterWebPlugin registers the implementation with the mux. Uses the default serviceID: bldr.web.plugin.WebPlugin
Types ¶
type Desktop ¶
type Desktop interface {
// OpenOrFocusMainWindow acknowledges Electron main and returns its shell generation.
OpenOrFocusMainWindow(ctx context.Context, req *OpenOrFocusDesktopRequest) (uint64, error)
// DesktopPresence returns one generation's state, or nil for an older ended generation.
// The returned container retains its terminal result across later opens.
DesktopPresence(generation uint64) *ccontainer.CContainer[*WatchDesktopPresenceResponse]
}
Desktop opens or focuses the desktop shell owned by this plugin.
func ExLookupDesktop ¶
func ExLookupDesktop(ctx context.Context, b bus.Bus) (Desktop, directive.Instance, directive.Reference, error)
ExLookupDesktop resolves the plugin's desktop controller. It returns nil after an idle lookup when this plugin has no Electron capability. The caller releases a non-nil reference after using the controller.
type DesktopPresenceState ¶
type DesktopPresenceState int32
DesktopPresenceState describes one shell generation, not the latest desktop.
const ( // DESKTOP_PRESENCE_STATE_UNKNOWN is not a valid watch result. DesktopPresenceState_DESKTOP_PRESENCE_STATE_UNKNOWN DesktopPresenceState = 0 // DESKTOP_PRESENCE_STATE_ACTIVE means the selected shell generation is running. DesktopPresenceState_DESKTOP_PRESENCE_STATE_ACTIVE DesktopPresenceState = 1 // DESKTOP_PRESENCE_STATE_ENDED means the selected shell generation has ended. DesktopPresenceState_DESKTOP_PRESENCE_STATE_ENDED DesktopPresenceState = 2 )
func (DesktopPresenceState) Enum ¶
func (x DesktopPresenceState) Enum() *DesktopPresenceState
func (DesktopPresenceState) MarshalJSON ¶
func (x DesktopPresenceState) MarshalJSON() ([]byte, error)
MarshalJSON marshals the DesktopPresenceState to JSON.
func (DesktopPresenceState) MarshalProtoJSON ¶
func (x DesktopPresenceState) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the DesktopPresenceState to JSON.
func (DesktopPresenceState) MarshalProtoText ¶
func (x DesktopPresenceState) MarshalProtoText() string
func (DesktopPresenceState) MarshalText ¶
func (x DesktopPresenceState) MarshalText() ([]byte, error)
MarshalText marshals the DesktopPresenceState to text.
func (DesktopPresenceState) String ¶
func (x DesktopPresenceState) String() string
func (*DesktopPresenceState) UnmarshalJSON ¶
func (x *DesktopPresenceState) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the DesktopPresenceState from JSON.
func (*DesktopPresenceState) UnmarshalProtoJSON ¶
func (x *DesktopPresenceState) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the DesktopPresenceState from JSON.
func (*DesktopPresenceState) UnmarshalText ¶
func (x *DesktopPresenceState) UnmarshalText(b []byte) error
UnmarshalText unmarshals the DesktopPresenceState from text.
type HandleRpcViaPluginRequest ¶
type HandleRpcViaPluginRequest struct {
// HandlePluginId is the plugin the web plugin should send Rpcs to.
HandlePluginId string `protobuf:"bytes,1,opt,name=handle_plugin_id,json=handlePluginId,proto3" json:"handlePluginId,omitempty"`
// ServiceIdRe is the regex of service IDs to forward.
// If empty, will forward any.
ServiceIdRe string `protobuf:"bytes,2,opt,name=service_id_re,json=serviceIdRe,proto3" json:"serviceIdRe,omitempty"`
// ServerIdRe is the regex of server IDs to forward for.
// If empty, will forward any.
ServerIdRe string `protobuf:"bytes,3,opt,name=server_id_re,json=serverIdRe,proto3" json:"serverIdRe,omitempty"`
// Backoff is the backoff config for calling the RPC service.
// If unset, defaults to reasonable defaults.
Backoff *backoff.Backoff `protobuf:"bytes,4,opt,name=backoff,proto3" json:"backoff,omitempty"`
// contains filtered or unexported fields
}
HandleRpcViaPluginRequest is a request to handle web views via a plugin RPC.
func (*HandleRpcViaPluginRequest) CloneMessageVT ¶
func (m *HandleRpcViaPluginRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleRpcViaPluginRequest) CloneVT ¶
func (m *HandleRpcViaPluginRequest) CloneVT() *HandleRpcViaPluginRequest
func (*HandleRpcViaPluginRequest) EqualMessageVT ¶
func (this *HandleRpcViaPluginRequest) EqualMessageVT(thatMsg any) bool
func (*HandleRpcViaPluginRequest) EqualVT ¶
func (this *HandleRpcViaPluginRequest) EqualVT(that *HandleRpcViaPluginRequest) bool
func (*HandleRpcViaPluginRequest) GetBackoff ¶
func (x *HandleRpcViaPluginRequest) GetBackoff() *backoff.Backoff
func (*HandleRpcViaPluginRequest) GetHandlePluginId ¶
func (x *HandleRpcViaPluginRequest) GetHandlePluginId() string
func (*HandleRpcViaPluginRequest) GetServerIdRe ¶
func (x *HandleRpcViaPluginRequest) GetServerIdRe() string
func (*HandleRpcViaPluginRequest) GetServiceIdRe ¶
func (x *HandleRpcViaPluginRequest) GetServiceIdRe() string
func (*HandleRpcViaPluginRequest) MarshalJSON ¶
func (x *HandleRpcViaPluginRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleRpcViaPluginRequest to JSON.
func (*HandleRpcViaPluginRequest) MarshalProtoJSON ¶
func (x *HandleRpcViaPluginRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleRpcViaPluginRequest message to JSON.
func (*HandleRpcViaPluginRequest) MarshalProtoText ¶
func (x *HandleRpcViaPluginRequest) MarshalProtoText() string
func (*HandleRpcViaPluginRequest) MarshalToSizedBufferVT ¶
func (m *HandleRpcViaPluginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleRpcViaPluginRequest) MarshalToVT ¶
func (m *HandleRpcViaPluginRequest) MarshalToVT(dAtA []byte) (int, error)
func (*HandleRpcViaPluginRequest) MarshalVT ¶
func (m *HandleRpcViaPluginRequest) MarshalVT() (dAtA []byte, err error)
func (*HandleRpcViaPluginRequest) ProtoMessage ¶
func (*HandleRpcViaPluginRequest) ProtoMessage()
func (*HandleRpcViaPluginRequest) Reset ¶
func (x *HandleRpcViaPluginRequest) Reset()
func (*HandleRpcViaPluginRequest) SizeVT ¶
func (m *HandleRpcViaPluginRequest) SizeVT() (n int)
func (*HandleRpcViaPluginRequest) String ¶
func (x *HandleRpcViaPluginRequest) String() string
func (*HandleRpcViaPluginRequest) UnmarshalJSON ¶
func (x *HandleRpcViaPluginRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleRpcViaPluginRequest from JSON.
func (*HandleRpcViaPluginRequest) UnmarshalProtoJSON ¶
func (x *HandleRpcViaPluginRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleRpcViaPluginRequest message from JSON.
func (*HandleRpcViaPluginRequest) UnmarshalVT ¶
func (m *HandleRpcViaPluginRequest) UnmarshalVT(dAtA []byte) error
func (*HandleRpcViaPluginRequest) Validate ¶
func (m *HandleRpcViaPluginRequest) Validate() error
Validate validates the HandleRpcViaPluginRequest configuration.
type HandleRpcViaPluginResponse ¶
type HandleRpcViaPluginResponse struct {
// Types that are assignable to Body:
// *HandleRpcViaPluginResponse_Ready
Body isHandleRpcViaPluginResponse_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
HandleRpcViaPluginResponse is the response to HandleRpcViaPlugin.
func (*HandleRpcViaPluginResponse) CloneMessageVT ¶
func (m *HandleRpcViaPluginResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleRpcViaPluginResponse) CloneVT ¶
func (m *HandleRpcViaPluginResponse) CloneVT() *HandleRpcViaPluginResponse
func (*HandleRpcViaPluginResponse) EqualMessageVT ¶
func (this *HandleRpcViaPluginResponse) EqualMessageVT(thatMsg any) bool
func (*HandleRpcViaPluginResponse) EqualVT ¶
func (this *HandleRpcViaPluginResponse) EqualVT(that *HandleRpcViaPluginResponse) bool
func (*HandleRpcViaPluginResponse) GetBody ¶
func (m *HandleRpcViaPluginResponse) GetBody() isHandleRpcViaPluginResponse_Body
func (*HandleRpcViaPluginResponse) GetReady ¶
func (x *HandleRpcViaPluginResponse) GetReady() bool
func (*HandleRpcViaPluginResponse) MarshalJSON ¶
func (x *HandleRpcViaPluginResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleRpcViaPluginResponse to JSON.
func (*HandleRpcViaPluginResponse) MarshalProtoJSON ¶
func (x *HandleRpcViaPluginResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleRpcViaPluginResponse message to JSON.
func (*HandleRpcViaPluginResponse) MarshalProtoText ¶
func (x *HandleRpcViaPluginResponse) MarshalProtoText() string
func (*HandleRpcViaPluginResponse) MarshalToSizedBufferVT ¶
func (m *HandleRpcViaPluginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleRpcViaPluginResponse) MarshalToVT ¶
func (m *HandleRpcViaPluginResponse) MarshalToVT(dAtA []byte) (int, error)
func (*HandleRpcViaPluginResponse) MarshalVT ¶
func (m *HandleRpcViaPluginResponse) MarshalVT() (dAtA []byte, err error)
func (*HandleRpcViaPluginResponse) ProtoMessage ¶
func (*HandleRpcViaPluginResponse) ProtoMessage()
func (*HandleRpcViaPluginResponse) Reset ¶
func (x *HandleRpcViaPluginResponse) Reset()
func (*HandleRpcViaPluginResponse) SizeVT ¶
func (m *HandleRpcViaPluginResponse) SizeVT() (n int)
func (*HandleRpcViaPluginResponse) String ¶
func (x *HandleRpcViaPluginResponse) String() string
func (*HandleRpcViaPluginResponse) UnmarshalJSON ¶
func (x *HandleRpcViaPluginResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleRpcViaPluginResponse from JSON.
func (*HandleRpcViaPluginResponse) UnmarshalProtoJSON ¶
func (x *HandleRpcViaPluginResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleRpcViaPluginResponse message from JSON.
func (*HandleRpcViaPluginResponse) UnmarshalVT ¶
func (m *HandleRpcViaPluginResponse) UnmarshalVT(dAtA []byte) error
type HandleRpcViaPluginResponse_Ready ¶
type HandleRpcViaPluginResponse_Ready struct {
// Ready indicates the service to forward rpcs has been started.
Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}
func (*HandleRpcViaPluginResponse_Ready) CloneOneofVT ¶
func (m *HandleRpcViaPluginResponse_Ready) CloneOneofVT() isHandleRpcViaPluginResponse_Body
func (*HandleRpcViaPluginResponse_Ready) CloneVT ¶
func (m *HandleRpcViaPluginResponse_Ready) CloneVT() *HandleRpcViaPluginResponse_Ready
func (*HandleRpcViaPluginResponse_Ready) EqualVT ¶
func (this *HandleRpcViaPluginResponse_Ready) EqualVT(thatIface isHandleRpcViaPluginResponse_Body) bool
func (*HandleRpcViaPluginResponse_Ready) MarshalToSizedBufferVT ¶
func (m *HandleRpcViaPluginResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleRpcViaPluginResponse_Ready) MarshalToVT ¶
func (m *HandleRpcViaPluginResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
func (*HandleRpcViaPluginResponse_Ready) SizeVT ¶
func (m *HandleRpcViaPluginResponse_Ready) SizeVT() (n int)
type HandleWebPkgViaPluginRequest ¶
type HandleWebPkgViaPluginRequest struct {
// HandlePluginId is the plugin the web plugin should send WebViews to.
HandlePluginId string `protobuf:"bytes,1,opt,name=handle_plugin_id,json=handlePluginId,proto3" json:"handlePluginId,omitempty"`
// WebPkgIdRe is a regex string to match web pkgs IDs.
// Set to '.*' or empty to match all web pkgs ids.
WebPkgIdRe string `protobuf:"bytes,2,opt,name=web_pkg_id_re,json=webPkgIdRe,proto3" json:"webPkgIdRe,omitempty"`
// WebPkgIdPrefixes is a list of web pkg id prefixes to match.
// If the value is in this list, overrides web_pkg_id_re.
// Set to '.*' or empty to match all web pkgs ids.
WebPkgIdPrefixes []string `protobuf:"bytes,3,rep,name=web_pkg_id_prefixes,json=webPkgIdPrefixes,proto3" json:"webPkgIdPrefixes,omitempty"`
// WebPkgIdList is a list of web pkg IDs to resolve.
// If the value is in this list, overrides web_pkg_id_re and web_pkg_id_prefixes.
// Ignored if empty.
WebPkgIdList []string `protobuf:"bytes,4,rep,name=web_pkg_id_list,json=webPkgIdList,proto3" json:"webPkgIdList,omitempty"`
// contains filtered or unexported fields
}
HandleWebPkgViaPluginRequest is a request to handle web pkgs via a plugin RPC.
func (*HandleWebPkgViaPluginRequest) CloneMessageVT ¶
func (m *HandleWebPkgViaPluginRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleWebPkgViaPluginRequest) CloneVT ¶
func (m *HandleWebPkgViaPluginRequest) CloneVT() *HandleWebPkgViaPluginRequest
func (*HandleWebPkgViaPluginRequest) EqualMessageVT ¶
func (this *HandleWebPkgViaPluginRequest) EqualMessageVT(thatMsg any) bool
func (*HandleWebPkgViaPluginRequest) EqualVT ¶
func (this *HandleWebPkgViaPluginRequest) EqualVT(that *HandleWebPkgViaPluginRequest) bool
func (*HandleWebPkgViaPluginRequest) GetHandlePluginId ¶
func (x *HandleWebPkgViaPluginRequest) GetHandlePluginId() string
func (*HandleWebPkgViaPluginRequest) GetWebPkgIdList ¶
func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdList() []string
func (*HandleWebPkgViaPluginRequest) GetWebPkgIdPrefixes ¶
func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdPrefixes() []string
func (*HandleWebPkgViaPluginRequest) GetWebPkgIdRe ¶
func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdRe() string
func (*HandleWebPkgViaPluginRequest) MarshalJSON ¶
func (x *HandleWebPkgViaPluginRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleWebPkgViaPluginRequest to JSON.
func (*HandleWebPkgViaPluginRequest) MarshalProtoJSON ¶
func (x *HandleWebPkgViaPluginRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleWebPkgViaPluginRequest message to JSON.
func (*HandleWebPkgViaPluginRequest) MarshalProtoText ¶
func (x *HandleWebPkgViaPluginRequest) MarshalProtoText() string
func (*HandleWebPkgViaPluginRequest) MarshalToSizedBufferVT ¶
func (m *HandleWebPkgViaPluginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebPkgViaPluginRequest) MarshalToVT ¶
func (m *HandleWebPkgViaPluginRequest) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebPkgViaPluginRequest) MarshalVT ¶
func (m *HandleWebPkgViaPluginRequest) MarshalVT() (dAtA []byte, err error)
func (*HandleWebPkgViaPluginRequest) ProtoMessage ¶
func (*HandleWebPkgViaPluginRequest) ProtoMessage()
func (*HandleWebPkgViaPluginRequest) Reset ¶
func (x *HandleWebPkgViaPluginRequest) Reset()
func (*HandleWebPkgViaPluginRequest) SizeVT ¶
func (m *HandleWebPkgViaPluginRequest) SizeVT() (n int)
func (*HandleWebPkgViaPluginRequest) String ¶
func (x *HandleWebPkgViaPluginRequest) String() string
func (*HandleWebPkgViaPluginRequest) UnmarshalJSON ¶
func (x *HandleWebPkgViaPluginRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleWebPkgViaPluginRequest from JSON.
func (*HandleWebPkgViaPluginRequest) UnmarshalProtoJSON ¶
func (x *HandleWebPkgViaPluginRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleWebPkgViaPluginRequest message from JSON.
func (*HandleWebPkgViaPluginRequest) UnmarshalVT ¶
func (m *HandleWebPkgViaPluginRequest) UnmarshalVT(dAtA []byte) error
func (*HandleWebPkgViaPluginRequest) Validate ¶
func (m *HandleWebPkgViaPluginRequest) Validate() error
Validate validates the HandleWebPkgViaPluginRequest configuration.
type HandleWebPkgViaPluginResponse ¶
type HandleWebPkgViaPluginResponse struct {
// Types that are assignable to Body:
// *HandleWebPkgViaPluginResponse_Ready
Body isHandleWebPkgViaPluginResponse_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
HandleWebPkgViaPluginResponse is the response to HandleWebPkgViaPlugin.
func (*HandleWebPkgViaPluginResponse) CloneMessageVT ¶
func (m *HandleWebPkgViaPluginResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleWebPkgViaPluginResponse) CloneVT ¶
func (m *HandleWebPkgViaPluginResponse) CloneVT() *HandleWebPkgViaPluginResponse
func (*HandleWebPkgViaPluginResponse) EqualMessageVT ¶
func (this *HandleWebPkgViaPluginResponse) EqualMessageVT(thatMsg any) bool
func (*HandleWebPkgViaPluginResponse) EqualVT ¶
func (this *HandleWebPkgViaPluginResponse) EqualVT(that *HandleWebPkgViaPluginResponse) bool
func (*HandleWebPkgViaPluginResponse) GetBody ¶
func (m *HandleWebPkgViaPluginResponse) GetBody() isHandleWebPkgViaPluginResponse_Body
func (*HandleWebPkgViaPluginResponse) GetReady ¶
func (x *HandleWebPkgViaPluginResponse) GetReady() bool
func (*HandleWebPkgViaPluginResponse) MarshalJSON ¶
func (x *HandleWebPkgViaPluginResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleWebPkgViaPluginResponse to JSON.
func (*HandleWebPkgViaPluginResponse) MarshalProtoJSON ¶
func (x *HandleWebPkgViaPluginResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleWebPkgViaPluginResponse message to JSON.
func (*HandleWebPkgViaPluginResponse) MarshalProtoText ¶
func (x *HandleWebPkgViaPluginResponse) MarshalProtoText() string
func (*HandleWebPkgViaPluginResponse) MarshalToSizedBufferVT ¶
func (m *HandleWebPkgViaPluginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebPkgViaPluginResponse) MarshalToVT ¶
func (m *HandleWebPkgViaPluginResponse) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebPkgViaPluginResponse) MarshalVT ¶
func (m *HandleWebPkgViaPluginResponse) MarshalVT() (dAtA []byte, err error)
func (*HandleWebPkgViaPluginResponse) ProtoMessage ¶
func (*HandleWebPkgViaPluginResponse) ProtoMessage()
func (*HandleWebPkgViaPluginResponse) Reset ¶
func (x *HandleWebPkgViaPluginResponse) Reset()
func (*HandleWebPkgViaPluginResponse) SizeVT ¶
func (m *HandleWebPkgViaPluginResponse) SizeVT() (n int)
func (*HandleWebPkgViaPluginResponse) String ¶
func (x *HandleWebPkgViaPluginResponse) String() string
func (*HandleWebPkgViaPluginResponse) UnmarshalJSON ¶
func (x *HandleWebPkgViaPluginResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleWebPkgViaPluginResponse from JSON.
func (*HandleWebPkgViaPluginResponse) UnmarshalProtoJSON ¶
func (x *HandleWebPkgViaPluginResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleWebPkgViaPluginResponse message from JSON.
func (*HandleWebPkgViaPluginResponse) UnmarshalVT ¶
func (m *HandleWebPkgViaPluginResponse) UnmarshalVT(dAtA []byte) error
type HandleWebPkgViaPluginResponse_Ready ¶
type HandleWebPkgViaPluginResponse_Ready struct {
// Ready indicates the service to forward rpcs has been started.
Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}
func (*HandleWebPkgViaPluginResponse_Ready) CloneOneofVT ¶
func (m *HandleWebPkgViaPluginResponse_Ready) CloneOneofVT() isHandleWebPkgViaPluginResponse_Body
func (*HandleWebPkgViaPluginResponse_Ready) CloneVT ¶
func (m *HandleWebPkgViaPluginResponse_Ready) CloneVT() *HandleWebPkgViaPluginResponse_Ready
func (*HandleWebPkgViaPluginResponse_Ready) EqualVT ¶
func (this *HandleWebPkgViaPluginResponse_Ready) EqualVT(thatIface isHandleWebPkgViaPluginResponse_Body) bool
func (*HandleWebPkgViaPluginResponse_Ready) MarshalToSizedBufferVT ¶
func (m *HandleWebPkgViaPluginResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebPkgViaPluginResponse_Ready) MarshalToVT ¶
func (m *HandleWebPkgViaPluginResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebPkgViaPluginResponse_Ready) SizeVT ¶
func (m *HandleWebPkgViaPluginResponse_Ready) SizeVT() (n int)
type HandleWebPkgsViaPluginAssetsRequest ¶
type HandleWebPkgsViaPluginAssetsRequest struct {
// HandlePluginId is the plugin the web plugin should use for serving assets.
HandlePluginId string `protobuf:"bytes,1,opt,name=handle_plugin_id,json=handlePluginId,proto3" json:"handlePluginId,omitempty"`
// WebPkgsPath is the sub-directory of the plugin assets fs to look up the web pkgs root.
WebPkgsPath string `protobuf:"bytes,2,opt,name=web_pkgs_path,json=webPkgsPath,proto3" json:"webPkgsPath,omitempty"`
// WebPkgIdList is a list of web pkg IDs to resolve with the plugin assets fs.
// Must be at least one web pkg listed.
WebPkgIdList []string `protobuf:"bytes,3,rep,name=web_pkg_id_list,json=webPkgIdList,proto3" json:"webPkgIdList,omitempty"`
// contains filtered or unexported fields
}
HandleWebPkgsViaPluginAssetsRequest is a request to serve web pkgs via a plugin assets fs.
func (*HandleWebPkgsViaPluginAssetsRequest) CloneMessageVT ¶
func (m *HandleWebPkgsViaPluginAssetsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleWebPkgsViaPluginAssetsRequest) CloneVT ¶
func (m *HandleWebPkgsViaPluginAssetsRequest) CloneVT() *HandleWebPkgsViaPluginAssetsRequest
func (*HandleWebPkgsViaPluginAssetsRequest) EqualMessageVT ¶
func (this *HandleWebPkgsViaPluginAssetsRequest) EqualMessageVT(thatMsg any) bool
func (*HandleWebPkgsViaPluginAssetsRequest) EqualVT ¶
func (this *HandleWebPkgsViaPluginAssetsRequest) EqualVT(that *HandleWebPkgsViaPluginAssetsRequest) bool
func (*HandleWebPkgsViaPluginAssetsRequest) GetHandlePluginId ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) GetHandlePluginId() string
func (*HandleWebPkgsViaPluginAssetsRequest) GetWebPkgIdList ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) GetWebPkgIdList() []string
func (*HandleWebPkgsViaPluginAssetsRequest) GetWebPkgsPath ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) GetWebPkgsPath() string
func (*HandleWebPkgsViaPluginAssetsRequest) MarshalJSON ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleWebPkgsViaPluginAssetsRequest to JSON.
func (*HandleWebPkgsViaPluginAssetsRequest) MarshalProtoJSON ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleWebPkgsViaPluginAssetsRequest message to JSON.
func (*HandleWebPkgsViaPluginAssetsRequest) MarshalProtoText ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) MarshalProtoText() string
func (*HandleWebPkgsViaPluginAssetsRequest) MarshalToSizedBufferVT ¶
func (m *HandleWebPkgsViaPluginAssetsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebPkgsViaPluginAssetsRequest) MarshalToVT ¶
func (m *HandleWebPkgsViaPluginAssetsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebPkgsViaPluginAssetsRequest) MarshalVT ¶
func (m *HandleWebPkgsViaPluginAssetsRequest) MarshalVT() (dAtA []byte, err error)
func (*HandleWebPkgsViaPluginAssetsRequest) ProtoMessage ¶
func (*HandleWebPkgsViaPluginAssetsRequest) ProtoMessage()
func (*HandleWebPkgsViaPluginAssetsRequest) Reset ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) Reset()
func (*HandleWebPkgsViaPluginAssetsRequest) SizeVT ¶
func (m *HandleWebPkgsViaPluginAssetsRequest) SizeVT() (n int)
func (*HandleWebPkgsViaPluginAssetsRequest) String ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) String() string
func (*HandleWebPkgsViaPluginAssetsRequest) UnmarshalJSON ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleWebPkgsViaPluginAssetsRequest from JSON.
func (*HandleWebPkgsViaPluginAssetsRequest) UnmarshalProtoJSON ¶
func (x *HandleWebPkgsViaPluginAssetsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleWebPkgsViaPluginAssetsRequest message from JSON.
func (*HandleWebPkgsViaPluginAssetsRequest) UnmarshalVT ¶
func (m *HandleWebPkgsViaPluginAssetsRequest) UnmarshalVT(dAtA []byte) error
func (*HandleWebPkgsViaPluginAssetsRequest) Validate ¶
func (m *HandleWebPkgsViaPluginAssetsRequest) Validate() error
Validate validates the HandleWebPkgsViaPluginAssetsRequest configuration.
type HandleWebPkgsViaPluginAssetsResponse ¶
type HandleWebPkgsViaPluginAssetsResponse struct {
// Types that are assignable to Body:
// *HandleWebPkgsViaPluginAssetsResponse_Ready
Body isHandleWebPkgsViaPluginAssetsResponse_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
HandleWebPkgsViaPluginAssetsResponse is the response to HandleWebPkgsViaPluginAssets.
func (*HandleWebPkgsViaPluginAssetsResponse) CloneMessageVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleWebPkgsViaPluginAssetsResponse) CloneVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse) CloneVT() *HandleWebPkgsViaPluginAssetsResponse
func (*HandleWebPkgsViaPluginAssetsResponse) EqualMessageVT ¶
func (this *HandleWebPkgsViaPluginAssetsResponse) EqualMessageVT(thatMsg any) bool
func (*HandleWebPkgsViaPluginAssetsResponse) EqualVT ¶
func (this *HandleWebPkgsViaPluginAssetsResponse) EqualVT(that *HandleWebPkgsViaPluginAssetsResponse) bool
func (*HandleWebPkgsViaPluginAssetsResponse) GetBody ¶
func (m *HandleWebPkgsViaPluginAssetsResponse) GetBody() isHandleWebPkgsViaPluginAssetsResponse_Body
func (*HandleWebPkgsViaPluginAssetsResponse) GetReady ¶
func (x *HandleWebPkgsViaPluginAssetsResponse) GetReady() bool
func (*HandleWebPkgsViaPluginAssetsResponse) MarshalJSON ¶
func (x *HandleWebPkgsViaPluginAssetsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleWebPkgsViaPluginAssetsResponse to JSON.
func (*HandleWebPkgsViaPluginAssetsResponse) MarshalProtoJSON ¶
func (x *HandleWebPkgsViaPluginAssetsResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleWebPkgsViaPluginAssetsResponse message to JSON.
func (*HandleWebPkgsViaPluginAssetsResponse) MarshalProtoText ¶
func (x *HandleWebPkgsViaPluginAssetsResponse) MarshalProtoText() string
func (*HandleWebPkgsViaPluginAssetsResponse) MarshalToSizedBufferVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebPkgsViaPluginAssetsResponse) MarshalToVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebPkgsViaPluginAssetsResponse) MarshalVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse) MarshalVT() (dAtA []byte, err error)
func (*HandleWebPkgsViaPluginAssetsResponse) ProtoMessage ¶
func (*HandleWebPkgsViaPluginAssetsResponse) ProtoMessage()
func (*HandleWebPkgsViaPluginAssetsResponse) Reset ¶
func (x *HandleWebPkgsViaPluginAssetsResponse) Reset()
func (*HandleWebPkgsViaPluginAssetsResponse) SizeVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse) SizeVT() (n int)
func (*HandleWebPkgsViaPluginAssetsResponse) String ¶
func (x *HandleWebPkgsViaPluginAssetsResponse) String() string
func (*HandleWebPkgsViaPluginAssetsResponse) UnmarshalJSON ¶
func (x *HandleWebPkgsViaPluginAssetsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleWebPkgsViaPluginAssetsResponse from JSON.
func (*HandleWebPkgsViaPluginAssetsResponse) UnmarshalProtoJSON ¶
func (x *HandleWebPkgsViaPluginAssetsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleWebPkgsViaPluginAssetsResponse message from JSON.
func (*HandleWebPkgsViaPluginAssetsResponse) UnmarshalVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse) UnmarshalVT(dAtA []byte) error
type HandleWebPkgsViaPluginAssetsResponse_Ready ¶
type HandleWebPkgsViaPluginAssetsResponse_Ready struct {
// Ready indicates the service has been configured.
Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}
func (*HandleWebPkgsViaPluginAssetsResponse_Ready) CloneOneofVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) CloneOneofVT() isHandleWebPkgsViaPluginAssetsResponse_Body
func (*HandleWebPkgsViaPluginAssetsResponse_Ready) CloneVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) CloneVT() *HandleWebPkgsViaPluginAssetsResponse_Ready
func (*HandleWebPkgsViaPluginAssetsResponse_Ready) EqualVT ¶
func (this *HandleWebPkgsViaPluginAssetsResponse_Ready) EqualVT(thatIface isHandleWebPkgsViaPluginAssetsResponse_Body) bool
func (*HandleWebPkgsViaPluginAssetsResponse_Ready) MarshalToSizedBufferVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebPkgsViaPluginAssetsResponse_Ready) MarshalToVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebPkgsViaPluginAssetsResponse_Ready) SizeVT ¶
func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) SizeVT() (n int)
type HandleWebViewViaHandlersRequest ¶
type HandleWebViewViaHandlersRequest struct {
// Config is the web view handlers configuration.
Config *handler.WebViewHandlersConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
HandleWebViewViaHandlersRequest is a request to configure web view handlers.
func (*HandleWebViewViaHandlersRequest) CloneMessageVT ¶
func (m *HandleWebViewViaHandlersRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleWebViewViaHandlersRequest) CloneVT ¶
func (m *HandleWebViewViaHandlersRequest) CloneVT() *HandleWebViewViaHandlersRequest
func (*HandleWebViewViaHandlersRequest) EqualMessageVT ¶
func (this *HandleWebViewViaHandlersRequest) EqualMessageVT(thatMsg any) bool
func (*HandleWebViewViaHandlersRequest) EqualVT ¶
func (this *HandleWebViewViaHandlersRequest) EqualVT(that *HandleWebViewViaHandlersRequest) bool
func (*HandleWebViewViaHandlersRequest) GetConfig ¶
func (x *HandleWebViewViaHandlersRequest) GetConfig() *handler.WebViewHandlersConfig
func (*HandleWebViewViaHandlersRequest) MarshalJSON ¶
func (x *HandleWebViewViaHandlersRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleWebViewViaHandlersRequest to JSON.
func (*HandleWebViewViaHandlersRequest) MarshalProtoJSON ¶
func (x *HandleWebViewViaHandlersRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleWebViewViaHandlersRequest message to JSON.
func (*HandleWebViewViaHandlersRequest) MarshalProtoText ¶
func (x *HandleWebViewViaHandlersRequest) MarshalProtoText() string
func (*HandleWebViewViaHandlersRequest) MarshalToSizedBufferVT ¶
func (m *HandleWebViewViaHandlersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebViewViaHandlersRequest) MarshalToVT ¶
func (m *HandleWebViewViaHandlersRequest) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebViewViaHandlersRequest) MarshalVT ¶
func (m *HandleWebViewViaHandlersRequest) MarshalVT() (dAtA []byte, err error)
func (*HandleWebViewViaHandlersRequest) ProtoMessage ¶
func (*HandleWebViewViaHandlersRequest) ProtoMessage()
func (*HandleWebViewViaHandlersRequest) Reset ¶
func (x *HandleWebViewViaHandlersRequest) Reset()
func (*HandleWebViewViaHandlersRequest) SizeVT ¶
func (m *HandleWebViewViaHandlersRequest) SizeVT() (n int)
func (*HandleWebViewViaHandlersRequest) String ¶
func (x *HandleWebViewViaHandlersRequest) String() string
func (*HandleWebViewViaHandlersRequest) UnmarshalJSON ¶
func (x *HandleWebViewViaHandlersRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleWebViewViaHandlersRequest from JSON.
func (*HandleWebViewViaHandlersRequest) UnmarshalProtoJSON ¶
func (x *HandleWebViewViaHandlersRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleWebViewViaHandlersRequest message from JSON.
func (*HandleWebViewViaHandlersRequest) UnmarshalVT ¶
func (m *HandleWebViewViaHandlersRequest) UnmarshalVT(dAtA []byte) error
func (*HandleWebViewViaHandlersRequest) Validate ¶
func (m *HandleWebViewViaHandlersRequest) Validate() error
Validate validates the HandleWebViewViaHandlersRequest configuration.
type HandleWebViewViaHandlersResponse ¶
type HandleWebViewViaHandlersResponse struct {
// Types that are assignable to Body:
// *HandleWebViewViaHandlersResponse_Ready
Body isHandleWebViewViaHandlersResponse_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
HandleWebViewViaHandlersResponse is the response to HandleWebViewViaHandlers.
func (*HandleWebViewViaHandlersResponse) CloneMessageVT ¶
func (m *HandleWebViewViaHandlersResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleWebViewViaHandlersResponse) CloneVT ¶
func (m *HandleWebViewViaHandlersResponse) CloneVT() *HandleWebViewViaHandlersResponse
func (*HandleWebViewViaHandlersResponse) EqualMessageVT ¶
func (this *HandleWebViewViaHandlersResponse) EqualMessageVT(thatMsg any) bool
func (*HandleWebViewViaHandlersResponse) EqualVT ¶
func (this *HandleWebViewViaHandlersResponse) EqualVT(that *HandleWebViewViaHandlersResponse) bool
func (*HandleWebViewViaHandlersResponse) GetBody ¶
func (m *HandleWebViewViaHandlersResponse) GetBody() isHandleWebViewViaHandlersResponse_Body
func (*HandleWebViewViaHandlersResponse) GetReady ¶
func (x *HandleWebViewViaHandlersResponse) GetReady() bool
func (*HandleWebViewViaHandlersResponse) MarshalJSON ¶
func (x *HandleWebViewViaHandlersResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleWebViewViaHandlersResponse to JSON.
func (*HandleWebViewViaHandlersResponse) MarshalProtoJSON ¶
func (x *HandleWebViewViaHandlersResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleWebViewViaHandlersResponse message to JSON.
func (*HandleWebViewViaHandlersResponse) MarshalProtoText ¶
func (x *HandleWebViewViaHandlersResponse) MarshalProtoText() string
func (*HandleWebViewViaHandlersResponse) MarshalToSizedBufferVT ¶
func (m *HandleWebViewViaHandlersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebViewViaHandlersResponse) MarshalToVT ¶
func (m *HandleWebViewViaHandlersResponse) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebViewViaHandlersResponse) MarshalVT ¶
func (m *HandleWebViewViaHandlersResponse) MarshalVT() (dAtA []byte, err error)
func (*HandleWebViewViaHandlersResponse) ProtoMessage ¶
func (*HandleWebViewViaHandlersResponse) ProtoMessage()
func (*HandleWebViewViaHandlersResponse) Reset ¶
func (x *HandleWebViewViaHandlersResponse) Reset()
func (*HandleWebViewViaHandlersResponse) SizeVT ¶
func (m *HandleWebViewViaHandlersResponse) SizeVT() (n int)
func (*HandleWebViewViaHandlersResponse) String ¶
func (x *HandleWebViewViaHandlersResponse) String() string
func (*HandleWebViewViaHandlersResponse) UnmarshalJSON ¶
func (x *HandleWebViewViaHandlersResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleWebViewViaHandlersResponse from JSON.
func (*HandleWebViewViaHandlersResponse) UnmarshalProtoJSON ¶
func (x *HandleWebViewViaHandlersResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleWebViewViaHandlersResponse message from JSON.
func (*HandleWebViewViaHandlersResponse) UnmarshalVT ¶
func (m *HandleWebViewViaHandlersResponse) UnmarshalVT(dAtA []byte) error
type HandleWebViewViaHandlersResponse_Ready ¶
type HandleWebViewViaHandlersResponse_Ready struct {
// Ready indicates the handlers have been configured.
Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}
func (*HandleWebViewViaHandlersResponse_Ready) CloneOneofVT ¶
func (m *HandleWebViewViaHandlersResponse_Ready) CloneOneofVT() isHandleWebViewViaHandlersResponse_Body
func (*HandleWebViewViaHandlersResponse_Ready) CloneVT ¶
func (m *HandleWebViewViaHandlersResponse_Ready) CloneVT() *HandleWebViewViaHandlersResponse_Ready
func (*HandleWebViewViaHandlersResponse_Ready) EqualVT ¶
func (this *HandleWebViewViaHandlersResponse_Ready) EqualVT(thatIface isHandleWebViewViaHandlersResponse_Body) bool
func (*HandleWebViewViaHandlersResponse_Ready) MarshalToSizedBufferVT ¶
func (m *HandleWebViewViaHandlersResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebViewViaHandlersResponse_Ready) MarshalToVT ¶
func (m *HandleWebViewViaHandlersResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebViewViaHandlersResponse_Ready) SizeVT ¶
func (m *HandleWebViewViaHandlersResponse_Ready) SizeVT() (n int)
type HandleWebViewViaPluginRequest ¶
type HandleWebViewViaPluginRequest struct {
// HandlePluginId is the plugin the web plugin should send WebViews to.
HandlePluginId string `protobuf:"bytes,1,opt,name=handle_plugin_id,json=handlePluginId,proto3" json:"handlePluginId,omitempty"`
// WebViewIdRe is the regex of web view IDs to handle with handlePluginId.
// If empty, will forward any.
WebViewIdRe string `protobuf:"bytes,2,opt,name=web_view_id_re,json=webViewIdRe,proto3" json:"webViewIdRe,omitempty"`
// contains filtered or unexported fields
}
HandleWebViewViaPluginRequest is a request to handle web views via a plugin RPC.
func (*HandleWebViewViaPluginRequest) CloneMessageVT ¶
func (m *HandleWebViewViaPluginRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleWebViewViaPluginRequest) CloneVT ¶
func (m *HandleWebViewViaPluginRequest) CloneVT() *HandleWebViewViaPluginRequest
func (*HandleWebViewViaPluginRequest) EqualMessageVT ¶
func (this *HandleWebViewViaPluginRequest) EqualMessageVT(thatMsg any) bool
func (*HandleWebViewViaPluginRequest) EqualVT ¶
func (this *HandleWebViewViaPluginRequest) EqualVT(that *HandleWebViewViaPluginRequest) bool
func (*HandleWebViewViaPluginRequest) GetHandlePluginId ¶
func (x *HandleWebViewViaPluginRequest) GetHandlePluginId() string
func (*HandleWebViewViaPluginRequest) GetWebViewIdRe ¶
func (x *HandleWebViewViaPluginRequest) GetWebViewIdRe() string
func (*HandleWebViewViaPluginRequest) MarshalJSON ¶
func (x *HandleWebViewViaPluginRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleWebViewViaPluginRequest to JSON.
func (*HandleWebViewViaPluginRequest) MarshalProtoJSON ¶
func (x *HandleWebViewViaPluginRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleWebViewViaPluginRequest message to JSON.
func (*HandleWebViewViaPluginRequest) MarshalProtoText ¶
func (x *HandleWebViewViaPluginRequest) MarshalProtoText() string
func (*HandleWebViewViaPluginRequest) MarshalToSizedBufferVT ¶
func (m *HandleWebViewViaPluginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebViewViaPluginRequest) MarshalToVT ¶
func (m *HandleWebViewViaPluginRequest) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebViewViaPluginRequest) MarshalVT ¶
func (m *HandleWebViewViaPluginRequest) MarshalVT() (dAtA []byte, err error)
func (*HandleWebViewViaPluginRequest) ProtoMessage ¶
func (*HandleWebViewViaPluginRequest) ProtoMessage()
func (*HandleWebViewViaPluginRequest) Reset ¶
func (x *HandleWebViewViaPluginRequest) Reset()
func (*HandleWebViewViaPluginRequest) SizeVT ¶
func (m *HandleWebViewViaPluginRequest) SizeVT() (n int)
func (*HandleWebViewViaPluginRequest) String ¶
func (x *HandleWebViewViaPluginRequest) String() string
func (*HandleWebViewViaPluginRequest) UnmarshalJSON ¶
func (x *HandleWebViewViaPluginRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleWebViewViaPluginRequest from JSON.
func (*HandleWebViewViaPluginRequest) UnmarshalProtoJSON ¶
func (x *HandleWebViewViaPluginRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleWebViewViaPluginRequest message from JSON.
func (*HandleWebViewViaPluginRequest) UnmarshalVT ¶
func (m *HandleWebViewViaPluginRequest) UnmarshalVT(dAtA []byte) error
func (*HandleWebViewViaPluginRequest) Validate ¶
func (m *HandleWebViewViaPluginRequest) Validate() error
Validate validates the HandleWebViewViaPluginRequest configuration.
type HandleWebViewViaPluginResponse ¶
type HandleWebViewViaPluginResponse struct {
// Types that are assignable to Body:
// *HandleWebViewViaPluginResponse_Ready
Body isHandleWebViewViaPluginResponse_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
HandleWebViewViaPluginResponse is the response to HandleWebViewViaPlugin.
func (*HandleWebViewViaPluginResponse) CloneMessageVT ¶
func (m *HandleWebViewViaPluginResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HandleWebViewViaPluginResponse) CloneVT ¶
func (m *HandleWebViewViaPluginResponse) CloneVT() *HandleWebViewViaPluginResponse
func (*HandleWebViewViaPluginResponse) EqualMessageVT ¶
func (this *HandleWebViewViaPluginResponse) EqualMessageVT(thatMsg any) bool
func (*HandleWebViewViaPluginResponse) EqualVT ¶
func (this *HandleWebViewViaPluginResponse) EqualVT(that *HandleWebViewViaPluginResponse) bool
func (*HandleWebViewViaPluginResponse) GetBody ¶
func (m *HandleWebViewViaPluginResponse) GetBody() isHandleWebViewViaPluginResponse_Body
func (*HandleWebViewViaPluginResponse) GetReady ¶
func (x *HandleWebViewViaPluginResponse) GetReady() bool
func (*HandleWebViewViaPluginResponse) MarshalJSON ¶
func (x *HandleWebViewViaPluginResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HandleWebViewViaPluginResponse to JSON.
func (*HandleWebViewViaPluginResponse) MarshalProtoJSON ¶
func (x *HandleWebViewViaPluginResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HandleWebViewViaPluginResponse message to JSON.
func (*HandleWebViewViaPluginResponse) MarshalProtoText ¶
func (x *HandleWebViewViaPluginResponse) MarshalProtoText() string
func (*HandleWebViewViaPluginResponse) MarshalToSizedBufferVT ¶
func (m *HandleWebViewViaPluginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebViewViaPluginResponse) MarshalToVT ¶
func (m *HandleWebViewViaPluginResponse) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebViewViaPluginResponse) MarshalVT ¶
func (m *HandleWebViewViaPluginResponse) MarshalVT() (dAtA []byte, err error)
func (*HandleWebViewViaPluginResponse) ProtoMessage ¶
func (*HandleWebViewViaPluginResponse) ProtoMessage()
func (*HandleWebViewViaPluginResponse) Reset ¶
func (x *HandleWebViewViaPluginResponse) Reset()
func (*HandleWebViewViaPluginResponse) SizeVT ¶
func (m *HandleWebViewViaPluginResponse) SizeVT() (n int)
func (*HandleWebViewViaPluginResponse) String ¶
func (x *HandleWebViewViaPluginResponse) String() string
func (*HandleWebViewViaPluginResponse) UnmarshalJSON ¶
func (x *HandleWebViewViaPluginResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HandleWebViewViaPluginResponse from JSON.
func (*HandleWebViewViaPluginResponse) UnmarshalProtoJSON ¶
func (x *HandleWebViewViaPluginResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HandleWebViewViaPluginResponse message from JSON.
func (*HandleWebViewViaPluginResponse) UnmarshalVT ¶
func (m *HandleWebViewViaPluginResponse) UnmarshalVT(dAtA []byte) error
type HandleWebViewViaPluginResponse_Ready ¶
type HandleWebViewViaPluginResponse_Ready struct {
// Ready indicates the service to forward rpcs has been started.
Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}
func (*HandleWebViewViaPluginResponse_Ready) CloneOneofVT ¶
func (m *HandleWebViewViaPluginResponse_Ready) CloneOneofVT() isHandleWebViewViaPluginResponse_Body
func (*HandleWebViewViaPluginResponse_Ready) CloneVT ¶
func (m *HandleWebViewViaPluginResponse_Ready) CloneVT() *HandleWebViewViaPluginResponse_Ready
func (*HandleWebViewViaPluginResponse_Ready) EqualVT ¶
func (this *HandleWebViewViaPluginResponse_Ready) EqualVT(thatIface isHandleWebViewViaPluginResponse_Body) bool
func (*HandleWebViewViaPluginResponse_Ready) MarshalToSizedBufferVT ¶
func (m *HandleWebViewViaPluginResponse_Ready) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HandleWebViewViaPluginResponse_Ready) MarshalToVT ¶
func (m *HandleWebViewViaPluginResponse_Ready) MarshalToVT(dAtA []byte) (int, error)
func (*HandleWebViewViaPluginResponse_Ready) SizeVT ¶
func (m *HandleWebViewViaPluginResponse_Ready) SizeVT() (n int)
type LookupDesktop ¶
type LookupDesktop interface {
// Directive indicates LookupDesktop is a directive.
directive.Directive
// IsLookupDesktop marks the directive type.
IsLookupDesktop()
}
LookupDesktop resolves the plugin's desktop controller without starting it.
func NewLookupDesktop ¶
func NewLookupDesktop() LookupDesktop
NewLookupDesktop constructs a lookup of the plugin's desktop controller.
type OpenOrFocusDesktopRequest ¶
type OpenOrFocusDesktopRequest struct {
// Route is an optional in-app route; empty opens or focuses the main window.
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 identifies the route to open in the desktop shell.
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 {
// Generation identifies the acknowledged shell lifetime within this plugin controller.
Generation uint64 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"`
// contains filtered or unexported fields
}
OpenOrFocusDesktopResponse acknowledges Electron main's open or focus operation.
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) GetGeneration ¶
func (x *OpenOrFocusDesktopResponse) GetGeneration() uint64
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 SRPCWebPluginClient ¶
type SRPCWebPluginClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
// OpenOrFocusDesktop forwards explicit desktop demand to this plugin's Electron controller.
OpenOrFocusDesktop(ctx context.Context, in *OpenOrFocusDesktopRequest) (*OpenOrFocusDesktopResponse, error)
// WatchDesktopPresence observes the shell generation acknowledged by OpenOrFocusDesktop.
WatchDesktopPresence(ctx context.Context, in *WatchDesktopPresenceRequest) (SRPCWebPlugin_WatchDesktopPresenceClient, error)
// WaitDesktopExit returns the selected shell generation's terminal owner state, including after exit.
WaitDesktopExit(ctx context.Context, in *WatchDesktopPresenceRequest) (*WatchDesktopPresenceResponse, error)
// HandleWebViewViaPlugin configures handling web views via a plugin.
HandleWebViewViaPlugin(ctx context.Context, in *HandleWebViewViaPluginRequest) (SRPCWebPlugin_HandleWebViewViaPluginClient, error)
// HandleWebPkgViaPlugin configures handling web packages via a plugin.
HandleWebPkgViaPlugin(ctx context.Context, in *HandleWebPkgViaPluginRequest) (SRPCWebPlugin_HandleWebPkgViaPluginClient, error)
// HandleRpcViaPlugin configures handling rpcs via a plugin.
HandleRpcViaPlugin(ctx context.Context, in *HandleRpcViaPluginRequest) (SRPCWebPlugin_HandleRpcViaPluginClient, error)
// HandleWebViewViaHandlers configures web view handlers with filtering.
HandleWebViewViaHandlers(ctx context.Context, in *HandleWebViewViaHandlersRequest) (SRPCWebPlugin_HandleWebViewViaHandlersClient, error)
// HandleWebPkgsViaPluginAssets configures serving web pkgs via a plugin assets fs.
HandleWebPkgsViaPluginAssets(ctx context.Context, in *HandleWebPkgsViaPluginAssetsRequest) (SRPCWebPlugin_HandleWebPkgsViaPluginAssetsClient, error)
}
func NewSRPCWebPluginClient ¶
func NewSRPCWebPluginClient(cc srpc.Client) SRPCWebPluginClient
func NewSRPCWebPluginClientWithServiceID ¶
func NewSRPCWebPluginClientWithServiceID(cc srpc.Client, serviceID string) SRPCWebPluginClient
type SRPCWebPluginHandler ¶
type SRPCWebPluginHandler struct {
// contains filtered or unexported fields
}
func (SRPCWebPluginHandler) GetMethodIDs ¶
func (SRPCWebPluginHandler) GetMethodIDs() []string
func (*SRPCWebPluginHandler) GetServiceID ¶
func (d *SRPCWebPluginHandler) GetServiceID() string
func (*SRPCWebPluginHandler) InvokeMethod ¶
func (SRPCWebPluginHandler) InvokeMethod_HandleRpcViaPlugin ¶
func (SRPCWebPluginHandler) InvokeMethod_HandleRpcViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error
func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgViaPlugin ¶
func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error
func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgsViaPluginAssets ¶
func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgsViaPluginAssets(impl SRPCWebPluginServer, strm srpc.Stream) error
func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaHandlers ¶
func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaHandlers(impl SRPCWebPluginServer, strm srpc.Stream) error
func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaPlugin ¶
func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error
func (SRPCWebPluginHandler) InvokeMethod_OpenOrFocusDesktop ¶
func (SRPCWebPluginHandler) InvokeMethod_OpenOrFocusDesktop(impl SRPCWebPluginServer, strm srpc.Stream) error
func (SRPCWebPluginHandler) InvokeMethod_WaitDesktopExit ¶
func (SRPCWebPluginHandler) InvokeMethod_WaitDesktopExit(impl SRPCWebPluginServer, strm srpc.Stream) error
func (SRPCWebPluginHandler) InvokeMethod_WatchDesktopPresence ¶
func (SRPCWebPluginHandler) InvokeMethod_WatchDesktopPresence(impl SRPCWebPluginServer, strm srpc.Stream) error
type SRPCWebPluginServer ¶
type SRPCWebPluginServer interface {
// OpenOrFocusDesktop forwards explicit desktop demand to this plugin's Electron controller.
OpenOrFocusDesktop(context.Context, *OpenOrFocusDesktopRequest) (*OpenOrFocusDesktopResponse, error)
// WatchDesktopPresence observes the shell generation acknowledged by OpenOrFocusDesktop.
WatchDesktopPresence(*WatchDesktopPresenceRequest, SRPCWebPlugin_WatchDesktopPresenceStream) error
// WaitDesktopExit returns the selected shell generation's terminal owner state, including after exit.
WaitDesktopExit(context.Context, *WatchDesktopPresenceRequest) (*WatchDesktopPresenceResponse, error)
// HandleWebViewViaPlugin configures handling web views via a plugin.
HandleWebViewViaPlugin(*HandleWebViewViaPluginRequest, SRPCWebPlugin_HandleWebViewViaPluginStream) error
// HandleWebPkgViaPlugin configures handling web packages via a plugin.
HandleWebPkgViaPlugin(*HandleWebPkgViaPluginRequest, SRPCWebPlugin_HandleWebPkgViaPluginStream) error
// HandleRpcViaPlugin configures handling rpcs via a plugin.
HandleRpcViaPlugin(*HandleRpcViaPluginRequest, SRPCWebPlugin_HandleRpcViaPluginStream) error
// HandleWebViewViaHandlers configures web view handlers with filtering.
HandleWebViewViaHandlers(*HandleWebViewViaHandlersRequest, SRPCWebPlugin_HandleWebViewViaHandlersStream) error
// HandleWebPkgsViaPluginAssets configures serving web pkgs via a plugin assets fs.
HandleWebPkgsViaPluginAssets(*HandleWebPkgsViaPluginAssetsRequest, SRPCWebPlugin_HandleWebPkgsViaPluginAssetsStream) error
}
type SRPCWebPlugin_HandleRpcViaPluginClient ¶
type SRPCWebPlugin_HandleRpcViaPluginClient interface {
srpc.Stream
Recv() (*HandleRpcViaPluginResponse, error)
RecvTo(*HandleRpcViaPluginResponse) error
}
type SRPCWebPlugin_HandleRpcViaPluginStream ¶
type SRPCWebPlugin_HandleRpcViaPluginStream interface {
srpc.Stream
Send(*HandleRpcViaPluginResponse) error
SendAndClose(*HandleRpcViaPluginResponse) error
}
type SRPCWebPlugin_HandleWebPkgViaPluginClient ¶
type SRPCWebPlugin_HandleWebPkgViaPluginClient interface {
srpc.Stream
Recv() (*HandleWebPkgViaPluginResponse, error)
RecvTo(*HandleWebPkgViaPluginResponse) error
}
type SRPCWebPlugin_HandleWebPkgViaPluginStream ¶
type SRPCWebPlugin_HandleWebPkgViaPluginStream interface {
srpc.Stream
Send(*HandleWebPkgViaPluginResponse) error
SendAndClose(*HandleWebPkgViaPluginResponse) error
}
type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsClient ¶
type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsClient interface {
srpc.Stream
Recv() (*HandleWebPkgsViaPluginAssetsResponse, error)
RecvTo(*HandleWebPkgsViaPluginAssetsResponse) error
}
type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsStream ¶
type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsStream interface {
srpc.Stream
Send(*HandleWebPkgsViaPluginAssetsResponse) error
SendAndClose(*HandleWebPkgsViaPluginAssetsResponse) error
}
type SRPCWebPlugin_HandleWebViewViaHandlersClient ¶
type SRPCWebPlugin_HandleWebViewViaHandlersClient interface {
srpc.Stream
Recv() (*HandleWebViewViaHandlersResponse, error)
RecvTo(*HandleWebViewViaHandlersResponse) error
}
type SRPCWebPlugin_HandleWebViewViaHandlersStream ¶
type SRPCWebPlugin_HandleWebViewViaHandlersStream interface {
srpc.Stream
Send(*HandleWebViewViaHandlersResponse) error
SendAndClose(*HandleWebViewViaHandlersResponse) error
}
type SRPCWebPlugin_HandleWebViewViaPluginClient ¶
type SRPCWebPlugin_HandleWebViewViaPluginClient interface {
srpc.Stream
Recv() (*HandleWebViewViaPluginResponse, error)
RecvTo(*HandleWebViewViaPluginResponse) error
}
type SRPCWebPlugin_HandleWebViewViaPluginStream ¶
type SRPCWebPlugin_HandleWebViewViaPluginStream interface {
srpc.Stream
Send(*HandleWebViewViaPluginResponse) error
SendAndClose(*HandleWebViewViaPluginResponse) error
}
type SRPCWebPlugin_WatchDesktopPresenceClient ¶
type SRPCWebPlugin_WatchDesktopPresenceClient interface {
srpc.Stream
Recv() (*WatchDesktopPresenceResponse, error)
RecvTo(*WatchDesktopPresenceResponse) error
}
type SRPCWebPlugin_WatchDesktopPresenceStream ¶
type SRPCWebPlugin_WatchDesktopPresenceStream interface {
srpc.Stream
Send(*WatchDesktopPresenceResponse) error
SendAndClose(*WatchDesktopPresenceResponse) error
}
type WatchDesktopPresenceRequest ¶
type WatchDesktopPresenceRequest struct {
// Generation is the value returned by OpenOrFocusDesktop.
Generation uint64 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"`
// contains filtered or unexported fields
}
WatchDesktopPresenceRequest identifies the shell lifetime to observe.
func (*WatchDesktopPresenceRequest) CloneMessageVT ¶
func (m *WatchDesktopPresenceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchDesktopPresenceRequest) CloneVT ¶
func (m *WatchDesktopPresenceRequest) CloneVT() *WatchDesktopPresenceRequest
func (*WatchDesktopPresenceRequest) EqualMessageVT ¶
func (this *WatchDesktopPresenceRequest) EqualMessageVT(thatMsg any) bool
func (*WatchDesktopPresenceRequest) EqualVT ¶
func (this *WatchDesktopPresenceRequest) EqualVT(that *WatchDesktopPresenceRequest) bool
func (*WatchDesktopPresenceRequest) GetGeneration ¶
func (x *WatchDesktopPresenceRequest) GetGeneration() uint64
func (*WatchDesktopPresenceRequest) MarshalJSON ¶
func (x *WatchDesktopPresenceRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchDesktopPresenceRequest to JSON.
func (*WatchDesktopPresenceRequest) MarshalProtoJSON ¶
func (x *WatchDesktopPresenceRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchDesktopPresenceRequest message to JSON.
func (*WatchDesktopPresenceRequest) MarshalProtoText ¶
func (x *WatchDesktopPresenceRequest) MarshalProtoText() string
func (*WatchDesktopPresenceRequest) MarshalToSizedBufferVT ¶
func (m *WatchDesktopPresenceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchDesktopPresenceRequest) MarshalToVT ¶
func (m *WatchDesktopPresenceRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchDesktopPresenceRequest) MarshalVT ¶
func (m *WatchDesktopPresenceRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchDesktopPresenceRequest) ProtoMessage ¶
func (*WatchDesktopPresenceRequest) ProtoMessage()
func (*WatchDesktopPresenceRequest) Reset ¶
func (x *WatchDesktopPresenceRequest) Reset()
func (*WatchDesktopPresenceRequest) SizeVT ¶
func (m *WatchDesktopPresenceRequest) SizeVT() (n int)
func (*WatchDesktopPresenceRequest) String ¶
func (x *WatchDesktopPresenceRequest) String() string
func (*WatchDesktopPresenceRequest) UnmarshalJSON ¶
func (x *WatchDesktopPresenceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchDesktopPresenceRequest from JSON.
func (*WatchDesktopPresenceRequest) UnmarshalProtoJSON ¶
func (x *WatchDesktopPresenceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchDesktopPresenceRequest message from JSON.
func (*WatchDesktopPresenceRequest) UnmarshalVT ¶
func (m *WatchDesktopPresenceRequest) UnmarshalVT(dAtA []byte) error
type WatchDesktopPresenceResponse ¶
type WatchDesktopPresenceResponse struct {
// State first reports active or ended, then reports ended when an active shell exits.
State DesktopPresenceState `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
// Error describes a failed shell exit; empty on a normal end or while active.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
WatchDesktopPresenceResponse reports the selected generation's current state.
func (*WatchDesktopPresenceResponse) CloneMessageVT ¶
func (m *WatchDesktopPresenceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchDesktopPresenceResponse) CloneVT ¶
func (m *WatchDesktopPresenceResponse) CloneVT() *WatchDesktopPresenceResponse
func (*WatchDesktopPresenceResponse) EqualMessageVT ¶
func (this *WatchDesktopPresenceResponse) EqualMessageVT(thatMsg any) bool
func (*WatchDesktopPresenceResponse) EqualVT ¶
func (this *WatchDesktopPresenceResponse) EqualVT(that *WatchDesktopPresenceResponse) bool
func (*WatchDesktopPresenceResponse) GetError ¶
func (x *WatchDesktopPresenceResponse) GetError() string
func (*WatchDesktopPresenceResponse) GetState ¶
func (x *WatchDesktopPresenceResponse) GetState() DesktopPresenceState
func (*WatchDesktopPresenceResponse) MarshalJSON ¶
func (x *WatchDesktopPresenceResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchDesktopPresenceResponse to JSON.
func (*WatchDesktopPresenceResponse) MarshalProtoJSON ¶
func (x *WatchDesktopPresenceResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchDesktopPresenceResponse message to JSON.
func (*WatchDesktopPresenceResponse) MarshalProtoText ¶
func (x *WatchDesktopPresenceResponse) MarshalProtoText() string
func (*WatchDesktopPresenceResponse) MarshalToSizedBufferVT ¶
func (m *WatchDesktopPresenceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchDesktopPresenceResponse) MarshalToVT ¶
func (m *WatchDesktopPresenceResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WatchDesktopPresenceResponse) MarshalVT ¶
func (m *WatchDesktopPresenceResponse) MarshalVT() (dAtA []byte, err error)
func (*WatchDesktopPresenceResponse) ProtoMessage ¶
func (*WatchDesktopPresenceResponse) ProtoMessage()
func (*WatchDesktopPresenceResponse) Reset ¶
func (x *WatchDesktopPresenceResponse) Reset()
func (*WatchDesktopPresenceResponse) SizeVT ¶
func (m *WatchDesktopPresenceResponse) SizeVT() (n int)
func (*WatchDesktopPresenceResponse) String ¶
func (x *WatchDesktopPresenceResponse) String() string
func (*WatchDesktopPresenceResponse) UnmarshalJSON ¶
func (x *WatchDesktopPresenceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchDesktopPresenceResponse from JSON.
func (*WatchDesktopPresenceResponse) UnmarshalProtoJSON ¶
func (x *WatchDesktopPresenceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchDesktopPresenceResponse message from JSON.
func (*WatchDesktopPresenceResponse) UnmarshalVT ¶
func (m *WatchDesktopPresenceResponse) UnmarshalVT(dAtA []byte) error