coordinator_api

command module
v0.0.0-...-64ba06e Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

README

coordinator_api

This is a go web server providing the meat of an API that will validate authenticated users at a basic level, and part of a monorepo example to run in k8s with multiple services/tools.

See the github repo for the rest of the project.

This sub-project should contain tests that use an actual postgres db but the only requirements for testing or running are environment variables.

Testing

To run tests, you'll need a PostgreSQL database running. You can start one using Docker as an example:

docker run -d --rm --name postgres-test -e POSTGRES_USER=devuser -e POSTGRES_PASSWORD=devpass -e POSTGRES_DB=testpg -p 5432:5432 postgres:17

Then run tests with:

go test ./test -v

The test suite automatically runs migrations and uses transactional rollback for isolation, using the DataUtils pattern.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
auth
Package auth is the auth core for the reactorcide management UI: REACTORCIDE_UI_AUTH_MODE config, LinkKeys local-RP and regular-RP login backends, encrypted credential storage, trusted-identity/domain-pattern admission, single-use login attempts, identity->user provisioning (including first-admin and bootstrap-admin grants), and opaque session tokens.
Package auth is the auth core for the reactorcide management UI: REACTORCIDE_UI_AUTH_MODE config, LinkKeys local-RP and regular-RP login backends, encrypted credential storage, trusted-identity/domain-pattern admission, single-use login attempts, identity->user provisioning (including first-admin and bootstrap-admin grants), and opaque session tokens.
authz
Package authz is the role-resolution, capability-computation, and visibility-filtering core for the reactorcide management UI (Task D).
Package authz is the role-resolution, capability-computation, and visibility-filtering core for the reactorcide management UI (Task D).
corndogs/csilapi
Package corndogs contains generated service clients.
Package corndogs contains generated service clients.
jobcontrol
Package jobcontrol holds the execution-layer cancel/kill primitives for jobs and workflows, shared between the REST handlers (internal/handlers) and — in a later wave — the CSIL-RPC UI service.
Package jobcontrol holds the execution-layer cancel/kill primitives for jobs and workflows, shared between the REST handlers (internal/handlers) and — in a later wave — the CSIL-RPC UI service.
pubsub
Package pubsub provides in-memory fan-out of job-related events and a Postgres LISTEN/NOTIFY bridge so events cross coordinator replicas.
Package pubsub provides in-memory fan-out of job-related events and a Postgres LISTEN/NOTIFY bridge so events cross coordinator replicas.
secrets
Package secrets provides secret storage abstraction with multiple backend support.
Package secrets provides secret storage abstraction with multiple backend support.
store/ctxkey
Package ctxkey provides the transaction context key used by the store packages.
Package ctxkey provides the transaction context key used by the store packages.
uiapi
Package uiapi implements the coordinator-side CSIL-RPC dispatcher for the ReactorcideAuth and ReactorcideUi services (coordinator_api/csil/reactorcide-ui.csil).
Package uiapi implements the coordinator-side CSIL-RPC dispatcher for the ReactorcideAuth and ReactorcideUi services (coordinator_api/csil/reactorcide-ui.csil).
uiapi/csilapi
Package csilapi contains the self-contained canonical-CBOR codec.
Package csilapi contains the self-contained canonical-CBOR codec.
vcs

Jump to

Keyboard shortcuts

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