webui

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: GPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartHttpServer

func StartHttpServer(frontendConfig *types.FrontendConfig, settingsSvc *config.Service, stateDB *db.Database, builderSvc *payload_builder.Service, epbsSvc *epbs.Service, lifecycleMgr *lifecycle.Manager, chainSvc chain.Service, validatorStore *validators.Store, builderAPISvc *builderapi.Server, propPrefSvc *proposerpreferences.Service, valRanges *validatorranges.Resolver) *api.APIHandler

func StartOverviewServer

func StartOverviewServer(cfg *OverviewConfig, log logrus.FieldLogger) error

StartOverviewServer starts the overview HTTP server. It serves the overview SPA bundle and exposes a small proxy API the UI uses to poll each instance's /api/buildoor/overview endpoint (so the browser doesn't need CORS to all of them).

Types

type OverviewConfig

type OverviewConfig struct {
	Host           string   // bind host (defaults to 0.0.0.0)
	Port           int      // bind port
	Hosts          []string // buildoor instance URLs (one per builder)
	InjectHeadHTML string   // optional <head> HTML snippet (falls back to BUILDOOR_INJECT_HEAD_HTML env var)
}

OverviewConfig configures the multi-instance overview HTTP server.

type OverviewHostEntry

type OverviewHostEntry struct {
	ID    int    `json:"id"`
	URL   string `json:"url"`
	Label string `json:"label"`
}

OverviewHostEntry is a single configured buildoor instance returned to the UI.

Directories

Path Synopsis
api
auth
Package auth bridges the buildoor web UI to a remote authenticatoor service.
Package auth bridges the buildoor web UI to a remote authenticatoor service.
docs
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

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