dbproxy

package module
v0.0.0-...-f241a7f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	StartUpTime      time.Duration
	DBCredentialPath string
	PGCredentialPath string
	PGBStartScript   string
	PGBReloadScript  string
	LocalAddr        string
}

Config is the configuration for the dbproxy manager.

type DBProxy

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

DBProxy is a manager for the dbproxy.

func New

func New(ctx context.Context, logger logr.Logger, cfg Config) (*DBProxy, error)

New creates a new dbproxy manager.

func (*DBProxy) Start

func (dbp *DBProxy) Start(ctx context.Context) error

Start starts the dbproxy manager.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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