
adminapi
Package adminapi holds the wire types shared between the admin API handlers and their out-of-process clients.
Index
- type BackendStatus
- type CleanupDLQItem
- type CleanupDLQRequeueResponse
- type CleanupDLQResponse
- type LogEntry
- type LogsResponse
- type ObjectEntry
- type ObjectListResponse
- type ObjectLocation
- type ObjectLocationsResponse
- type RemoveBackendPreview
- type ReplicationStatusResponse
- type StatusResponse
type BackendStatus
BackendStatus is the configured-and-live state of one backend: its quota and usage counters plus circuit-breaker health and drain state.
type CleanupDLQItem
CleanupDLQItem is one dead-lettered cleanup: an object whose backend delete never succeeded within the retry budget and now needs operator attention.
type CleanupDLQRequeueResponse
CleanupDLQRequeueResponse reports how many rows a requeue moved back into the cleanup queue, and the backend it was scoped to (empty means all backends).
type CleanupDLQResponse
CleanupDLQResponse is the dead-letter listing: the total depth plus a page of rows, newest graduation first.
type LogEntry
LogEntry is one structured log record: the timestamp, severity, message, the emitting component (lifted from the attributes for its own column), and the remaining structured attributes so the client can render a full, human-readable line rather than a bare message.
type LogsResponse
LogsResponse is a page of recent structured log entries, oldest first.
type ObjectEntry
ObjectEntry is one leaf object in a listing page.
type ObjectListResponse
ObjectListResponse is one delimiter-grouped page of the object namespace: child directories collapsed into CommonPrefixes and leaf objects in Objects, with a continuation token when the page truncates.
type ObjectLocation
ObjectLocation is one backend copy of an object. The raw envelope encryption key is deliberately omitted from the wire; only the encrypted flag and the key id are exposed so a secret never leaves the process.
type ObjectLocationsResponse
ObjectLocationsResponse lists every backend copy of a single object key.
type RemoveBackendPreview
RemoveBackendPreview is the confirmation payload returned by the purge-preview phase of DELETE /admin/api/backends/{name}: what a --purge would destroy and the token required to execute it.
type ReplicationStatusResponse
ReplicationStatusResponse is a snapshot of the replication backlog: the configured factor, the count of under-replicated objects (waiting to be copied up to factor) and over-replicated objects (waiting for cleanup), and when the snapshot was computed. Factor <= 1 means replication is disabled.
type StatusResponse
StatusResponse is a snapshot of instance and per-backend operational state.
Generated by gomarkdoc