Documentation ¶
Index ¶
- func CreateFileStore(scheme *runtime.Scheme, obj resource.Object, prefix string) (storebackend.Storer[runtime.Object], error)
- func CreateKVStore(db *badger.DB, scheme *runtime.Scheme, obj resource.Object) (storebackend.Storer[runtime.Object], error)
- func CreateMemStore() storebackend.Storer[runtime.Object]
- type Config
- type StorageType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFileStore ¶
func CreateKVStore ¶
func CreateMemStore ¶
func CreateMemStore() storebackend.Storer[runtime.Object]
Types ¶
type Config ¶
type Config struct { Prefix string Type StorageType DB *badger.DB }
type StorageType ¶
type StorageType int
const ( StorageType_Memory StorageType = iota StorageType_File StorageType_KV )
Click to show internal directories.
Click to hide internal directories.