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 ¶
func (p *MySQLBenchmark) BenchBuilder(ctx context.Context, tc *client.TeleportClient) (benchmark.WorkloadFunc, error)
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 ¶
func (p *PostgresBenchmark) BenchBuilder(ctx context.Context, tc *client.TeleportClient) (benchmark.WorkloadFunc, error)
BenchBuilder returns a WorkloadFunc for the given benchmark suite.
func (*PostgresBenchmark) CheckAndSetDefaults ¶
func (p *PostgresBenchmark) CheckAndSetDefaults() error
Click to show internal directories.
Click to hide internal directories.