mysql

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: Apache-2.0 Imports: 12 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 *dbapi.MySQL) *KubeDBClientBuilder

func (*KubeDBClientBuilder) GetMySQLClient

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

func (*KubeDBClientBuilder) GetMySQLXormClient

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

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