buildahcker
Version:
Buildahcker is a node.js library to create and run commands in OCI (Open Container Initiative) container images (or docker images), based on Buildah and a hash-based cache. It also contains utilities to easily create a partitioned bootable disk image of a
19 lines (18 loc) • 560 B
TypeScript
import type { OffsetAndSize } from "./writePartitions";
export declare enum PartitionType {
EfiSystem = "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
BiosBoot = "21686148-6449-6E6F-744E-656564454649",
LinuxData = "0FC63DAF-8483-4772-8E79-3D69D8477DE4"
}
export interface Partition {
size: number;
name: string;
type: PartitionType;
guid?: string;
}
export interface PartedOptions {
outputFile: string;
guid?: string;
partitions: Partition[];
}
export declare const parted: (config: PartedOptions) => Promise<OffsetAndSize[]>;