package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package providers is a stub package that imports all the concrete
implementations of the various cloud storage providers to trigger their
initialization-time registration with the cloud storage provider registry.
No description provided by the author
No description provided by the author
# Functions
ExternalConnectionFromURI returns an ExternalConnection for the given URI and runs the registered default validation, which can involve making external calls.
LoadExternalConnection loads an external connection record from the `system.external_connections` table and returns the read-only interface for interacting with it.
No description provided by the author
NewExternalConnection create and initializes a read-only ExternalConnection.
NewMutableExternalConnection creates and initializes a mutable ExternalConnection.
ProviderForURI returns the provider associated with the scheme of a given URI, or UNKNOWN if none found.
RegisterConnectionDetailsFromURIFactory is used by every concrete implementation to register its factory method.
RegisterDefaultValidation sets the default validation for external connections using this scheme.
RegisterNamedValidation adds a custom validation for external connections using this scheme.
# Constants
SimpleURIFactory just stores URI.String().
# Structs
ExternalConnEnv contains parameters to be used to validate an external connection.
MutableExternalConnection is a mutable representation of an External Connection object.
TestingKnobs provide fine-grained control over the external connection components for testing.
# Interfaces
ExternalConnection is the interface to the external resource represented by an External Connection object.
# Type aliases
FactoryType identifies the expected parsing logic used to create an external connection.
ValidationFn is the type taken by Register*ValidationWithCloud.