Versions in this module Expand all Collapse all v0 v0.7.1 Sep 8, 2026 Changes in this version + const MaxChunkHashesPerBatch + const MaxPackHashesPerBatch + const MaxPresignKeysPerBatch + const QueueGroup + func AssocObliterateSubject(tenant string) string + func AssocRecordSubject(tenant string) string + func GCPurgeSubject(tenant string) string + func IndexLookupSubject(tenant string) string + func IndexRecordSubject(tenant string) string + func PresignSubject(tenant string) string + func TenantFromSubject(subject string) (tenant string, ok bool) + func ValidateTenant(tenant string) error + type AssociateRequest struct + Associations []PackAssociation + Domain string + type AssociateResponse struct + Error string + Obliterating bool + type ChunkLocation struct + ChunkHash string + PackRef PackRef + type Codec interface + Marshal func(v any) ([]byte, error) + Unmarshal func(data []byte, v any) error + var DefaultCodec Codec = JSONCodec{} + type JSONCodec struct + func (JSONCodec) Marshal(v any) ([]byte, error) + func (JSONCodec) Unmarshal(data []byte, v any) error + type LookupBatchRequest struct + ChunkHashes []string + Domain string + type LookupBatchResponse struct + Error string + Locations map[string]PackRef + type ObliterateContextRequest struct + Context string + Domain string + type ObliterateContextResponse struct + BytesReclaimed int64 + Error string + PacksConsidered int + PacksHeldByOther int + PacksReclaimed int + PacksSkippedError int + PacksStillReferenced int + type PackAssociation struct + Context string + PackHash string + type PackRef struct + Offset int64 + PackHash string + Size int64 + type PresignBatchRequest struct + Domain string + Keys []string + Op PresignOp + TTLSeconds int32 + type PresignBatchResponse struct + Error string + ExpiresAtUnix int64 + URLs map[string]string + type PresignOp string + const PresignGet + const PresignPut + type PurgePacksRequest struct + Domain string + PackHashes []string + type PurgePacksResponse struct + Error string + type RecordRequest struct + Domain string + Locations []ChunkLocation + type RecordResponse struct + Error string