bluebottle

module
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: AGPL-3.0

README

Bluebottle

Shared Go library for the Mulga stack. Bluebottle holds the cross-cutting packages that predastore, viperblock and spinifex all need, so that none of them has to depend on another service repo to get them.

Packages

Package Purpose
pkg/auth ARN parsing and formatting
pkg/iampolicy IAM policy types, matching and evaluation
pkg/masterkey Master key loading and derivation
pkg/otelsetup OpenTelemetry tracer/meter/logger bootstrap, slog bridge, HTTP instrumentation, log sanitisation
pkg/ratelimit Token bucket rate limiting and its configuration
pkg/sigv4 AWS SigV4 parsing, verification and URI canonicalisation

Development

make preflight   # lint + govulncheck + tests + coverage — must pass before committing
make fix         # auto-fix linter issues
make test        # unit tests
make test-race   # unit tests under the race detector
make nilaway     # advisory nil-panic analysis (not part of preflight)

Licence

AGPL-3.0. See LICENSE.

Directories

Path Synopsis
pkg
iampolicy
Package iampolicy holds the canonical IAM policy-document DTOs and the explicit-deny-wins access evaluator shared by predastore and spinifex.
Package iampolicy holds the canonical IAM policy-document DTOs and the explicit-deny-wins access evaluator shared by predastore and spinifex.
masterkey
Package masterkey loads the cluster master key from disk and turns it into an AES-256-GCM cipher.AEAD used to seal and open shard fragments at rest.
Package masterkey loads the cluster master key from disk and turns it into an AES-256-GCM cipher.AEAD used to seal and open shard fragments at rest.
otelsetup
Package otelsetup configures OpenTelemetry tracing and metrics for predastore.
Package otelsetup configures OpenTelemetry tracing and metrics for predastore.

Jump to

Keyboard shortcuts

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