etcher-sdk / sourceDestination
- BZip2Source
- BalenaS3CompressedSource
- BalenaS3Source
- BalenaS3SourceBase
- BlockDevice
- CompressedSource
- ConfiguredSource
- CountingHashStream
- CountingWritable
- DmgSource
- DriverlessDevice
- File
- GZipSource
- Http
- MultiDestination
- MultiDestinationError
- MultiDestinationVerifier
- RandomAccessZipSource
- SingleUseStreamSource
- SourceDestination
- SourceDestinationFs
- SourceDisk
- SourceSource
- SparseStreamVerifier
- StreamVerifier
- StreamZipSource
- UsbBBbootDrive
- UsbbootDrive
- Verifier
- XzSource
- ZipSource
- AwsCredentials
- BalenaS3CompressedSourceOptions
- BalenaS3SourceOptions
- CreateReadStreamOptions
- CreateSparseReadStreamOptions
- Metadata
- ProgressEvent
- SourceTransform
Ƭ ConfigureFunction: (disk
: Disk
) => Promise
<void
>
▸ (disk
): Promise
<void
>
Name | Type |
---|---|
disk |
Disk |
Promise
<void
>
lib/source-destination/configured-source/configured-source.ts:45
Ƭ Constructor<T
>: (...args
: any
[]) => T
Name |
---|
T |
• (...args
)
Name | Type |
---|---|
...args |
any [] |
lib/source-destination/progress.ts:24
Ƭ ImageJSON: Dictionary
<{ parts
: ImageJSONPart
[] }>
lib/source-destination/balena-s3-compressed-source.ts:36
• Const
ProgressHashStream: (...args
: any
[]) => __class
<typeof CountingHashStream
> & typeof CountingHashStream
lib/source-destination/source-destination.ts:95
• Const
ProgressWritable: (...args
: any
[]) => __class
<typeof CountingWritable
> & typeof CountingWritable
lib/source-destination/progress.ts:113
• Const
ProgressWriteStream: (...args
: any
[]) => __class
<typeof WriteStream
> & typeof WriteStream
lib/source-destination/file.ts:36
▸ createHasher(): __class
<typeof CountingHashStream
> & CountingHashStream
__class
<typeof CountingHashStream
> & CountingHashStream
lib/source-destination/source-destination.ts:101
▸ getRootStream(stream
): NodeJS.ReadableStream
Name | Type |
---|---|
stream |
ReadableStream |
NodeJS.ReadableStream
lib/source-destination/compressed-source.ts:35
▸ isSourceTransform(stream
): stream is SourceTransform
Name | Type |
---|---|
stream |
any |
stream is SourceTransform
lib/source-destination/compressed-source.ts:31
▸ makeClassEmitProgressEvents<T
>(Cls
, attribute
, positionAttribute
, interval?
): (...args
: any
[]) => __class
<T
> & T
Name | Type |
---|---|
T |
extends Constructor <EventEmitter > |
Name | Type | Default value |
---|---|---|
Cls |
T |
undefined |
attribute |
string |
undefined |
positionAttribute |
string |
undefined |
interval |
number |
PROGRESS_EMISSION_INTERVAL |
(...args
: any
[]) => __class
<T
> & T
lib/source-destination/progress.ts:33
▸ matchSupportedExtensions(filename
): boolean
Name | Type |
---|---|
filename |
string |
boolean