Skip to content

electron publish.Class.S3Publisher

Electron-Builder / electron-publish / S3Publisher

Extends

  • BaseS3Publisher

Constructors

new S3Publisher()

new S3Publisher(context, info): S3Publisher

Parameters

context: PublishContext

info: S3Options

Returns

S3Publisher

Overrides

BaseS3Publisher.constructor

Properties

context

protected readonly context: PublishContext

Inherited from

BaseS3Publisher.context


providerName

readonly providerName: "s3" = "s3"

Overrides

BaseS3Publisher.providerName

Methods

configureS3Options()

protected configureS3Options(args): void

Parameters

args: string[]

Returns

void

Overrides

BaseS3Publisher.configureS3Options


createProgressBar()

protected createProgressBar(fileName, size): null | ProgressBar

Parameters

fileName: string

size: number

Returns

null | ProgressBar

Inherited from

BaseS3Publisher.createProgressBar


createReadStreamAndProgressBar()

protected createReadStreamAndProgressBar(file, fileStat, progressBar, reject): ReadableStream

Parameters

file: string

fileStat: Stats

progressBar: null | ProgressBar

reject

Returns

ReadableStream

Inherited from

BaseS3Publisher.createReadStreamAndProgressBar


getBucketName()

protected getBucketName(): string

Returns

string

Overrides

BaseS3Publisher.getBucketName


toString()

toString(): string

Returns

string

Overrides

BaseS3Publisher.toString


upload()

upload(task): Promise<any>

Parameters

task: UploadTask

Returns

Promise<any>

Inherited from

BaseS3Publisher.upload


checkAndResolveOptions()

static checkAndResolveOptions(options, channelFromAppVersion, errorIfCannot): Promise<void>

Parameters

options: S3Options

channelFromAppVersion: null | string

errorIfCannot: boolean

Returns

Promise<void>