25 lines
565 B
TypeScript
25 lines
565 B
TypeScript
|
|
/**
|
||
|
|
* State machine states for a MicroVM lifecycle.
|
||
|
|
*/
|
||
|
|
export type TVMState = 'created' | 'configuring' | 'running' | 'paused' | 'stopped' | 'error';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Supported Firecracker architectures.
|
||
|
|
*/
|
||
|
|
export type TFirecrackerArch = 'x86_64' | 'aarch64';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Disk cache types supported by Firecracker.
|
||
|
|
*/
|
||
|
|
export type TCacheType = 'Unsafe' | 'Writeback';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Snapshot types for creating snapshots.
|
||
|
|
*/
|
||
|
|
export type TSnapshotType = 'Full' | 'Diff';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Log levels for Firecracker logger.
|
||
|
|
*/
|
||
|
|
export type TLogLevel = 'Error' | 'Warning' | 'Info' | 'Debug';
|