Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1alpha1
Package v1alpha1 defines the Kubernetes custom resource types for the Berth lease coordination API.
|
Package v1alpha1 defines the Kubernetes custom resource types for the Berth lease coordination API. |
|
cmd
|
|
|
apiserver
command
|
|
|
berth
command
|
|
|
berth-acquire
command
Command berth-acquire is the injected lease helper.
|
Command berth-acquire is the injected lease helper. |
|
berth-oidc-broker
command
Command berth-oidc-broker is a small reference token broker for the Berth operator.
|
Command berth-oidc-broker is a small reference token broker for the Berth operator. |
|
operator
command
|
|
|
internal
|
|
|
acquire
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. |
|
api
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. |
|
auth
Package auth provides authentication primitives for the Berth API server.
|
Package auth provides authentication primitives for the Berth API server. |
|
clientauth
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. |
|
console
Package console provides the web console server for Berth.
|
Package console provides the web console server for Berth. |
|
k8s
Package k8s provides Kubernetes client initialization for Berth components.
|
Package k8s provides Kubernetes client initialization for Berth components. |
|
lease
Package lease implements Berth's lease coordination semantics.
|
Package lease implements Berth's lease coordination semantics. |
|
lease/sqlstore
Package sqlstore implements lease.Store with database/sql.
|
Package sqlstore implements lease.Store with database/sql. |
|
load
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). |
|
metrics
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. |
|
operator
Package operator implements the Kubernetes controller for Berth lease resources.
|
Package operator implements the Kubernetes controller for Berth lease resources. |
|
tenant
Package tenant provides tenant resolution for multi-tenant Berth deployments.
|
Package tenant provides tenant resolution for multi-tenant Berth deployments. |
|
webhook
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). |
|
pkg
|
|
|
client
Package client provides a Go client library for the Berth API server.
|
Package client provides a Go client library for the Berth API server. |
|
test
|
|
|
load
command
Command berth-load is the API-level load driver for Berth (scalability Phase 3).
|
Command berth-load is the API-level load driver for Berth (scalability Phase 3). |
Click to show internal directories.
Click to hide internal directories.