Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StorageEngines ¶
func StorageEngines() []string
StorageEngines returns a list of supported storage engines.
Types ¶
type Storage ¶
type Storage struct { Directories directory.Storage Logs interface { sequencer.LogsReader // AddLogs creates and adds new logs for writing to a directory. AddLogs(ctx context.Context, directoryID string, logIDs ...int64) error // SetWritable enables or disables new writes from going to logID. SetWritable(ctx context.Context, directoryID string, logID int64, enabled bool) error // Copied methods from keyserver.MutationLogs SendBatch(ctx context.Context, directoryID string, logID int64, batch []*pb.EntryUpdate) (water.Mark, error) } Batches sequencer.Batcher HealthChecker health.Checker Close func() }
Storage holds an abstract storage implementation
Directories ¶
Path | Synopsis |
---|---|
Package authentication implements authentication mechanisms.
|
Package authentication implements authentication mechanisms. |
Package authorization contains the authorization module implementation.
|
Package authorization contains the authorization module implementation. |
Package memory supplies fake in-memory implementations for testing purposes.
|
Package memory supplies fake in-memory implementations for testing purposes. |
Package mysql provides functions for interacting with MySQL.
|
Package mysql provides functions for interacting with MySQL. |
directory
Package directory implements the directory.Storage interface.
|
Package directory implements the directory.Storage interface. |
mutationstorage
Package mutationstorage defines operations to write and read mutations to and from the database.
|
Package mutationstorage defines operations to write and read mutations to and from the database. |
testdb
Package testdb supports opening ephemeral databases for testing.
|
Package testdb supports opening ephemeral databases for testing. |
batch
Package batch allows for reading and writing of batches of mutations.
|
Package batch allows for reading and writing of batches of mutations. |
directory
Package directory reads and writes Key Transparency Directory information.
|
Package directory reads and writes Key Transparency Directory information. |
mutations
Package mutations stores mutations by timestamp.
|
Package mutations stores mutations by timestamp. |
testutil
Package testutil helps with tests against Spanner.
|
Package testutil helps with tests against Spanner. |
Click to show internal directories.
Click to hide internal directories.