gluetikv

package
v5.2.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Glue

type Glue struct{}

Glue is an implementation of glue.Glue that accesses only TiKV without TiDB.

func (Glue) CreateSession

func (Glue) CreateSession(store kv.Storage) (glue.Session, error)

CreateSession implements glue.Glue.

func (Glue) GetDomain

func (Glue) GetDomain(store kv.Storage) (*domain.Domain, error)

GetDomain implements glue.Glue.

func (Glue) GetVersion

func (Glue) GetVersion() string

GetVersion implements glue.Glue.

func (Glue) Open

func (Glue) Open(path string, option pd.SecurityOption) (kv.Storage, error)

Open implements glue.Glue.

func (Glue) OwnsStorage

func (Glue) OwnsStorage() bool

OwnsStorage implements glue.Glue.

func (Glue) Record

func (Glue) Record(name string, val uint64)

Record implements glue.Glue.

func (Glue) StartProgress

func (Glue) StartProgress(ctx context.Context, cmdName string, total int64, redirectLog bool) glue.Progress

StartProgress implements glue.Glue.

Jump to

Keyboard shortcuts

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