initial
This commit is contained in:
24
ts/interfaces/common.ts
Normal file
24
ts/interfaces/common.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* 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';
|
||||
Reference in New Issue
Block a user