cdk

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cdk is the multi-backend object-store adapter (spec 0040): one implementation over gocloud.dev/blob, which speaks S3, Google Cloud Storage, Azure Blob, the local filesystem and memory through a single portable API.

This is the "don't maintain our own per-cloud adapters" half of 0040. It is possible only because keryx stores blobs CONTENT-ADDRESSED (blobs/<sha256>): gocloud's portable API deliberately exposes no object versioning, and keryx no longer needs any — the sha256 is the content identity, and human version numbers live in the git-tracked ledger (media.log), not the store.

Credentials are never read from keryx config: each driver resolves them from its own environment chain (AWS default chain, Google Application Default Credentials, Azure default credential), exactly as CI federated identity expects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New builds the adapter for the configured provider. Exported for the s3 registration path (see the s3cdk build tag note in the spec) and for tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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