Documentation ¶
Overview ¶
Package allocator provides a kvstore based ID allocator
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKVStoreBackend ¶
func NewKVStoreBackend(c KVStoreBackendConfiguration) (allocator.Backend, error)
NewKVStoreBackend creates a pkg/allocator.Backend compatible instance. The specific kvstore used is configured in pkg/kvstore.
Types ¶
type KVStoreBackendConfiguration ¶
type KVStoreBackendConfiguration struct { BasePath string Suffix string Typ allocator.AllocatorKey Backend kvstore.BackendOperations }
Directories ¶
Path | Synopsis |
---|---|
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Cilium
|
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Cilium |
Click to show internal directories.
Click to hide internal directories.