Documentation
¶
Overview ¶
Package context defines a datamon context to store all metadata and logs for objects
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContext ¶
CreateContext marshals and persists a context in the remote config
Types ¶
type Stores ¶
type Stores interface {
// Metadata yields the metadata storage for a context
Metadata() storage.Store
// SetMetadata sets the context storage for metadata, other than versioning metadata
SetMetadata(metadata storage.Store)
// ReadLog yields the Read Log storage for a context
ReadLog() storage.Store
// SetReadLog sets the context storage for Read Log
SetReadLog(readLog storage.Store)
// VMetadata yields the version metadata storage for a context
VMetadata() storage.Store
// SetVMetadata sets the context storage for versioning metadata
SetVMetadata(vMetadata storage.Store)
// Blob yields the Blob storage for a context
Blob() storage.Store
// SetBlob sets the context storage for blobs
SetBlob(blob storage.Store)
// Wal yields the Write Ahead Log storage for a context
Wal() storage.Store
// SetWal sets the context storage for Write Ahead Log
SetWal(wal storage.Store)
}
Stores defines a complete context for datamon objects
Directories
¶
| Path | Synopsis |
|---|---|
|
Package gcs is a gcs implementation of the datamon context, with all context stores as gcs buckets
|
Package gcs is a gcs implementation of the datamon context, with all context stores as gcs buckets |
|
Package status defines errors for datamon context
|
Package status defines errors for datamon context |
Click to show internal directories.
Click to hide internal directories.