kubricate
Version:
A TypeScript framework for building reusable, type-safe Kubernetes infrastructure — without the YAML mess.
23 lines • 906 B
TypeScript
import type { BaseLogger } from '@kubricate/core';
import type { KubricateConfig, ProjectMetadataOptions } from '../../types.js';
import type { ProjectGenerateOptions } from './types.js';
export interface RenderedResource {
id: string;
stackId: string;
stackName: string;
kind: string;
name: string;
content: string;
}
export declare class Renderer {
private readonly logger;
readonly metadata: Required<ProjectMetadataOptions>;
constructor(globalOptions: KubricateConfig, logger: BaseLogger);
injectMetadata(resources: Record<string, unknown>, options: {
stackId?: string;
stackName?: string;
}): Record<string, unknown>;
renderStacks(config: KubricateConfig): RenderedResource[];
resolveOutputPath(resource: RenderedResource, mode: ProjectGenerateOptions['outputMode'], stdout: boolean): string;
}
//# sourceMappingURL=Renderer.d.ts.map