api

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: BSD-3-Clause-Clear Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigHistoryLimit = storage.ConfigHistoryLimit

Variables

View Source
var (
	CtxGetLog  = context.CtxGetLog
	CtxWithLog = context.CtxWithLog
)
View Source
var EchoError = server.EchoError

Functions

func CtxGetUser

func CtxGetUser(ctx Context) *users.User

func RegisterHandlers

func RegisterHandlers(e *echo.Echo, storage *storage.Storage, a auth.Provider)

Types

type AppliedConfigs

type AppliedConfigs = storage.AppliedConfigs

type AppsStatesResp

type AppsStatesResp struct {
	AppsStates []storage.AppsStates `json:"apps_states"`
}

type ConfigFile

type ConfigFile = storage.ConfigFile

type ConfigFileSet

type ConfigFileSet = storage.ConfigFileSet

type Context

type Context = context.Context

func CtxWithUser

func CtxWithUser(ctx Context, user *users.User) Context

type Device

type Device = storage.Device

type DeviceListItem

type DeviceListItem = storage.DeviceListItem

type DeviceListOpts

type DeviceListOpts = storage.DeviceListOpts

type DeviceUpdateEvent

type DeviceUpdateEvent = storage.DeviceUpdateEvent

type LabelsPutReq

type LabelsPutReq map[string]*string

type LabelsReq

type LabelsReq struct {
	Upserts map[string]string
	Deletes []string
}

type Rollout

type Rollout = storage.Rollout

type TargetTest

type TargetTest = storage.TargetTest

type Update

type Update = storage.Update

type UpdateTufResp

type UpdateTufResp map[string]map[string]any

Jump to

Keyboard shortcuts

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