Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
cmd
|
|
|
poolmgrd
command
Command poolmgrd is the MicroVM Warm Pool Manager server entrypoint.
|
Command poolmgrd is the MicroVM Warm Pool Manager server entrypoint. |
|
internal
|
|
|
api
Package api implements the pool manager's gRPC service handlers.
|
Package api implements the pool manager's gRPC service handlers. |
|
config
Package config loads the static process configuration for the pool manager's flintlock client pool: the list of flintlock hosts it may talk to, each with its address and TLS materials.
|
Package config loads the static process configuration for the pool manager's flintlock client pool: the list of flintlock hosts it may talk to, each with its address and TLS materials. |
|
flintlockclient
Package flintlockclient manages one flintlock gRPC client per configured flintlock host.
|
Package flintlockclient manages one flintlock gRPC client per configured flintlock host. |
|
metrics
Package metrics defines the pool manager's Prometheus instrumentation: metric definitions, small recording helpers used by the reconciler and API packages, a pull-based collector for per-pool gauges, and gRPC server interceptor options.
|
Package metrics defines the pool manager's Prometheus instrumentation: metric definitions, small recording helpers used by the reconciler and API packages, a pull-based collector for per-pool gauges, and gRPC server interceptor options. |
|
poolmanager
Package poolmanager owns the lifecycle of per-pool reconciler.Reconciler goroutines: starting one for every pool at poolmgrd startup and on PoolAdminServer.CreatePool, stopping it on DeletePool, and routing lease events to the right pool's reconciler as api.ReconcilerNotifier.
|
Package poolmanager owns the lifecycle of per-pool reconciler.Reconciler goroutines: starting one for every pool at poolmgrd startup and on PoolAdminServer.CreatePool, stopping it on DeletePool, and routing lease events to the right pool's reconciler as api.ReconcilerNotifier. |
|
reconciler
Package reconciler implements the per-pool control loop that keeps a pool's warm VM count at its target: replenishment strategies decide how many new VMs are needed, and the provisioning pipeline turns that into AVAILABLE VMRecords by driving flintlock and the pool's create_commands.
|
Package reconciler implements the per-pool control loop that keeps a pool's warm VM count at its target: replenishment strategies decide how many new VMs are needed, and the provisioning pipeline turns that into AVAILABLE VMRecords by driving flintlock and the pool's create_commands. |
|
server
Package server constructs the pool manager's gRPC API server: TLS credentials (or an explicit insecure mode) plus an optional basic-auth interceptor, mirroring flintlock's own server auth pattern.
|
Package server constructs the pool manager's gRPC API server: TLS credentials (or an explicit insecure mode) plus an optional basic-auth interceptor, mirroring flintlock's own server auth pattern. |
|
store
Package store provides the SQLite-backed persistence layer for pool manager data: pools, VMs, leases, and the events outbox.
|
Package store provides the SQLite-backed persistence layer for pool manager data: pools, VMs, leases, and the events outbox. |
Click to show internal directories.
Click to hide internal directories.