package
1.40.0
Repository: https://github.com/encoredev/encore.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package external implements a cluster driver for an external cluster.

# Functions

No description provided by the author
IsUsed reports whether the application uses SQL databases at all.
NewClusterManager creates a new ClusterManager.
OneshotProxy listens on a random port for a single connection, and proxies that connection to a remote db.
WaitForConn waits for a successful connection to uri to be established.

# Constants

NotFound indicates the container does not exist.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Running indicates the cluster is running.
No description provided by the author
Stopped indicates the container exists but is not running.
No description provided by the author

# Variables

No description provided by the author

# Structs

Cluster represents a running database Cluster.
ClusterID uniquely identifies a cluster.
ClusterInfo returns information about a cluster.
A ClusterManager manages running local sqldb clusters.
ClusterStatus represents the status of a database cluster.
No description provided by the author
CreateParams are the params to (*ClusterManager).Create.
DB represents a single database instance within a cluster.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

A Driver abstracts away how a cluster is actually operated.

# Type aliases

No description provided by the author
EncoreRoles describes the credentials to use when connecting to the cluster as an Encore user.
No description provided by the author
Status represents the status of a container.