Help us shape the future of Go! Take the 2026 Go Developer Survey

doublewrite

package
v1.18.16 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDoubleWriteBackend

func NewDoubleWriteBackend(logger *slog.Logger, c DoubleWriteBackendConfiguration) (allocator.Backend, error)

NewDoubleWriteBackend creates a backend which writes identities to both the CRD and KVStore backends. It should be used for migration purposes only.

Types

type DoubleWriteBackendConfiguration

type DoubleWriteBackendConfiguration struct {
	CRDBackendConfiguration     identitybackend.CRDBackendConfiguration
	KVStoreBackendConfiguration kvstoreallocator.KVStoreBackendConfiguration
	ReadFromKVStore             bool
}

type NoOpHandler

type NoOpHandler struct{}

func (NoOpHandler) OnDelete

func (NoOpHandler) OnListDone

func (h NoOpHandler) OnListDone()

func (NoOpHandler) OnUpsert

Jump to

Keyboard shortcuts

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