testinfra

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 12 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewABTestCluster

func NewABTestCluster(namespace, name string, confA, confB fixture.TiDBClusterConfig) cluster.Cluster

NewABTestCluster creates two TiDB clusters to do AB Test

func NewBinlogCluster

func NewBinlogCluster(namespace, name string, conf fixture.TiDBClusterConfig) cluster.Cluster

NewBinlogCluster creates two TiDB clusters with Binlog

func NewCDCCluster

func NewCDCCluster(namespace, name string, conf fixture.TiDBClusterConfig) cluster.Cluster

NewCDCCluster creates two TiDB clusters with CDC

func NewCompositeCluster

func NewCompositeCluster(clusters ...cluster.Cluster) *compositeCluster

NewCompositeCluster creates a compositeCluster

func NewDMCluster

func NewDMCluster(namespace, name string, dmConf fixture.DMConfig, tidbConf fixture.TiDBClusterConfig) cluster.Cluster

NewDMCluster creates two upstream MySQL instances and a downstream TiDB cluster with DM.

func NewDefaultCluster

func NewDefaultCluster(namespace, name string, config fixture.TiDBClusterConfig) cluster.Cluster

NewDefaultCluster creates a new TiDB cluster

func NewGroupCluster

func NewGroupCluster(clusters ...cluster.Cluster) *groupCluster

NewGroupCluster creates a groupCluster

func NewTiFlashABTestCluster

func NewTiFlashABTestCluster(namespace, name string, confA, confB fixture.TiDBClusterConfig) cluster.Cluster

NewTiFlashABTestCluster creates two TiDB clusters to do AB Test, one with TiFlash

func NewTiFlashCDCABTestCluster

func NewTiFlashCDCABTestCluster(namespace, name string, confA, confB fixture.TiDBClusterConfig) cluster.Cluster

NewTiFlashCDCABTestCluster creates two TiDB clusters to do AB Test, one with TiFlash This also includes a CDC cluster between the two TiDB clusters.

func NewTiFlashCluster

func NewTiFlashCluster(namespace, name string, conf fixture.TiDBClusterConfig) cluster.Cluster

NewTiFlashCluster creates a TiDB cluster with TiFlash

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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