queries

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type Database

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

func New

func New(client client.Client, namespace, secretName, user, host string, port int32) (Database, error)

func (*Database) Close

func (p *Database) Close() error

func (*Database) Hostname

func (p *Database) Hostname() (string, error)

func (*Database) PrimaryHost

func (p *Database) PrimaryHost() (string, error)

func (*Database) Status

func (p *Database) Status(host, ip string) ([]string, error)

func (*Database) Version

func (p *Database) Version() (string, error)

func (*Database) WsrepLocalStateComment

func (p *Database) WsrepLocalStateComment() (string, error)

Jump to

Keyboard shortcuts

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