Documentation
¶
Overview ¶
Package kvdb contains authN server code for interacting with a persistent key-value store
- Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved.
Index ¶
Constants ¶
View Source
const ( EmptyDB dbType = "" BuntDB dbType = "BuntDB" )
View Source
const KeyMetadataVersion = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthStorageDriver ¶
type AuthStorageDriver interface {
LoadKeyData() (*KeyData, error)
PersistKeyData(m *KeyData) error
}
AuthStorageDriver loads and persists key metadata (JWKS and related fields) as one unit.
type Driver ¶
Driver wraps a kvdb.Driver and adds authn-specific capabilities. It implements both cmn/kvdb.Driver (via embedding) and AuthStorageDriver.
func CreateDriver ¶
func CreateDriver(cm *config.ConfManager) *Driver
func (*Driver) LoadKeyData ¶
func (*Driver) PersistKeyData ¶
type KeyData ¶
KeyData is the single unit of storage for auth key state (JWKS and future fields). It is read/written atomically. MetaVersion is the schema version of this struct.
func (*KeyData) MarshalJSON ¶
func (*KeyData) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.