incarnation

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE10      = 10
	UINT64_SIZE = 64
)

Variables

This section is empty.

Functions

func CreateIncarnationConfigMap

func CreateIncarnationConfigMap(incarnation uint64) *corev1.ConfigMap

func GetIncarnation

func GetIncarnation(mgr ctrl.Manager) (uint64, error)

Incarnation is a part of the version of all the messages this process will transport. The motivation behind this logic is allowing the message receivers/consumers to infer that messages transmitted from this instance are more recent than all other existing ones, regardless of their instance-specific generations.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL