Package-level declarations

Types

Link copied to clipboard
interface ArtifactService

Base interface for artifact services.

Link copied to clipboard

An ArtifactService that persists artifacts on the local filesystem.

Link copied to clipboard
class GcsArtifactService(bucketName: String, storageClient: Storage) : ArtifactService

An artifact service implementation using Google Cloud Storage (GCS).

Link copied to clipboard

A thread-safe in-memory implementation of the ArtifactService.

Functions

Link copied to clipboard
fun FileArtifactService.Companion.fromExternalFilesDir(context: Context, subDir: String = FileArtifactService.DEFAULT_ARTIFACTS_SUBDIR): FileArtifactService

Builds a FileArtifactService rooted at <app-specific external files dir>/<subDir>.

Link copied to clipboard
fun FileArtifactService.Companion.fromInternalFilesDir(context: Context, subDir: String = FileArtifactService.DEFAULT_ARTIFACTS_SUBDIR): FileArtifactService

Builds a FileArtifactService rooted at <internal files dir>/<subDir> (Context.getFilesDir).