@eighty4/c2
Version:
Cross platform cloud config tooling for cloud-init
11 lines • 425 B
TypeScript
export type AttachmentType = 'cloud-config' | 'x-shellscript';
export interface Attachment {
path: string;
content: string;
filename: string;
source: string;
type: AttachmentType;
}
export declare function collectAttachments(dir: string): Promise<Array<Attachment>>;
export declare function resolveAttachmentType(filename: string, source: string): AttachmentType;
//# sourceMappingURL=attachments.d.ts.map