Package-level declarations

Types

Link copied to clipboard
external interface Artifact
Link copied to clipboard
external interface ArtifactClient
Link copied to clipboard
Link copied to clipboard
external interface BackendIds
Link copied to clipboard
external interface BlobUploadResponse
Link copied to clipboard
sealed external class DefaultArtifactClient : ArtifactClient
Link copied to clipboard
external interface DeleteArtifactResponse
Link copied to clipboard
external interface DownloadArtifactOptions
Link copied to clipboard
external interface DownloadArtifactResponse
Link copied to clipboard
external class FilesNotFoundError : Throwable
Link copied to clipboard
external interface FindOptions
Link copied to clipboard
external interface GetArtifactResponse
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
external interface ListArtifactsOptions
Link copied to clipboard
external interface ListArtifactsResponse
Link copied to clipboard
external class NetworkError : Throwable
Link copied to clipboard
external interface RetryOptions
Link copied to clipboard
external interface UploadArtifactOptions
Link copied to clipboard
external interface UploadArtifactResponse
Link copied to clipboard
external interface UploadZipSpecification
Link copied to clipboard
external class UsageError : Throwable
Link copied to clipboard
external class ZipUploadStream : Transform

Properties

Link copied to clipboard
external val client: ArtifactClient
Link copied to clipboard

Functions

Link copied to clipboard
suspend external fun createZipUploadStream(uploadSpecification: ReadonlyArray<UploadZipSpecification>, compressionLevel: Number = definedExternally): ZipUploadStream
Link copied to clipboard
external fun createZipUploadStreamAsync(uploadSpecification: ReadonlyArray<UploadZipSpecification>, compressionLevel: Number = definedExternally): Promise<ZipUploadStream>
Link copied to clipboard
suspend external fun deleteArtifactInternal(artifactName: Any?): DeleteArtifactResponse
Link copied to clipboard
Link copied to clipboard
suspend external fun deleteArtifactPublic(artifactName: String, workflowRunId: Number, repositoryOwner: String, repositoryName: String, token: String): DeleteArtifactResponse
Link copied to clipboard
external fun deleteArtifactPublicAsync(artifactName: String, workflowRunId: Number, repositoryOwner: String, repositoryName: String, token: String): Promise<DeleteArtifactResponse>
Link copied to clipboard
suspend external fun downloadArtifactInternal(artifactId: Number, options: DownloadArtifactOptions = definedExternally): DownloadArtifactResponse
Link copied to clipboard
external fun downloadArtifactInternalAsync(artifactId: Number, options: DownloadArtifactOptions = definedExternally): Promise<DownloadArtifactResponse>
Link copied to clipboard
suspend external fun downloadArtifactPublic(artifactId: Number, repositoryOwner: String, repositoryName: String, token: String, options: DownloadArtifactOptions = definedExternally): DownloadArtifactResponse
Link copied to clipboard
external fun downloadArtifactPublicAsync(artifactId: Number, repositoryOwner: String, repositoryName: String, token: String, options: DownloadArtifactOptions = definedExternally): Promise<DownloadArtifactResponse>
Link copied to clipboard
suspend external fun getArtifactInternal(artifactName: String): GetArtifactResponse
Link copied to clipboard
Link copied to clipboard
suspend external fun getArtifactPublic(artifactName: String, workflowRunId: Number, repositoryOwner: String, repositoryName: String, token: String): GetArtifactResponse
Link copied to clipboard
external fun getArtifactPublicAsync(artifactName: String, workflowRunId: Number, repositoryOwner: String, repositoryName: String, token: String): Promise<GetArtifactResponse>
Link copied to clipboard
Link copied to clipboard
external fun getConcurrency(): Number
Link copied to clipboard
external fun getExpiration(retentionDays: Number = definedExternally): ReadonlyRecord<String, Any>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
external fun getRetryOptions(defaultOptions: ReadonlyRecord<String, Any>, retries: Number = definedExternally, exemptStatusCodes: ReadonlyArray<Number> = definedExternally): JsTuple2<RetryOptions, ReadonlyRecord<String, Any>?>
Link copied to clipboard
external fun getRuntimeToken(): String
Link copied to clipboard
external fun getUploadChunkSize(): Number
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
external fun getUserAgentString(): String
Link copied to clipboard
external fun isGhes(): Boolean
Link copied to clipboard
suspend external fun listArtifactsInternal(latest: Boolean = definedExternally): ListArtifactsResponse
Link copied to clipboard
external fun listArtifactsInternalAsync(latest: Boolean = definedExternally): Promise<ListArtifactsResponse>
Link copied to clipboard
suspend external fun listArtifactsPublic(workflowRunId: Number, repositoryOwner: String, repositoryName: String, token: String, latest: Boolean = definedExternally): ListArtifactsResponse
Link copied to clipboard
external fun listArtifactsPublicAsync(workflowRunId: Number, repositoryOwner: String, repositoryName: String, token: String, latest: Boolean = definedExternally): Promise<ListArtifactsResponse>
Link copied to clipboard
suspend external fun streamExtractExternal(url: String, directory: String)
Link copied to clipboard
external fun streamExtractExternalAsync(url: String, directory: String): Promise<Void>
Link copied to clipboard
suspend external fun uploadArtifact(name: String, files: ReadonlyArray<String>, rootDirectory: String, options: UploadArtifactOptions? = definedExternally): UploadArtifactResponse
Link copied to clipboard
external fun uploadArtifactAsync(name: String, files: ReadonlyArray<String>, rootDirectory: String, options: UploadArtifactOptions? = definedExternally): Promise<UploadArtifactResponse>
Link copied to clipboard
suspend external fun uploadZipToBlobStorage(authenticatedUploadURL: String, zipUploadStream: ZipUploadStream): BlobUploadResponse
Link copied to clipboard
external fun uploadZipToBlobStorageAsync(authenticatedUploadURL: String, zipUploadStream: ZipUploadStream): Promise<BlobUploadResponse>
Link copied to clipboard
external fun validateArtifactName(name: String)
Link copied to clipboard
external fun validateFilePath(path: String)
Link copied to clipboard
external fun validateRootDirectory(rootDirectory: String)