Skip to main content

Core Concepts

YamlParser

YamlParser for parsing YAML files and retrieving values organized in a specific structure.

interface YamlParser {
fun values(): YamlResource
}

YamlProvider

YamlProvider for providing values fetched from YAML resources using specified keys.

interface YamlProvider {
fun get(key: String): String
}

Provider

Provider representing a provider that retrieves content from a specified path. It is a bridge between module and yaml provider.

public interface Provider {
public fun get(path: Path): String
}

Path

Path representing a path to a resource.It is not Okio path.

public interface Path {
public val value: String
}