Package-level declarations

Functions

Link copied to clipboard
Link copied to clipboard
operator fun List<BuildAttributesValue>.get(name: String): String?
Link copied to clipboard
fun BuildsApi.getBuildsFlow(since: Long? = null, sinceBuild: String? = null, fromInstant: Long? = null, fromBuild: String? = null, query: String? = null, reverse: Boolean? = null, maxWaitSecs: Int? = null, buildsPerPage: Int = API_MAX_BUILDS, models: List<BuildModelName>? = null, allModels: Boolean? = false): Flow<Build>

Gets builds on demand from the API, in as many requests as necessary. It allows for queries of any size, as opposed to BuildsApi.getBuilds which is limited by the API itself to 1000.

Link copied to clipboard
fun BuildsApi.getGradleAttributesFlow(since: Long = 0, sinceBuild: String? = null, fromInstant: Long? = null, fromBuild: String? = null, query: String? = null, reverse: Boolean? = null, maxWaitSecs: Int? = null, scope: CoroutineScope = GlobalScope, models: List<BuildModelName>? = null): Flow<GradleAttributes>

Gets GradleAttributes of all builds from a given date. Queries BuildsApi.getBuilds first, the endpoint providing a timeline of builds, then maps each to BuildsApi.getGradleAttributes.