mariadb

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: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

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, db *api.MariaDB) *KubeDBClientBuilder

func (*KubeDBClientBuilder) GetMariaDBClient

func (o *KubeDBClientBuilder) GetMariaDBClient() (*Client, error)

func (*KubeDBClientBuilder) GetMariaDBXormClient

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

func (*KubeDBClientBuilder) SSLEnabledMariaDB

func (o *KubeDBClientBuilder) SSLEnabledMariaDB() bool

func (*KubeDBClientBuilder) WithContext added in v0.0.7

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