package
2.4.0+incompatible
Repository: https://github.com/tarantool/tt.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

EvalAny calls evaler once for one connectable instance.
EvalForeach calls evaler for each instance.
EvalForeachAlive calls evaler for each connectable instance.
EvalForeachAliveDiscovered calls evaler for only connectable instances among discovered.
EvalOrchestrator returns an orchestrator version determined from an evaler.
MakeInstanceEvalFunc makes a function to eval an expression on the specified instance.
NewCartridgeApplication creates a new CartridgeApplication object.
NewCartridgeInstance creates a new CartridgeInstance object for the evaler.
NewCConfigApplication creates a new CConfigApplication object.
NewCConfigInstance create a new CConfigInstance object for the evaler.
NewCConfigSource creates CConfigSource.
NewCustomApplication creates a new CustomApplication object.
NewCustomInstance creates a new CustomInstance object for the evaler.
No description provided by the author
ParseFailover returns a failover type from a string representation.
PraseOrchestrator parses an orchestrator from the string.
ParseStateProvider returns a state provider type from a string representation.
Rebootstrap re-bootstraps the instance by stopping it, removing its artifacts, and starting it again.

# Constants

candidate.
manual.
off.
unknown.
voter.
election.
eventual.
manual.
off.
stateful.
supervised.
unknown.
multi.
no.
single.
unknown.
read.
rw.
unknown.
cartridge.
centralized config.
custom.
unknown.
No description provided by the author
bootstrapped.
etcd2.
none.
tarantool.
unknown.
uninitialized.
unknown.
No description provided by the author

# Structs

BootstrapCtx describes the context to bootstrap an instance/application.
CartridgeApplication is an application with the Cartridge orchestrator.
CartridgeInstance is an instance with the Cartridge orchestrator.
CConfigApplication is an application with the centralized config orchestrator.
CConfigInstance is an instance with the centralized config orchestrator.
CConfigSource describes the cluster config source.
CustomApplication is an application with a custom orchestrator.
CustomInstance is an instance with custom/unknown orchestrator.
DemoteCtx describes a context for an instance demoting.
ExpelCtx describes a context for an instance expelling.
Instance describes an instance in a replicaset.
PromoteCtx describes a context for an instance promoting.
RebootstrapCtx contains rebootstrap operations arguments.
Replicaset describes a single replicaset.
Replicasets describes a set of replicasets.
VShardBootstrapCtx describes context to bootstrap vshard.

# Interfaces

Bootstrapper is an interface to bootstrap an instance/application.
DataPublisher can publish the config by the specified key, which contains the prefix.
Demoter is an interface to demote an instance in the replicaset.
Discoverer is an interface for discovering information about replicasets.
Expeller is an interface for expelling instances from a replicaset.
InstanceEvaler is the interface that wraps Eval method for an instance.
Promoter is an interface to promote an instance in the replicaset.
VShardBootstrapper performs vshard bootstrapping.

# Type aliases

CacheBehavior describes a cache behavior.
No description provided by the author
EvalFunc is a function that implements connector.Evaler.
Failover defines an enumeration of failover types.
InstanceEvalFunc helps to use a function as the InstanceEvaler interface.
KeyPicker picks a key to patch.
Master defines an enumeration of master types.
Mode defines an enumeration of read-write modes for an instance.
Orchestrator defines an enumeration of available orchestrators.
State defines an enumeration of available replicaset states.
StateProvider defines an enumeration of supported state providers.