package
1.40.0
Repository: https://github.com/authzed/spicedb.git
Documentation: pkg.go.dev

# README

Spanner Datastore

This datastore implementation allows you to use a Google Cloud Spanner database as the backing durable storage for SpiceDB.

Usage Benefits

The Spanner datastore, like the CockroachDB datastore, can be used in highly scalable and multi-region installations.

# Packages

No description provided by the author

# Functions

AllowedMigrations configures a set of additional migrations that will pass the health check (head migration is always allowed).
No description provided by the author
CredentialsFile is the path to a file containing credentials for a service account that can access the cloud spanner instance.
CredentialsJSON is the json containing credentials for a service account that can access the cloud spanner instance.
DisableStats disables recording counts to the stats table.
EmulatorHost is the URI of a Spanner emulator to connect to for development and testing use.
FilterMaximumIDCount is the maximum number of IDs that can be used to filter IDs in queries.
FollowerReadDelay is the time delay to apply to enable historical reads.
MaxRevisionStalenessPercent is the amount of time, expressed as a percentage of the revision quantization window, that a previously computed rounded revision can still be advertised after the next rounded revision would otherwise be ready.
MaxSessionCount maximum number of session the Spanner client can have at a given time.
MigrationPhase configures the spanner driver to the proper state of a multi-phase migration.
MinSessionCount minimum number of session the Spanner client can have at a given time.
NewSpannerDatastore returns a datastore backed by cloud spanner.
ReadConnsMaxOpen is the maximum size of the connection pool used for reads.
RevisionQuantization is the time bucket size to which advertised revisions will be rounded.
WatchBufferLength is the number of entries that can be stored in the watch buffer while awaiting read by the client.
WatchBufferWriteTimeout is the maximum timeout for writing to the watch buffer, after which the caller to the watch will be disconnected.
WithColumnOptimization configures the Spanner driver to optimize the columns in the underlying tables.
WithExpirationDisabled disables relationship expiration support in the Spanner.
WriteConnsMaxOpen is the maximum size of the connection pool used for writes.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Type aliases

Option provides the facility to configure how clients within the Spanner datastore interact with the running Spanner database.