go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/vtcombo Index | Files

package vtcombo

import "gopkg.in/src-d/go-vitess.v1/vt/vtcombo"

Index

Package Files

tablet_map.go

func CreateTablet Uses

func CreateTablet(ctx context.Context, ts *topo.Server, cell string, uid uint32, keyspace, shard, dbname string, tabletType topodatapb.TabletType, mysqld mysqlctl.MysqlDaemon, dbcfgs *dbconfigs.DBConfigs) error

CreateTablet creates an individual tablet, with its agent, and adds it to the map. If it's a master tablet, it also issues a TER.

func InitTabletMap Uses

func InitTabletMap(ts *topo.Server, tpb *vttestpb.VTTestTopology, mysqld mysqlctl.MysqlDaemon, dbcfgs *dbconfigs.DBConfigs, schemaDir string, mycnf *mysqlctl.Mycnf) error

InitTabletMap creates the action agents and associated data structures for all tablets, based on the vttest proto parameter.

Package vtcombo imports 34 packages (graph). Updated 2019-06-13. Refresh now. Tools for package owners.