k8ts
Version:
Powerful framework for building Kubernetes manifests in TypeScript.
23 lines • 721 B
TypeScript
import { Origin, Relation, ResourceNode } 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: ResourceNode, edge: Relation<ResourceNode>): `K8TS_TOK_${string}`;
private _token;
private _resource;
private _resources;
private _yaml;
private _serialize;
private _getOptions;
result(result: AssembledResult): string;
files(obj: {
origin: Origin;
resources: ResourceNode[];
}[]): string;
}
//# sourceMappingURL=summarizer.d.ts.map