kernel/

directory
v0.0.0-...-1779528 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT

Directories

Path Synopsis
Package assembly provides the CoreAssembly that orchestrates Cell lifecycle (register, start, stop, health).
Package assembly provides the CoreAssembly that orchestrates Cell lifecycle (register, start, stop, health).
Package cell provides the Cell/Slice runtime and governance primitives.
Package cell provides the Cell/Slice runtime and governance primitives.
celltest
Package celltest provides test utilities for kernel/cell types.
Package celltest provides test utilities for kernel/cell types.
Package cellvocab is the single source of truth for the GoCell metadata vocabulary — the typed enums (CellType, ContractKind, ContractRole, Lifecycle, Level), their parsers/predicates, and the canonical consistency level ordering.
Package cellvocab is the single source of truth for the GoCell metadata vocabulary — the typed enums (CellType, ContractKind, ContractRole, Lifecycle, Level), their parsers/predicates, and the canonical consistency level ordering.
Package clock is GoCell's platform-level Clock abstraction.
Package clock is GoCell's platform-level Clock abstraction.
clockmock
Package clockmock provides a deterministic clock.Clock implementation driven by explicit FakeClock.Advance and FakeClock.Set calls.
Package clockmock provides a deterministic clock.Clock implementation driven by explicit FakeClock.Advance and FakeClock.Set calls.
Package command provides L4 (DeviceLatent) command queue primitives for unicast device commands with durable ack semantics.
Package command provides L4 (DeviceLatent) command queue primitives for unicast device commands with durable ack semantics.
commandtest
Package commandtest provides in-memory implementations of the command package interfaces for use in unit tests and examples.
Package commandtest provides in-memory implementations of the command package interfaces for use in unit tests and examples.
Package contractspec defines the runtime descriptor type for one contract endpoint, shared by the layers that bind contracts to wire protocols.
Package contractspec defines the runtime descriptor type for one contract endpoint, shared by the layers that bind contracts to wire protocols.
Package crypto defines the kernel-level cryptographic interfaces: KeyProvider, KeyHandle, ValueTransformer, and CurrentKeyIDProvider.
Package crypto defines the kernel-level cryptographic interfaces: KeyProvider, KeyHandle, ValueTransformer, and CurrentKeyIDProvider.
Package ctxkeys provides typed context keys for Cell-model identifiers (cell, slice, journey, contract) propagated through context.Context.
Package ctxkeys provides typed context keys for Cell-model identifiers (cell, slice, journey, contract) propagated through context.Context.
Package depgraph defines the core data model for the GoCell package-level dependency graph: Graph, Node, Stats, and the layer/cell/slice classifiers.
Package depgraph defines the core data model for the GoCell package-level dependency graph: Graph, Node, Stats, and the layer/cell/slice classifiers.
Package governance implements validation rules for GoCell metadata.
Package governance implements validation rules for GoCell metadata.
Package idempotency defines the consumer-side idempotency interface (Claimer with two-phase Claim / Commit / Release semantics) used by kernel/outbox.ConsumerBase to deduplicate event delivery.
Package idempotency defines the consumer-side idempotency interface (Claimer with two-phase Claim / Commit / Release semantics) used by kernel/outbox.ConsumerBase to deduplicate event delivery.
Package journey provides query access to Journey metadata and status.
Package journey provides query access to Journey metadata and status.
Package lifecycle provides the ContextCloser interface and adapters for managing resource teardown with context-aware shutdown budgets.
Package lifecycle provides the ContextCloser interface and adapters for managing resource teardown with context-aware shutdown budgets.
Package metadata implements structural derivation for AssemblyMeta and related types.
Package metadata implements structural derivation for AssemblyMeta and related types.
Package metautil holds shared metadata limits and validation primitives used by kernel-level transports (kernel/outbox, kernel/command).
Package metautil holds shared metadata limits and validation primitives used by kernel-level transports (kernel/outbox, kernel/command).
Package observability is the namespace root for GoCell's provider-neutral metrics and pool-stats abstractions.
Package observability is the namespace root for GoCell's provider-neutral metrics and pool-stats abstractions.
metrics
Package metrics defines a provider-neutral metrics abstraction used by kernel modules that emit counters and histograms without importing any specific backend (Prometheus, OTel, …).
Package metrics defines a provider-neutral metrics abstraction used by kernel modules that emit counters and histograms without importing any specific backend (Prometheus, OTel, …).
poolstats
Package poolstats defines a provider-neutral connection-pool snapshot interface.
Package poolstats defines a provider-neutral connection-pool snapshot interface.
Package outbox defines interfaces for the transactional outbox pattern: Writer (insert within a transaction), Emitter (write-or-direct abstraction), Relay (poll-and-publish), Publisher (fire-and-forget), and Subscriber (consume).
Package outbox defines interfaces for the transactional outbox pattern: Writer (insert within a transaction), Emitter (write-or-direct abstraction), Relay (poll-and-publish), Publisher (fire-and-forget), and Subscriber (consume).
outboxtest
Package outboxtest provides a reusable conformance test suite for outbox.Publisher and outbox.Subscriber implementations.
Package outboxtest provides a reusable conformance test suite for outbox.Publisher and outbox.Subscriber implementations.
Package persistence defines shared persistence abstractions for the GoCell framework.
Package persistence defines shared persistence abstractions for the GoCell framework.
Package registry provides indexed, read-only access to parsed GoCell project metadata (cells, slices, contracts).
Package registry provides indexed, read-only access to parsed GoCell project metadata (cells, slices, contracts).
Package verify provides verify-command introspection used by `gocell verify` and by kernel/governance VERIFY-* rules.
Package verify provides verify-command introspection used by `gocell verify` and by kernel/governance VERIFY-* rules.
Package worker defines the Worker domain contract.
Package worker defines the Worker domain contract.
Package wrapper binds contracts to runtime observability primitives.
Package wrapper binds contracts to runtime observability primitives.

Jump to

Keyboard shortcuts

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