package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
NewCommandClient creates a command client with etcd.
NewMockCommandClient creates a mock command client.
NewMockNotificationClient creates a mock notification client.
NewNotificationClient creates a notification client with etcd.
TriggerNewTTLJob triggers a new TTL job.
# Structs
CmdRequest is the request for a TTL command.
TriggerNewTTLJobRequest is the command detail to trigger a TTL job.
TriggerNewTTLJobResponse is the response detail for trigger_ttl_job command.
TriggerNewTTLJobTableResult is the table detail of `TriggerNewTTLJobResponse`.
# Interfaces
CommandClient is an interface used to send and response command of TTL jobs.
NotificationClient is a client to notify other TTL workers.