pkg/

directory
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: Apache-2.0

Directories

Path Synopsis
Package chinit provides the core domain models, cloud provider interfaces, convergent bootstrap engine, and maintenance services for managing stateful ClickHouse clusters on cloud virtual machines.
Package chinit provides the core domain models, cloud provider interfaces, convergent bootstrap engine, and maintenance services for managing stateful ClickHouse clusters on cloud virtual machines.
app
Package app implements the chinit command-line interface, including flag parsing, subcommand dispatch, cloud provider wiring, and boot orchestration.
Package app implements the chinit command-line interface, including flag parsing, subcommand dispatch, cloud provider wiring, and boot orchestration.
domain
Package domain defines core cluster entities, host identities, credentials, health reports, and scaling requests shared across chinit services and ports.
Package domain defines core cluster entities, host identities, credentials, health reports, and scaling requests shared across chinit services and ports.
domain/fail
Package fail classifies errors as Retryable or Fatal for the chinit retry engine.
Package fail classifies errors as Retryable or Fatal for the chinit retry engine.
domain/model
Package model defines the declarative node specification (BootSpec), settled node identity (NodeIdentity), disruption budgets, and lifecycle hook models.
Package model defines the declarative node specification (BootSpec), settled node identity (NodeIdentity), disruption budgets, and lifecycle hook models.
domain/port
Package port declares the boundary interfaces between chinit's domain services and infrastructure adapters, including the cloud Provider registry and optional cloud capabilities (ordinal leases, private DNS, spot signals, volume growth, fleet tasks, and node status publishing).
Package port declares the boundary interfaces between chinit's domain services and infrastructure adapters, including the cloud Provider registry and optional cloud capabilities (ordinal leases, private DNS, spot signals, volume growth, fleet tasks, and node status publishing).
domain/service
Package service implements chinit's convergent boot pipeline, retry engine, state persistence, configuration rendering, and recurring cluster maintenance operations.
Package service implements chinit's convergent boot pipeline, retry engine, state persistence, configuration rendering, and recurring cluster maintenance operations.
domain/service/conformance
Package conformance provides a reusable test suite that verifies cloud Provider implementations against chinit's mandatory and optional capability contracts.
Package conformance provides a reusable test suite that verifies cloud Provider implementations against chinit's mandatory and optional capability contracts.
infra/aws
Package aws implements chinit's cloud provider adapters for Amazon Web Services, including IMDSv2 metadata, Secrets Manager, S3 config bundles, DynamoDB ordinal leases and fleet tasks, Route 53 private DNS, EBS volume autoscaling, Auto Scaling Group operations, and CloudWatch metrics.
Package aws implements chinit's cloud provider adapters for Amazon Web Services, including IMDSv2 metadata, Secrets Manager, S3 config bundles, DynamoDB ordinal leases and fleet tasks, Route 53 private DNS, EBS volume autoscaling, Auto Scaling Group operations, and CloudWatch metrics.
infra/azure
Package azure implements chinit's cloud provider adapters for Microsoft Azure, including IMDS metadata and Scheduled Events, Key Vault secrets, Blob Storage config bundles, Table Storage ordinal leases and fleet tasks, Azure Private DNS, and Managed Disk online resizing.
Package azure implements chinit's cloud provider adapters for Microsoft Azure, including IMDS metadata and Scheduled Events, Key Vault secrets, Blob Storage config bundles, Table Storage ordinal leases and fleet tasks, Azure Private DNS, and Managed Disk online resizing.
infra/clusterops
Package clusterops wires chinit's domain services to the in-process ClickHouse operator and Keeper adapters for schema synchronization, replica management, health checks, and Keeper quorum probes.
Package clusterops wires chinit's domain services to the in-process ClickHouse operator and Keeper adapters for schema synchronization, replica management, health checks, and Keeper quorum probes.
infra/compose
Package compose implements the local Docker Compose cloud provider.
Package compose implements the local Docker Compose cloud provider.
infra/detect
Package detect identifies the cloud platform a node is running on using explicit flags, environment variables, DMI vendor signatures, or IMDS probes.
Package detect identifies the cloud platform a node is running on using explicit flags, environment variables, DMI vendor signatures, or IMDS probes.
infra/fakes
Package fakes provides in-memory test doubles for IMDS, secret stores, configuration bundles, ordinal leases, fleet tasks, and node status tables used by unit tests and the provider conformance suite.
Package fakes provides in-memory test doubles for IMDS, secret stores, configuration bundles, ordinal leases, fleet tasks, and node status tables used by unit tests and the provider conformance suite.
infra/keeper
Package keeper implements TCP four-letter-word (mntr) health probing for ClickHouse Keeper ensembles.
Package keeper implements TCP four-letter-word (mntr) health probing for ClickHouse Keeper ensembles.
infra/operator
Package operator adapts the Altinity clickhouse-operator configuration generators, schema managers, and SQL client to chinit's domain ports.
Package operator adapts the Altinity clickhouse-operator configuration generators, schema managers, and SQL client to chinit's domain ports.
infra/system
Package system implements host-level operations including disk mounting and formatting, OS kernel and limit tuning, static XML validation and installation, and systemd unit management.
Package system implements host-level operations including disk mounting and formatting, OS kernel and limit tuning, static XML validation and installation, and systemd unit management.
logger
Package logger provides structured JSON logging via log/slog with level-based stdout/stderr routing and context propagation.
Package logger provides structured JSON logging via log/slog with level-based stdout/stderr routing and context propagation.
telemetry
Package telemetry provides OpenTelemetry metric emission over OTLP/HTTP for chinit boot steps and maintenance subcommands.
Package telemetry provides OpenTelemetry metric emission over OTLP/HTTP for chinit boot steps and maintenance subcommands.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL