keyspace

package
v0.0.0-...-6e93ed8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

CodecV1 represents api v1 codec.

Functions

func GetKeyspaceNameBySettings

func GetKeyspaceNameBySettings() (keyspaceName string)

GetKeyspaceNameBySettings is used to get Keyspace name setting.

func IsKeyspaceNameEmpty

func IsKeyspaceNameEmpty(keyspaceName string) bool

IsKeyspaceNameEmpty is used to determine whether keyspaceName is set.

func MakeKeyspaceEtcdNamespace

func MakeKeyspaceEtcdNamespace(c tikv.Codec) string

MakeKeyspaceEtcdNamespace return the keyspace prefix path for etcd namespace

func MakeKeyspaceEtcdNamespaceSlash

func MakeKeyspaceEtcdNamespaceSlash(c tikv.Codec) string

MakeKeyspaceEtcdNamespaceSlash return the keyspace prefix path for etcd namespace, and end with a slash.

func WrapZapcoreWithKeyspace

func WrapZapcoreWithKeyspace() zap.Option

WrapZapcoreWithKeyspace is used to wrap zapcore.Core.

Types

This section is empty.

Jump to

Keyboard shortcuts

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