admin

package
v0.64.8 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package admin hosts the host-side infra.admin module's UI assets + audit subsystem. The handler library lives in the sibling handler/ subpackage; the catalog lives in catalog/; the proto in proto/. This package itself exposes only the asset filesystem + audit writer surface the host module (workflow/module/infra_admin.go, T15) imports.

Design: docs/plans/2026-05-27-infra-admin-dynamic-design.md Plan: docs/plans/2026-05-27-infra-admin-dynamic.md (Tasks 13 + 14)

Index

Constants

This section is empty.

Variables

View Source
var AssetFS embed.FS

AssetFS embeds the static UI pages + scripts + styles authored in T10-T12 under ui_dist/. The host module (T15) mounts this via http.FileServerFS at config.AssetPrefix so the admin dashboard iframe can load resources.html / resource.html / new.html.

Per plan §Task 13. The glob covers the three file types the asset pages use (.html / .js / .css); future additions (icons, fonts) require both extending this glob AND updating TestAssetFS_ListsAllAndOnlyExpected so the test catches the change.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package audit hosts the JSONL audit-log writer used by the host-side infra.admin workflow module to record every admin action (read or future-mutating).
Package audit hosts the JSONL audit-log writer used by the host-side infra.admin workflow module to record every admin action (read or future-mutating).
Package catalog hosts the host-side FieldSpec catalog (covers all 13 typed `infra.*` Configs from workflow-plugin-infra), the region catalog, and the engine catalog.
Package catalog hosts the host-side FieldSpec catalog (covers all 13 typed `infra.*` Configs from workflow-plugin-infra), the region catalog, and the engine catalog.
Package handler hosts the infra.admin handler library — the shared business logic dispatched by both the host-side infra.admin workflow module's HTTP routes (T15) and the wfctl `infra admin *` CLI subcommands (T19-T20).
Package handler hosts the infra.admin handler library — the shared business logic dispatched by both the host-side infra.admin workflow module's HTTP routes (T15) and the wfctl `infra admin *` CLI subcommands (T19-T20).

Jump to

Keyboard shortcuts

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