tikvapi

package
v2.0.0-beta.10 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TiKVClient

type TiKVClient interface {
	// GetLeaderCount gets region leader count of this TiKV store.
	GetLeaderCount() (int, error)
}

TiKVClient provides TiKV server's APIs used by TiDB Operator.

func NewTiKVClient

func NewTiKVClient(url string, timeout time.Duration, tlsConfig *tls.Config, disableKeepalive bool) TiKVClient

NewTiKVClient returns a new TiKVClient

Jump to

Keyboard shortcuts

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