All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.polywrap.configBuilder.BuilderConfig.kt Maven / Gradle / Ivy

There is a newer version: 0.10.4
Show newest version
package io.polywrap.configBuilder

import io.polywrap.core.WrapEnv
import io.polywrap.core.WrapPackage
import io.polywrap.core.Wrapper
import io.polywrap.core.resolution.UriResolver

/**
 * An intermediary representation of the Polywrap Client configuration.
 */
/**
 * Represents in intermediary representation of the Polywrap Client configuration,
 * used to facilitate config composition in the [ConfigBuilder].
 *
 * @property envs A [MutableMap] mapping environment URIs to their respective [WrapEnv].
 * @property interfaces A [MutableMap] mapping interface URIs to their respective [MutableSet] of implementation URIs.
 * @property redirects A [MutableMap] mapping source URIs to their respective destination URIs.
 * @property wrappers A [MutableMap] mapping wrapper URIs to their respective [Wrapper] instances.
 * @property packages A [MutableMap] mapping package URIs to their respective [WrapPackage] instances.
 * @property resolvers A [MutableList] of [UriResolver] instances.
 */
data class BuilderConfig(
    val envs: MutableMap,
    val interfaces: MutableMap>,
    val redirects: MutableMap,
    val wrappers: MutableMap,
    val packages: MutableMap,
    val resolvers: MutableList,
    val ffiBundles: MutableList
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy