Package-level declarations

Types

Link copied to clipboard
sealed external interface ArchiveToolType
Link copied to clipboard
sealed external interface CacheFilename
Link copied to clipboard
external class CacheNotFoundError : <ERROR CLASS> ERROR CLASS: Symbol not found for JsError
Link copied to clipboard
sealed external interface CompressionMethod
Link copied to clipboard
external interface DownloadOptions
Link copied to clipboard
external class DownloadProgress
Link copied to clipboard
external class FilesNotFoundError : <ERROR CLASS> ERROR CLASS: Symbol not found for JsError
Link copied to clipboard
external class GHESNotSupportedError : <ERROR CLASS> ERROR CLASS: Symbol not found for JsError
Link copied to clipboard
external class InvalidResponseError : <ERROR CLASS> ERROR CLASS: Symbol not found for JsError
Link copied to clipboard
external class NetworkError : <ERROR CLASS> ERROR CLASS: Symbol not found for JsError
Link copied to clipboard
external class ReserveCacheError : <ERROR CLASS> ERROR CLASS: Symbol not found for JsError
Link copied to clipboard
external interface TransferProgressEvent
Link copied to clipboard
external interface UploadOptions
Link copied to clipboard
external class UploadProgress
Link copied to clipboard
external class UsageError : <ERROR CLASS> ERROR CLASS: Symbol not found for JsError
Link copied to clipboard
external class ValidationError : <ERROR CLASS> ERROR CLASS: Symbol not found for JsError

Properties

Link copied to clipboard
Link copied to clipboard
const val DefaultRetryAttempts: Int = 2
Link copied to clipboard
const val DefaultRetryDelay: Int = 5000
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val SocketTimeout: Int = 5000
Link copied to clipboard
Link copied to clipboard
const val TarFilename: String

Functions

Link copied to clipboard
external fun <T> assertDefined(name: String, value: T = definedExternally): T
Link copied to clipboard
suspend external fun createTar(archiveFolder: String, sourceDirectories: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>, compressionMethod: CompressionMethod)
Link copied to clipboard
external fun createTarAsync(archiveFolder: String, sourceDirectories: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>, compressionMethod: CompressionMethod): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
suspend external fun createTempDirectory(): String
Link copied to clipboard
external fun createTempDirectoryAsync(): ERROR CLASS: Symbol not found for Promise<kotlin/String>
Link copied to clipboard
suspend external fun downloadCache(archiveLocation: String, archivePath: String, options: DownloadOptions = definedExternally)
Link copied to clipboard
external fun downloadCacheAsync(archiveLocation: String, archivePath: String, options: DownloadOptions = definedExternally): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
suspend external fun downloadCacheHttpClient(archiveLocation: String, archivePath: String)
Link copied to clipboard
external fun downloadCacheHttpClientAsync(archiveLocation: String, archivePath: String): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
suspend external fun downloadCacheHttpClientConcurrent(archiveLocation: String, archivePath: ERROR CLASS: Symbol not found for node.fs.PathLike, options: DownloadOptions)
Link copied to clipboard
external fun downloadCacheHttpClientConcurrentAsync(archiveLocation: String, archivePath: ERROR CLASS: Symbol not found for node.fs.PathLike, options: DownloadOptions): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
suspend external fun downloadCacheStorageSDK(archiveLocation: String, archivePath: String, options: DownloadOptions)
Link copied to clipboard
external fun downloadCacheStorageSDKAsync(archiveLocation: String, archivePath: String, options: DownloadOptions): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
suspend external fun extractTar(archivePath: String, compressionMethod: CompressionMethod)
Link copied to clipboard
external fun extractTarAsync(archivePath: String, compressionMethod: CompressionMethod): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
external fun getArchiveFileSizeInBytes(filePath: String): Number
Link copied to clipboard
external fun getCacheFileName(compressionMethod: CompressionMethod): String
Link copied to clipboard
external fun getCacheServiceURL(): String
Link copied to clipboard
Link copied to clipboard
external fun getCacheVersion(paths: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>, compressionMethod: CompressionMethod = definedExternally, enableCrossOsArchive: Boolean = definedExternally): String
Link copied to clipboard
suspend external fun getCompressionMethod(): CompressionMethod
Link copied to clipboard
external fun getCompressionMethodAsync(): ERROR CLASS: Symbol not found for Promise<actions/cache/CompressionMethod>
Link copied to clipboard
external fun getDownloadOptions(copy: DownloadOptions = definedExternally): DownloadOptions
Link copied to clipboard
suspend external fun getGnuTarPathOnWindows(): String
Link copied to clipboard
external fun getGnuTarPathOnWindowsAsync(): ERROR CLASS: Symbol not found for Promise<kotlin/String>
Link copied to clipboard
external fun getRuntimeToken(): String
Link copied to clipboard
external fun getUploadOptions(copy: UploadOptions = definedExternally): UploadOptions
Link copied to clipboard
external fun getUserAgentString(): String
Link copied to clipboard
external fun isFeatureAvailable(): Boolean
Link copied to clipboard
external fun isGhes(): Boolean
Link copied to clipboard
external fun isRetryableStatusCode(statusCode: Number = definedExternally): Boolean
Link copied to clipboard
external fun isServerErrorStatusCode(statusCode: Number = definedExternally): Boolean
Link copied to clipboard
external fun isSuccessStatusCode(statusCode: Number = definedExternally): Boolean
Link copied to clipboard
suspend external fun listTar(archivePath: String, compressionMethod: CompressionMethod)
Link copied to clipboard
external fun listTarAsync(archivePath: String, compressionMethod: CompressionMethod): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
external fun maskSecretUrls(body: ERROR CLASS: Symbol not found for ReadonlyRecord<kotlin/String, kotlin/Any?>??)
Link copied to clipboard
external fun maskSigUrl(url: String)
Link copied to clipboard
suspend external fun resolvePaths(patterns: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>): ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>
Link copied to clipboard
external fun resolvePathsAsync(patterns: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>>
Link copied to clipboard
suspend external fun restoreCache(paths: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>, primaryKey: String, restoreKeys: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String> = definedExternally, options: DownloadOptions = definedExternally, enableCrossOsArchive: Boolean = definedExternally): String?
Link copied to clipboard
external fun restoreCacheAsync(paths: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>, primaryKey: String, restoreKeys: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String> = definedExternally, options: DownloadOptions = definedExternally, enableCrossOsArchive: Boolean = definedExternally): ERROR CLASS: Symbol not found for Promise<kotlin/String?>
Link copied to clipboard
suspend external fun <T> retry(name: String, method: () -> ERROR CLASS: Symbol not found for Promise<T>, getStatusCode: (arg0: T) -> Number?, maxAttempts: Number = definedExternally, delay: Number = definedExternally, onError: (@R|kotlin/ParameterName|(name = String(arg0)) ERROR CLASS: Symbol not found for JsError) -> T?? = definedExternally): T
Link copied to clipboard
external fun <T> retryAsync(name: String, method: () -> ERROR CLASS: Symbol not found for Promise<T>, getStatusCode: (arg0: T) -> Number?, maxAttempts: Number = definedExternally, delay: Number = definedExternally, onError: (@R|kotlin/ParameterName|(name = String(arg0)) ERROR CLASS: Symbol not found for JsError) -> T?? = definedExternally): ERROR CLASS: Symbol not found for Promise<T>
Link copied to clipboard
suspend external fun retryHttpClientResponse(name: String, method: () -> ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for HttpClientResponse>, maxAttempts: Number = definedExternally, delay: Number = definedExternally): ERROR CLASS: Symbol not found for HttpClientResponse
Link copied to clipboard
external fun retryHttpClientResponseAsync(name: String, method: () -> ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for HttpClientResponse>, maxAttempts: Number = definedExternally, delay: Number = definedExternally): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for HttpClientResponse>
Link copied to clipboard
suspend external fun saveCache(paths: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>, key: String, options: UploadOptions = definedExternally, enableCrossOsArchive: Boolean = definedExternally): Number
suspend external fun saveCache(cacheId: Number, archivePath: String, signedUploadURL: String = definedExternally, options: UploadOptions = definedExternally)
Link copied to clipboard
external fun saveCacheAsync(paths: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>, key: String, options: UploadOptions = definedExternally, enableCrossOsArchive: Boolean = definedExternally): ERROR CLASS: Symbol not found for Promise<kotlin/Number>
external fun saveCacheAsync(cacheId: Number, archivePath: String, signedUploadURL: String = definedExternally, options: UploadOptions = definedExternally): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
suspend external fun unlinkFile(filePath: ERROR CLASS: Symbol not found for node.fs.PathLike)
Link copied to clipboard
external fun unlinkFileAsync(filePath: ERROR CLASS: Symbol not found for node.fs.PathLike): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Void>
Link copied to clipboard
suspend external fun uploadCacheArchiveSDK(signedUploadURL: String, archivePath: String, options: UploadOptions = definedExternally): ERROR CLASS: Symbol not found for ReadonlyRecord<kotlin/String, kotlin/Any>
Link copied to clipboard
external fun uploadCacheArchiveSDKAsync(signedUploadURL: String, archivePath: String, options: UploadOptions = definedExternally): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for ReadonlyRecord<kotlin/String, kotlin/Any>>