Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.6.0
type Option func(*SnapshotTableFinder)
func WithInstrumentation ¶ added in v0.6.0
func WithInstrumentation(i *otel.Instrumentation) Option
type SnapshotTableFinder ¶
type SnapshotTableFinder struct {
// contains filtered or unexported fields
}
SnapshotTableFinder is a decorator around a snapshot generator that will explode the wildcard references in the snapshot requests and replace them by all the schema tables in postgres.
func NewSnapshotTableFinder ¶
func NewSnapshotTableFinder(ctx context.Context, pgurl string, generator generator.SnapshotGenerator, opts ...Option) (*SnapshotTableFinder, error)
NewSnapshotTableFinder will return the generator on input wrapped with a table finder that will explode the wildcard references in the snapshot request and translate them into all the postgres tables for the given schema.
func (*SnapshotTableFinder) Close ¶
func (s *SnapshotTableFinder) Close() error
func (*SnapshotTableFinder) CreateSnapshot ¶
Click to show internal directories.
Click to hide internal directories.