Help us shape the future of Go! Take the 2026 Go Developer Survey

runtime

package
v0.0.0-...-53bc336 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package runtime serves the endpoints available on every node, whatever its instance mode. It holds the runtime write surface and never the admin one.

Index

Constants

View Source
const UpdateMaxRequestSize = 64 * 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler serves the endpoints that read, or write runtime-owned tables, including the Omaha entry point.

func New

func New(runtimeSvc *apiruntime.Service, conf *config.Config) *Handler

New creates the handler for the endpoints served on every node.

func (*Handler) ClearGroupUpdatesOverride

func (h *Handler) ClearGroupUpdatesOverride(ctx echo.Context, _ string, groupID string) error

ClearGroupUpdatesOverride releases the safe-mode brake this node tripped for itself. It writes group_local only, leaving the admin default on groups, which a control node replicates out, untouched.

func (*Handler) GetApp

func (h *Handler) GetApp(ctx echo.Context, appIDorProductID string) error

func (*Handler) GetChannel

func (h *Handler) GetChannel(ctx echo.Context, _ string, channelID string) error

func (*Handler) GetGroup

func (h *Handler) GetGroup(ctx echo.Context, _ string, groupID string) error

func (*Handler) GetGroupInstanceStats

func (h *Handler) GetGroupInstanceStats(ctx echo.Context, _ string, groupID string, params codegen.GetGroupInstanceStatsParams) error

func (*Handler) GetGroupInstances

func (h *Handler) GetGroupInstances(ctx echo.Context, appIDorProductID string, groupID string, params codegen.GetGroupInstancesParams) error

func (*Handler) GetGroupInstancesCount

func (h *Handler) GetGroupInstancesCount(ctx echo.Context, appIDorProductID string, groupID string, params codegen.GetGroupInstancesCountParams) error

func (*Handler) GetGroupStatusTimeline

func (h *Handler) GetGroupStatusTimeline(ctx echo.Context, _ string, groupID string, params codegen.GetGroupStatusTimelineParams) error

func (*Handler) GetGroupVersionBreakdown

func (h *Handler) GetGroupVersionBreakdown(ctx echo.Context, _ string, groupID string) error

func (*Handler) GetGroupVersionTimeline

func (h *Handler) GetGroupVersionTimeline(ctx echo.Context, _ string, groupID openapi_types.UUID, params codegen.GetGroupVersionTimelineParams) error

func (*Handler) GetInstance

func (h *Handler) GetInstance(ctx echo.Context, appIDorProductID string, _ string, instanceID string) error

func (*Handler) GetInstanceStatusHistory

func (h *Handler) GetInstanceStatusHistory(ctx echo.Context, appIDorProductID string, groupID string, instanceID string, params codegen.GetInstanceStatusHistoryParams) error

func (*Handler) GetPackage

func (h *Handler) GetPackage(ctx echo.Context, _ string, packageID string) error

func (*Handler) GetPackageFloorChannels

func (h *Handler) GetPackageFloorChannels(ctx echo.Context, _ string, packageID string) error

GetPackageFloorChannels handles requests for channels where a package is a floor

func (*Handler) Omaha

func (h *Handler) Omaha(ctx echo.Context) error

func (*Handler) PaginateActivity

func (h *Handler) PaginateActivity(ctx echo.Context, params codegen.PaginateActivityParams) error

func (*Handler) PaginateApps

func (h *Handler) PaginateApps(ctx echo.Context, params codegen.PaginateAppsParams) error

func (*Handler) PaginateChannelFloors

func (h *Handler) PaginateChannelFloors(ctx echo.Context, channelID string, params codegen.PaginateChannelFloorsParams) error

PaginateChannelFloors handles paginated requests for channel floor packages

func (*Handler) PaginateChannels

func (h *Handler) PaginateChannels(ctx echo.Context, appIDorProductID string, params codegen.PaginateChannelsParams) error

func (*Handler) PaginateGroups

func (h *Handler) PaginateGroups(ctx echo.Context, appIDorProductID string, params codegen.PaginateGroupsParams) error

func (*Handler) PaginatePackages

func (h *Handler) PaginatePackages(ctx echo.Context, appIDorProductID string, params codegen.PaginatePackagesParams) error

func (*Handler) UpdateInstance

func (h *Handler) UpdateInstance(ctx echo.Context, instanceID string) error

Jump to

Keyboard shortcuts

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