Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hoplock-control
command
Command hoplock-control is the Hoplock Control server: both listeners (M2) and the operator subcommands.
|
Command hoplock-control is the Hoplock Control server: both listeners (M2) and the operator subcommands. |
|
pdpconform
command
Command pdpconform is the black-box conformance suite for the south-bound contract (PLAN M1).
|
Command pdpconform is the black-box conformance suite for the south-bound contract (PLAN M1). |
|
policyctl
command
Command policyctl is the policy lifecycle from a terminal: validate, diff, simulate, apply and explain, plus the version history and activation.
|
Command policyctl is the policy lifecycle from a terminal: validate, diff, simulate, apply and explain, plus the version history and activation. |
|
Package ext is the public extension seam of Hoplock Control: the only package in this module that is importable from outside it.
|
Package ext is the public extension seam of Hoplock Control: the only package in this module that is importable from outside it. |
|
internal
|
|
|
access
Package access owns time-boxed grants (PLAN M10): creating one, reading it, revoking it, and the requests that precede one when a Hoplock Enterprise approval workflow is registered (ext.GrantWorkflow).
|
Package access owns time-boxed grants (PLAN M10): creating one, reading it, revoking it, and the requests that precede one when a Hoplock Enterprise approval workflow is registered (ext.GrantWorkflow). |
|
accessctx
Package accessctx is external access context (PLAN M16): the framework around ext.AccessContextProvider that lets a system outside Hoplock open a time-boxed, target-scoped window — by push, by probe, or by both — without that system's software becoming an unaudited access-granting API.
|
Package accessctx is external access context (PLAN M16): the framework around ext.AccessContextProvider that lets a system outside Hoplock open a time-boxed, target-scoped window — by push, by probe, or by both — without that system's software becoming an unaudited access-granting API. |
|
accessctx/declarative
Package declarative is Control's own access-context provider (M16, M15): a probe and a push mapping configured rather than coded, sufficient for most scanners and ITSM systems.
|
Package declarative is Control's own access-context provider (M16, M15): a probe and a push mapping configured rather than coded, sufficient for most scanners and ITSM systems. |
|
action
Package action is Control's side of the inbound action channel (0039, M15): the ext.ActionExecutor a registered ext.ActionHandler acts through, and the lifecycle that starts that handler.
|
Package action is Control's side of the inbound action channel (0039, M15): the ext.ActionExecutor a registered ext.ActionHandler acts through, and the lifecycle that starts that handler. |
|
archive
Package archive feeds a registered ext.ArchiveStore everything the audit store records (0025, PLAN §7, M8): every committed record, per tenant and stream in ascending sequence, at least once, and each session capture once its record is confirmed.
|
Package archive feeds a registered ext.ArchiveStore everything the audit store records (0025, PLAN §7, M8): every committed record, per tenant and stream in ascending sequence, at least once, and each session capture once its record is confirmed. |
|
audit
Package audit is the append-only, tamper-evident record: ingest that is idempotent on the client-assigned record id, the per-stream hash chain, the verifier, the query API, and retention (PLAN M8).
|
Package audit is the append-only, tamper-evident record: ingest that is idempotent on the client-assigned record id, the per-stream hash chain, the verifier, the query API, and retention (PLAN M8). |
|
authoring
Package authoring is the policy lifecycle behind the north-bound surface (0019): validate, upload, diff, activate and apply a bundle, and say — before anything is published — what the fleet and the estate can actually serve.
|
Package authoring is the policy lifecycle behind the north-bound surface (0019): validate, upload, diff, activate and apply a bundle, and say — before anything is published — what the fleet and the estate can actually serve. |
|
config
Package config loads the server's YAML configuration file (PLAN §8).
|
Package config loads the server's YAML configuration file (PLAN §8). |
|
console
Package console serves the operator console (phases 0049–0060, PLAN M20, M21, M27): the single-page app built from ui/ into dist/, embedded in the binary so that a deployment is still one process, and served under /console/ on the north-bound listener and nowhere else.
|
Package console serves the operator console (phases 0049–0060, PLAN M20, M21, M27): the single-page app built from ui/ into dist/, embedded in the binary so that a deployment is still one process, and served under /console/ on the north-bound listener and nowhere else. |
|
contract
Package contract holds the generated Go types and handler plumbing for the south-bound API vendored under contract/ (PLAN M1).
|
Package contract holds the generated Go types and handler plumbing for the south-bound API vendored under contract/ (PLAN M1). |
|
credential
Package credential brokers the credentials a proxy uses to reach a target, including the SSH certificate authority (proxy D6a).
|
Package credential brokers the credentials a proxy uses to reach a target, including the SSH certificate authority (proxy D6a). |
|
daemon
Package daemon is Hoplock Control's command line and its bring-up: the daemon that serves both listeners (M2), and the operator subcommands — migrate, seed, audit-verify, audit-retention, identity and ca.
|
Package daemon is Hoplock Control's command line and its bring-up: the daemon that serves both listeners (M2), and the operator subcommands — migrate, seed, audit-verify, audit-retention, identity and ca. |
|
decision
Package decision is the composition root for an authorize call: gather identity, target labels, grants, the fleet path, and connection metadata, evaluate, build the snapshot, write the decision record, and decide whether to issue a cache hint.
|
Package decision is the composition root for an authorize call: gather identity, target labels, grants, the fleet path, and connection metadata, evaluate, build the snapshot, write the decision record, and decide whether to issue a cache hint. |
|
export
Package export delivers the audit store to every registered ext.AuditSink (0026, PLAN §7, M8): every committed record of every tenant, per tenant and stream in ascending sequence, at least once, from a position Control keeps in the store per sink, tenant and stream.
|
Package export delivers the audit store to every registered ext.AuditSink (0026, PLAN §7, M8): every committed record of every tenant, per tenant and stream in ascending sequence, at least once, from a position Control keeps in the store per sink, tenant and stream. |
|
extdefault
Package extdefault is Control's own side of the extension seam: the implementations this repository registers into an ext.Registry before the server starts, so that a deployment with no Hoplock Enterprise present is a complete product rather than a set of holes (PLAN M15).
|
Package extdefault is Control's own side of the extension seam: the implementations this repository registers into an ext.Registry before the server starts, so that a deployment with no Hoplock Enterprise present is a complete product rather than a set of holes (PLAN M15). |
|
fleet
Package fleet owns the proxy graph: enrollment, heartbeat, zones, reachability, declared capabilities, and the pathfinding that turns "user here, target there" into a route (PLAN M6, M17).
|
Package fleet owns the proxy graph: enrollment, heartbeat, zones, reachability, declared capabilities, and the pathfinding that turns "user here, target there" into a route (PLAN M6, M17). |
|
httpapi
Package httpapi holds the two HTTP surfaces and nothing they share by accident.
|
Package httpapi holds the two HTTP surfaces and nothing they share by accident. |
|
httpapi/north
Package north serves the operator-facing API on the north-bound listener: policy authoring and lifecycle, inventory, simulation, explanation, and audit query (PLAN M2).
|
Package north serves the operator-facing API on the north-bound listener: policy authoring and lifecycle, inventory, simulation, explanation, and audit query (PLAN M2). |
|
httpapi/south
Package south serves the proxy-facing contract on the south-bound listener (PLAN M2).
|
Package south serves the proxy-facing contract on the south-bound listener (PLAN M2). |
|
identity
Package identity resolves who is asking, and owns the MFA conversation end to end (PLAN §6, M7).
|
Package identity resolves who is asking, and owns the MFA conversation end to end (PLAN §6, M7). |
|
instance
Package instance is this deployment's own identity, its health at every level it has, and the outbound registration that makes it supervisable (0046, PLAN M19).
|
Package instance is this deployment's own identity, its health at every level it has, and the outbound registration that makes it supervisable (0046, PLAN M19). |
|
notify
Package notify delivers operator notifications: Control's own outbound webhook, and every ext.Notifier a host binary registered (M15).
|
Package notify delivers operator notifications: Control's own outbound webhook, and every ext.Notifier a host binary registered (M15). |
|
policy
Package policy is the pure policy pipeline: parse and validate a bundle (model), compile it into a decision program (compile), and evaluate that program against a closed input vocabulary (eval).
|
Package policy is the pure policy pipeline: parse and validate a bundle (model), compile it into a decision program (compile), and evaluate that program against a closed input vocabulary (eval). |
|
policy/compile
Package compile turns a validated policy bundle into a decision program (PLAN M3).
|
Package compile turns a validated policy bundle into a decision program (PLAN M3). |
|
policy/eval
Package eval executes a compiled decision program and produces the decision record that explains it: the inputs seen, the rules matched, the obligations emitted, and the resulting snapshot (PLAN M4).
|
Package eval executes a compiled decision program and produces the decision record that explains it: the inputs seen, the rules matched, the obligations emitted, and the resulting snapshot (PLAN M4). |
|
policy/model
Package model is the policy bundle as data: parsing, validation, and versioning of the authored document (PLAN M3).
|
Package model is the policy bundle as data: parsing, validation, and versioning of the authored document (PLAN M3). |
|
provision
Package provision is Control's side of identity provisioning (0040, M15): the ext.SyncSink a registered ext.IdentitySync applies what it learned through, and the lifecycle that starts that sync.
|
Package provision is Control's side of identity provisioning (0040, M15): the ext.SyncSink a registered ext.IdentitySync applies what it learned through, and the lifecycle that starts that sync. |
|
report
Package report serves every registered ext.ReportProvider (PLAN M15, §7 "Reports"): it lists what each provider offers a tenant, and generates one report on request.
|
Package report serves every registered ext.ReportProvider (PLAN M15, §7 "Reports"): it lists what each provider offers a tenant, and generates one report on request. |
|
revoke
Package revoke owns the event bus that fans an operator action out to every proxy that needs it: subscriptions, event ids, the replay buffer, and the resync answer when a subscriber has fallen too far behind (PLAN M9).
|
Package revoke owns the event bus that fans an operator action out to every proxy that needs it: subscriptions, event ids, the replay buffer, and the resync answer when a subscriber has fallen too far behind (PLAN M9). |
|
standing
Package standing places and lifts the standing denials Control applies above the policy engine: a subject lock and a target quarantine (PLAN M28).
|
Package standing places and lifts the standing denials Control applies above the policy engine: a subject lock and a target quarantine (PLAN M28). |
|
store
Package store holds the Postgres repositories and the forward-only SQL migrations that back them (PLAN M13).
|
Package store holds the Postgres repositories and the forward-only SQL migrations that back them (PLAN M13). |
|
store/migrations
Package migrations holds the forward-only SQL that builds the Postgres schema, embedded so that the server is one binary with nothing to install beside it (PLAN §3, M13).
|
Package migrations holds the forward-only SQL that builds the Postgres schema, embedded so that the server is one binary with nothing to install beside it (PLAN §3, M13). |
|
store/storetest
Package storetest is the Postgres-backed test harness every phase from 0003 onwards builds its store fixtures with.
|
Package storetest is the Postgres-backed test harness every phase from 0003 onwards builds its store fixtures with. |
|
Package server starts Hoplock Control from a host binary (M15).
|
Package server starts Hoplock Control from a host binary (M15). |
|
ui
|
|
|
e2e/fixture/host
command
Command host is the server the console's browser checks run against (0050, 0055): Hoplock Control exactly as hoplock-control is, plus one identity sync, registered in the host's registry as a host registers its own (M15).
|
Command host is the server the console's browser checks run against (0050, 0055): Hoplock Control exactly as hoplock-control is, plus one identity sync, registered in the host's registry as a host registers its own (M15). |
Click to show internal directories.
Click to hide internal directories.