Config

data class Config<C : KlerkContext, V>(collections: V, val authorization: AuthorizationConfig<C, V>, val meterRegistry: MeterRegistry, val managedModels: Set<ManagedModel<*, *, C, V>>, val persistence: Persistence, val migrationSteps: SortedSet<MigrationStep>, val plugins: List<KlerkPlugin<C, V>> = listOf(), val contextProvider: (ActorIdentity) -> C?)

Constructors

Link copied to clipboard
constructor(collections: V, authorization: AuthorizationConfig<C, V>, meterRegistry: MeterRegistry, managedModels: Set<ManagedModel<*, *, C, V>>, persistence: Persistence, migrationSteps: SortedSet<MigrationStep>, plugins: List<KlerkPlugin<C, V>> = listOf(), contextProvider: (ActorIdentity) -> C?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
lateinit var gson: Gson
Link copied to clipboard
Link copied to clipboard
val meterRegistry: MeterRegistry
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun withPlugin(plugin: KlerkPlugin<C, V>): Config<C, V>