postgres

package
v3.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package postgres contains data retrieval jobs for a Postgres engine.

Index

Constants

View Source
const (
	// EngineType defines a Postgres engine type.
	EngineType = "postgres"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JobBuilder

type JobBuilder struct {
	// contains filtered or unexported fields
}

JobBuilder defines a struct for job building.

func NewJobBuilder

func NewJobBuilder(global *global.Config, engineProps global.EngineProps, cm pool.FSManager, tm *telemetry.Agent) *JobBuilder

NewJobBuilder create a new job builder.

func (*JobBuilder) BuildJob

func (s *JobBuilder) BuildJob(jobCfg config.JobConfig) (components.JobRunner, error)

BuildJob builds a new job by configuration.

Directories

Path Synopsis
Package logical provides jobs for logical initial operations.
Package logical provides jobs for logical initial operations.
Package physical provides jobs for physical initial operations.
Package physical provides jobs for physical initial operations.
Package snapshot provides components for preparing initial snapshots.
Package snapshot provides components for preparing initial snapshots.
Package tools provides helpers to initialize data.
Package tools provides helpers to initialize data.
cont
Package cont provides tools to manage service containers started by Database Lab Engine.
Package cont provides tools to manage service containers started by Database Lab Engine.
db
Package db provides database helpers.
Package db provides database helpers.
defaults
Package defaults contains default values.
Package defaults contains default values.
fs
Package fs provides tools for working with the filesystem.
Package fs provides tools for working with the filesystem.
health
Package health provides tools to set up container health check options.
Package health provides tools to set up container health check options.
pgtool
Package pgtool provides tools to run PostgreSQL-specific commands.
Package pgtool provides tools to run PostgreSQL-specific commands.

Jump to

Keyboard shortcuts

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