doublewrite

package
v1.17.0-pre.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0 Copyright Authors of Cilium

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDoubleWriteBackend

func NewDoubleWriteBackend(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