Skip to main content

Module server_configuration

Module server_configuration 

Source
Expand description

The deployment’s published configuration, at its old path.

Modules§

worker
The hourly refresh.

Structs§

ServerConfigurationHandle
The snapshot the client was built with, plus a blocked connection a refresh may set.

Enums§

BlockedConnection
A condition that, once observed, fails later network work for the life of the client. Every call it fails returns it. Not retryable.
ConfigurationFetchError
Why a configuration read could not produce a usable copy.
ServerConfigError
Why resolving, fetching, or storing the server configuration failed.

Functions§

check_minimum_version
Compare on major, minor, and patch only, so a prerelease tag never makes a client too old.
commit_configuration
Validate response, check it against the deployment the database is bound to, and store it.
fetch_server_configuration
Read a deployment’s configuration with no database and no client.
resolve
Resolve the snapshot build will hold.
validated
Validate a fetched response and turn it into a snapshot.