crossregion

package module
v0.0.0-...-dfd9850 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DCLocations = []string{}

DCLocations stores all the dcLocations' name.

Functions

This section is empty.

Types

type ClientCreator

type ClientCreator struct {
	Cfg *Config
}

ClientCreator creates crossRegionClient

func (ClientCreator) Create

func (l ClientCreator) Create(node cluster.ClientNode) core.Client

Create ...

type Config

type Config struct {
	Round       int
	TSORequests int
	DBName      string
	//TODO: support configure DCLocationNum instead of fixed 6
	DCLocationNum int
}

Config exposes the config

type TSO

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

TSO wraps the tso response

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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