db

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLBenchmark

type MySQLBenchmark struct {
	// DBService database service name of the target database. Can be a Teleport
	// database or a direct URI.
	DBService string
	// DBUser database user used to connect to the target database.
	DBUser string
	// DBName database name where the benchmark queries are going to be
	// executed.
	DBName string
	// InsecureSkipVerify bypasses verification of TLS certificate.
	InsecureSkipVerify bool
	// contains filtered or unexported fields
}

MySQLBenchmark is a benchmark suite that connects to a MySQL database (directly or through Teleport) and issues a ping command.

func (*MySQLBenchmark) BenchBuilder

BenchBuilder returns a WorkloadFunc for the given benchmark suite.

func (*MySQLBenchmark) CheckAndSetDefaults

func (p *MySQLBenchmark) CheckAndSetDefaults() error

type PostgresBenchmark

type PostgresBenchmark struct {
	// DBService database service name of the target database. Can be a Teleport
	// database or a direct URI.
	DBService string
	// DBUser database user used to connect to the target database.
	DBUser string
	// DBName database name where the benchmark queries are going to be
	// executed.
	DBName string
	// InsecureSkipVerify bypasses verification of TLS certificate.
	InsecureSkipVerify bool
	// contains filtered or unexported fields
}

PostgresBenchmark is a benchmark suite that connects to a PostgreSQL database (directly or through Teleport) and issues a ping query.

func (*PostgresBenchmark) BenchBuilder

BenchBuilder returns a WorkloadFunc for the given benchmark suite.

func (*PostgresBenchmark) CheckAndSetDefaults

func (p *PostgresBenchmark) CheckAndSetDefaults() error

Jump to

Keyboard shortcuts

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