Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Run runs the garbage collector. Collects every 30 seconds, or when the // collector is shutting down. Run(ctx context.Context) error // Push pushes a key to the garbage collector to be deleted. Push(key string) // Pop removes a key from the garbage collector. Pop(key string) }
Interface is a garbage collector. It is used to queue-up deletion of ETCD keys so that they can be deleted in bulk and not interrupt triggering. Keys can be pulled from garbage collection queue. Runs every 30s.
Click to show internal directories.
Click to hide internal directories.