Documentation
¶
Overview ¶
Package mock contains mocks for authN kvdb interfaces
- Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyDataStorage ¶
type KeyDataStorage struct {
// contains filtered or unexported fields
}
KeyDataStorage is a mock in-memory AuthStorageDriver for tests.
func NewKeyDataStorage ¶
func NewKeyDataStorage(rawMeta json.RawMessage, persistErr error) *KeyDataStorage
func (*KeyDataStorage) LoadKeyData ¶
func (m *KeyDataStorage) LoadKeyData() (*kvdb.KeyData, error)
func (*KeyDataStorage) PersistKeyData ¶
func (m *KeyDataStorage) PersistKeyData(meta *kvdb.KeyData) error
Click to show internal directories.
Click to hide internal directories.