postgres

package
v1.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 24 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	QueryTableExists = "SELECT EXISTS (SELECT FROM pg_tables where tablename = $1)"
)

Variables

This section is empty.

Functions

func NewPostgresConfigurationStore

func NewPostgresConfigurationStore(logger logger.Logger) configuration.Store

func NewPostgresConfigurationStoreWithOptions added in v1.16.0

func NewPostgresConfigurationStoreWithOptions(logger logger.Logger, opts Options) configuration.Store

NewPostgresConfigurationStoreWithOptions creates a new instance of PostgreSQL store with options.

Types

type ConfigurationStore

type ConfigurationStore struct {
	ActiveSubscriptions map[string]*subscription
	// contains filtered or unexported fields
}

func (*ConfigurationStore) Close added in v1.15.0

func (p *ConfigurationStore) Close() error

func (*ConfigurationStore) Get

func (*ConfigurationStore) GetComponentMetadata added in v1.11.0

func (p *ConfigurationStore) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*ConfigurationStore) Init

func (*ConfigurationStore) Subscribe

func (*ConfigurationStore) Unsubscribe

type Options added in v1.16.0

type Options struct {
	// Disables support for authenticating with Azure AD
	NoAzureAD bool

	// Disables support for authenticating with AWS IAM
	NoAWSIAM bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL