pgpool

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBackendDBName = "postgres"
	DefaultPgpoolPort    = 9999
	TLSModeDisable       = "disable"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*sql.DB
}

type KubeDBClientBuilder

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

func NewKubeDBClientBuilder

func NewKubeDBClientBuilder(kc client.Client, pp *api.Pgpool) *KubeDBClientBuilder

func (*KubeDBClientBuilder) GetPgpoolXormClient

func (o *KubeDBClientBuilder) GetPgpoolXormClient() (*XormClient, error)

func (*KubeDBClientBuilder) WithContext

func (*KubeDBClientBuilder) WithPgpoolDB

func (o *KubeDBClientBuilder) WithPgpoolDB(pgDB string) *KubeDBClientBuilder

func (*KubeDBClientBuilder) WithPod

func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder

func (*KubeDBClientBuilder) WithURL

type XormClient

type XormClient struct {
	*xorm.Engine
}

Jump to

Keyboard shortcuts

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