k8ts
Version:
Powerful framework for building Kubernetes manifests in TypeScript.
23 lines • 733 B
TypeScript
import { OriginNode, Relation, Resource_Node } from "@k8ts/instruments";
import { AssembledResult } from "./exporter";
export interface SummarizerOptions {
printOptions?: boolean;
}
export declare class Summarizer {
private readonly _options;
private _post;
constructor(_options: SummarizerOptions);
_formatRefFromTo(node: Resource_Node, edge: Relation<Resource_Node>): `K8TS_TOK_${string}`;
private _token;
private _resource;
private _resources;
private _yaml;
private _serialize;
private _getOptions;
result(result: AssembledResult): string;
files(obj: {
origin: OriginNode;
resources: Resource_Node[];
}[]): string;
}
//# sourceMappingURL=summarizer.d.ts.map