Documentation ¶
Index ¶
- Constants
- type Client
- type KubeDBClientBuilder
- func (o *KubeDBClientBuilder) GetPgpoolXormClient() (*XormClient, error)
- func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithPgpoolDB(pgDB string) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
- type XormClient
Constants ¶
View Source
const ( DefaultBackendDBName = "postgres" DefaultPgpoolPort = 9999 )
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, pp *olddbapi.Pgpool) *KubeDBClientBuilder
func (*KubeDBClientBuilder) GetPgpoolXormClient ¶
func (o *KubeDBClientBuilder) GetPgpoolXormClient() (*XormClient, error)
func (*KubeDBClientBuilder) WithContext ¶
func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithPgpoolDB ¶
func (o *KubeDBClientBuilder) WithPgpoolDB(pgDB string) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithPod ¶
func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithURL ¶
func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
type XormClient ¶
Click to show internal directories.
Click to hide internal directories.