Directories
¶
| Path | Synopsis |
|---|---|
|
Package acquire implements the berth-acquire helper: a small binary injected into workload pods (via the SKA-439 mutating webhook) that gates pod startup on a Berth lease and, in runtime-singleton mode, keeps the lease renewed and enforces at-most-once by stopping the main container when the lease is lost.
|
Package acquire implements the berth-acquire helper: a small binary injected into workload pods (via the SKA-439 mutating webhook) that gates pod startup on a Berth lease and, in runtime-singleton mode, keeps the lease renewed and enforces at-most-once by stopping the main container when the lease is lost. |
|
Package api provides the HTTP server and routing for the Berth API server.
|
Package api provides the HTTP server and routing for the Berth API server. |
|
Package auth provides authentication primitives for the Berth API server.
|
Package auth provides authentication primitives for the Berth API server. |
|
Package clientauth holds the auth and TLS plumbing shared by Berth components that talk to the central API server as clients: the operator, and the injected berth-acquire helper.
|
Package clientauth holds the auth and TLS plumbing shared by Berth components that talk to the central API server as clients: the operator, and the injected berth-acquire helper. |
|
Package console provides the web console server for Berth.
|
Package console provides the web console server for Berth. |
|
Package k8s provides Kubernetes client initialization for Berth components.
|
Package k8s provides Kubernetes client initialization for Berth components. |
|
Package lease implements Berth's lease coordination semantics.
|
Package lease implements Berth's lease coordination semantics. |
|
sqlstore
Package sqlstore implements lease.Store with database/sql.
|
Package sqlstore implements lease.Store with database/sql. |
|
Package load is the engine behind the Berth API-level load driver (test/load).
|
Package load is the engine behind the Berth API-level load driver (test/load). |
|
Package metrics holds the Prometheus instrumentation for the Berth API server: RED metrics on the HTTP lease handlers and latency on the backing lease.Store calls.
|
Package metrics holds the Prometheus instrumentation for the Berth API server: RED metrics on the HTTP lease handlers and latency on the backing lease.Store calls. |
|
Package operator implements the Kubernetes controller for Berth lease resources.
|
Package operator implements the Kubernetes controller for Berth lease resources. |
|
Package tenant provides tenant resolution for multi-tenant Berth deployments.
|
Package tenant provides tenant resolution for multi-tenant Berth deployments. |
|
Package webhook implements the mutating admission webhook that injects the berth-acquire helper into opt-in workload pods (SKA-439).
|
Package webhook implements the mutating admission webhook that injects the berth-acquire helper into opt-in workload pods (SKA-439). |
Click to show internal directories.
Click to hide internal directories.