TemplateCatalogProvider

Fetches a course template manifest and its module archives within caller-supplied deadlines.

Implementations must apply the shared outbound URL, redirect, and byte-limit policies.

Functions

Link copied to clipboard
abstract suspend fun archive(descriptor: TemplateModuleDescriptor, timeoutMillis: Long): ByteArray

Returns the bounded archive described by descriptor.

Link copied to clipboard
open override fun close()
Link copied to clipboard
abstract suspend fun manifest(sourceUrl: String, timeoutMillis: Long): TemplateManifest

Returns the validated manifest at sourceUrl.