Skip to content

Edge KV Namespace 0.1.0

キーと値のバイト列を、結果整合性のストレージに保存します。

公開パッケージの内容を取得して検証済みです。

Hostの対応や受け入れ判断は、パッケージの公開とは別です。このバージョンを使う前に、利用先のHostで確認してください。

使い方

設定が空なのは意図したものです。意味上の規則はedge.kv Interfaceで定めています。書き込んだ直後にその値を読める保証はありません。コードからは型付きのWorkerVersion Bindingで接続します。

関連するForms: WorkerVersion 0.3.0 · ObjectBucket 0.1.0 · SQLiteDatabase 0.1.0

定義の説明(英語原文)

Globally replicated key/value namespace of opaque BYTES with eventual consistency, exactly as fixed by the edge.kv Interface. Eventual consistency is the Form's semantics, not an option: a store with different convergence behavior is a different Form, and this one promises no read-your-writes, in any session, at any location. Values are byte strings carried in the family's encoded-bytes shape, so the declared byte limit and the structural string ceiling measure the same thing (decision 0020).

設定項目

項目名とスキーマ内の説明は、パッケージに含まれる英語の原文です。日本語の解説は定義に要件を追加するものではありません。

設定項目はありません。下の例の空のオブジェクトを使います。

設定の例

パッケージに含まれるfixtures/desired.jsonをそのまま掲載しています。完全なHost APIリクエストやOpenTofuの設定ではありません。例のリソース参照とArtifactのダイジェストは、実際の値に置き換えてください。このJSONだけでリソースが作成されることはありません。

json
{}

例の原文を見る

設定のスキーマ全文(英語原文)

入れ子の項目、選択肢、すべてのスキーマ制約を以下に掲載しています。Hostが検証する意味上の規則は、定義の説明にも記載されています。

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Globally replicated key/value namespace of opaque BYTES with eventual consistency, exactly as fixed by the edge.kv Interface. Eventual consistency is the Form's semantics, not an option: a store with different convergence behavior is a different Form, and this one promises no read-your-writes, in any session, at any location. Values are byte strings carried in the family's encoded-bytes shape, so the declared byte limit and the structural string ceiling measure the same thing (decision 0020).",
  "properties": {},
  "title": "Edge KV Namespace desired state",
  "type": "object"
}

ライフサイクル

役割: identity

  • create
  • read
  • delete
  • import
  • observe

提供するInterface

  • edge.kv@1.0.0sha256:231cfe2a7d8a6a9234f2ca84d4c4fc5b52857e5b632ab613ab2f9eca0116e082

パッケージ参照

項目
KindEdgeKVNamespace
Package digestsha256:fb7f8a747a06d453d416714d50572ec546a9ec37be014866ea51b3f6e50ef8fd
Schema digestsha256:1a3f5d50bde53b4f743334dba3b0d0d28c1516727ca76d266beb61c5ee210022
Tagforms/k-mvsgozjomzxxe3ltfz2gc23pmzxxe3jomnxw2l2fmrtwks2wjzqw2zltobqwgzi/sha256-fb7f8a747a06d453d416714d50572ec546a9ec37be014866ea51b3f6e50ef8fd
Source pathforms/releases/k-mvsgozjomzxxe3ltfz2gc23pmzxxe3jomnxw2l2fmrtwks2wjzqw2zltobqwgzi/sha256-fb7f8a747a06d453d416714d50572ec546a9ec37be014866ea51b3f6e50ef8fd
署名セットe7f8a39311dd011b8467e97e7f300cabb9a6b06c

変更不可のパッケージを開く

4項目のFormRef
json
{
  "apiVersion": "edge.forms.takoform.com",
  "kind": "EdgeKVNamespace",
  "definitionVersion": "0.1.0",
  "schemaDigest": "sha256:1a3f5d50bde53b4f743334dba3b0d0d28c1516727ca76d266beb61c5ee210022"
}