Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fencer ¶
Fencer provides a method set to prevent processing out of order events.
Fencer will keep track of the last seen revision (monotonically increasing event id) for each seen UUID (globally unique identifier for a resource producing an event.)
type Meta ¶
type Meta struct { // UUID is an immutable identifier for resource producing // this event. UUID string // Rev is a revision number in a total order of revision numbers // for the resource producing this event. Rev uint64 }
Meta provides metadata from the resource which triggered this package's events.
func (*Meta) FromObjectMeta ¶
FromObjectMeta allocates a meta derived from a k8s ObjectMeta and stores it at the memory pointed to by m.
Click to show internal directories.
Click to hide internal directories.