keeper

package
v2.4.35 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper

type Keeper struct {
	Log *log.Entry
	// contains filtered or unexported fields
}

func (*Keeper) Close

func (k *Keeper) Close()

func (*Keeper) Connect

func (k *Keeper) Connect(ctx context.Context, ch *clickhouse.ClickHouse, cfg *config.Config) error

Connect - connect to any zookeeper server from /var/lib/clickhouse/preprocessed_configs/config.xml

func (*Keeper) Dump

func (k *Keeper) Dump(prefix, dumpFile string) (int, error)

func (*Keeper) GetReplicatedAccessPath

func (k *Keeper) GetReplicatedAccessPath(userDirectory string) (string, error)

func (*Keeper) Restore

func (k *Keeper) Restore(dumpFile, prefix string) error

type LogKeeperToApexLogAdapter

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

func (LogKeeperToApexLogAdapter) Printf

func (KeeperLogToApexLogAdapter LogKeeperToApexLogAdapter) Printf(msg string, args ...interface{})

Jump to

Keyboard shortcuts

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