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 (h NoOpHandler) OnDelete(idpool.ID, allocator.AllocatorKey)
func (NoOpHandler) OnListDone ¶
func (h NoOpHandler) OnListDone()
func (NoOpHandler) OnUpsert ¶
func (h NoOpHandler) OnUpsert(idpool.ID, allocator.AllocatorKey)
Click to show internal directories.
Click to hide internal directories.