Documentation ¶
Index ¶
- Constants
- type Auth
- type Client
- type KubeDBClientBuilder
- func (o *KubeDBClientBuilder) GetPgBouncerXormClient() (*XormClient, error)
- func (o *KubeDBClientBuilder) WithAuth(auth *Auth) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithDatabaseName(dbName string) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithDatabaseRef(db *dbapi.Database) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithPbPort(listenPort int32) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
- type XormClient
- type XormClientList
Constants ¶
View Source
const (
DefaultBackendDBType = "postgres"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeDBClientBuilder ¶
type KubeDBClientBuilder struct {
// contains filtered or unexported fields
}
func NewKubeDBClientBuilder ¶
func NewKubeDBClientBuilder(kc client.Client, pb *dbapi.PgBouncer) *KubeDBClientBuilder
func (*KubeDBClientBuilder) GetPgBouncerXormClient ¶ added in v0.1.0
func (o *KubeDBClientBuilder) GetPgBouncerXormClient() (*XormClient, error)
func (*KubeDBClientBuilder) WithAuth ¶ added in v0.1.0
func (o *KubeDBClientBuilder) WithAuth(auth *Auth) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithContext ¶ added in v0.1.0
func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithDatabaseName ¶ added in v0.3.0
func (o *KubeDBClientBuilder) WithDatabaseName(dbName string) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithDatabaseRef ¶ added in v0.1.0
func (o *KubeDBClientBuilder) WithDatabaseRef(db *dbapi.Database) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithPbPort ¶ added in v0.3.0
func (o *KubeDBClientBuilder) WithPbPort(listenPort int32) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithPod ¶
func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithURL ¶
func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
type XormClient ¶
type XormClientList ¶ added in v0.1.0
type XormClientList struct { List []*XormClient Mutex sync.Mutex WG sync.WaitGroup // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.