rpcserver

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxGoRoutineSearchResults = 1000 // Maximum number of goroutines to return from a search
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RpcServerImpl

type RpcServerImpl struct{}

func (*RpcServerImpl) ClearNonActiveAppRunsCommand added in v0.7.4

func (*RpcServerImpl) ClearNonActiveAppRunsCommand(ctx context.Context) error

ClearNonActiveAppRunsCommand removes all AppPeers for non-connected app runs

func (*RpcServerImpl) EventPublishCommand

func (*RpcServerImpl) EventPublishCommand(ctx context.Context, data rpctypes.EventType) error

func (*RpcServerImpl) EventReadHistoryCommand

func (*RpcServerImpl) EventReadHistoryCommand(ctx context.Context, data rpctypes.EventReadHistoryData) ([]*rpctypes.EventType, error)

func (*RpcServerImpl) EventSubCommand

func (*RpcServerImpl) EventSubCommand(ctx context.Context, data rpctypes.SubscriptionRequest) error

func (*RpcServerImpl) EventUnsubAllCommand

func (*RpcServerImpl) EventUnsubAllCommand(ctx context.Context) error

func (*RpcServerImpl) EventUnsubCommand

func (*RpcServerImpl) EventUnsubCommand(ctx context.Context, data string) error

func (*RpcServerImpl) GetAppRunGoRoutinesByIdsCommand

GetAppRunGoRoutinesByIdsCommand returns specific goroutines by their IDs for a specific app run

func (*RpcServerImpl) GetAppRunRuntimeStatsCommand

func (*RpcServerImpl) GetAppRunRuntimeStatsCommand(ctx context.Context, data rpctypes.AppRunRequest) (rpctypes.AppRunRuntimeStatsData, error)

GetAppRunRuntimeStatsCommand returns runtime stats for a specific app run

func (*RpcServerImpl) GetAppRunWatchesByIdsCommand

func (*RpcServerImpl) GetAppRunWatchesByIdsCommand(ctx context.Context, data rpctypes.AppRunWatchesByIdsRequest) (rpctypes.AppRunWatchesData, error)

GetAppRunWatchesByIdsCommand returns specific watches by their IDs for a specific app run

func (*RpcServerImpl) GetAppRunsCommand

GetAppRunsCommand returns a list of app runs If since > 0, only returns app runs that have been updated since the given timestamp

func (*RpcServerImpl) GetDemoAppStatusCommand added in v0.7.4

func (*RpcServerImpl) GetDemoAppStatusCommand(ctx context.Context) (string, error)

GetDemoAppStatusCommand returns the status of the demo application

func (*RpcServerImpl) GoRoutineSearchRequestCommand

GoRoutineSearchRequestCommand handles search requests for goroutines

func (*RpcServerImpl) KillDemoAppCommand added in v0.7.4

func (*RpcServerImpl) KillDemoAppCommand(ctx context.Context) error

KillDemoAppCommand kills the demo application

func (*RpcServerImpl) LaunchDemoAppCommand added in v0.7.4

func (*RpcServerImpl) LaunchDemoAppCommand(ctx context.Context) error

LaunchDemoAppCommand launches the demo application

func (*RpcServerImpl) LogGetMarkedLinesCommand

LogGetMarkedLinesCommand retrieves all marked log lines for a widget

func (*RpcServerImpl) LogSearchRequestCommand

func (*RpcServerImpl) LogSearchRequestCommand(ctx context.Context, data rpctypes.SearchRequestData) (rpctypes.SearchResultData, error)

LogSearchRequestCommand handles search requests for logs

func (*RpcServerImpl) LogUpdateMarkedLinesCommand

func (*RpcServerImpl) LogUpdateMarkedLinesCommand(ctx context.Context, data rpctypes.MarkedLinesData) error

LogUpdateMarkedLinesCommand handles updating marked lines for a widget

func (*RpcServerImpl) LogWidgetAdminCommand

func (*RpcServerImpl) LogWidgetAdminCommand(ctx context.Context, data rpctypes.LogWidgetAdminData) error

LogWidgetAdminCommand handles widget administration requests

func (*RpcServerImpl) RpcServerImpl

func (*RpcServerImpl) RpcServerImpl()

func (*RpcServerImpl) SendTEventFeCommand

func (*RpcServerImpl) SendTEventFeCommand(ctx context.Context, data rpctypes.TEventFeData) error

SendTEventFeCommand sends a telemetry event from the frontend

func (*RpcServerImpl) TriggerTrayUpdateCommand

func (*RpcServerImpl) TriggerTrayUpdateCommand(ctx context.Context) error

TriggerTrayUpdateCommand triggers an update check in the tray app

func (*RpcServerImpl) UpdateBrowserTabUrlCommand

func (*RpcServerImpl) UpdateBrowserTabUrlCommand(ctx context.Context, data rpctypes.BrowserTabUrlData) error

UpdateBrowserTabUrlCommand updates the URL for a browser tab

func (*RpcServerImpl) UpdateCheckCommand

func (*RpcServerImpl) UpdateCheckCommand(ctx context.Context) (rpctypes.UpdateCheckData, error)

UpdateCheckCommand returns information about available updates

func (*RpcServerImpl) WatchSearchRequestCommand

WatchSearchRequestCommand handles search requests for watches

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL