Package-level declarations

Types

Link copied to clipboard
interface Encryptor

Functions

Link copied to clipboard
fun Storage.encryptKvs(name: String, encryptor: Encryptor): Kvs
fun Storage.encryptKvs(name: String, key: String): Kvs
Link copied to clipboard
fun Storage.kvs(name: String): Kvs
fun Storage.kvs(name: String, ttl: Ttl? = null, encrypted: Boolean = false): KvsExtended
fun Storage.kvs(name: String, ttl: Duration? = null, encrypted: Boolean = false): KvsExtended
Link copied to clipboard

Returns a persistent Kvs using the light backend.

fun Storage.kvsLight(name: String, ttl: Ttl? = null, encrypted: Boolean = false): KvsExtended

Returns a persistent KvsExtended with optional TTL and encryption using the light backend. Requires kvs-persistence-light on the classpath.

fun Storage.kvsLight(name: String, ttl: Duration? = null, encrypted: Boolean = false): KvsExtended

Returns a persistent KvsExtended with optional TTL and encryption using the light backend.

Link copied to clipboard
fun Storage.kvsLightEncrypt(name: String, encryptor: Encryptor): Kvs

Returns an encrypted persistent Kvs using the light backend and a custom Encryptor.

fun Storage.kvsLightEncrypt(name: String, secretKey: String): Kvs

Returns an encrypted persistent Kvs using the light backend. Requires kvs-persistence-light on the classpath.

Link copied to clipboard

Creates an encryptor backed by the light persistence encryption stack.

Link copied to clipboard

Resolves the on-disk path for a file stored by the light persistence backend. Intended for sibling artifacts (e.g. kvs-document) that build on light persistence.

Link copied to clipboard
Link copied to clipboard