Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Yard ¶
type Yard struct {
// contains filtered or unexported fields
}
Yard is a graveyard for deleted keys. It keeps track of the keys that have been deleted so that they do not attempt to get re-de-queued from the queue from the informer if they have just been deleted. Keys are tracked by their name and the index at which they were deleted. If more than 500000 keys are tracked, the graveyard will start to remove keys that are older than 10000 indexes to prevent the map from growing indefinitely from missed deletes. This _should_ never happen.
func (*Yard) HasJustDeleted ¶
HasJustDeleted returns true if the key has just been deleted.
Click to show internal directories.
Click to hide internal directories.