Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Primary ¶
type Primary struct {
NewPrimary string `json:"new_primary"`
}
Primary is the type for transfer primary
type TSOClient ¶
type TSOClient interface {
// IsHealthy returns whether the TSO health endpoint is ready.
IsHealthy(ctx context.Context) (bool, error)
// NOTE: this only transfer the leader of the default keyspace group
TransferTSOLeader(ctx context.Context, transferee string) error
}
TSOClient provides tso api
Click to show internal directories.
Click to hide internal directories.