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. |
|
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). |
|
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 ships audit records to downstream SIEM sinks (Splunk, Sentinel, Elastic).
|
Package export ships audit records to downstream SIEM sinks (Splunk, Sentinel, Elastic). |
|
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). |
|
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). |
|
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). |
|
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). |
Click to show internal directories.
Click to hide internal directories.