UNPKG

@kubricate/core

Version:

A TypeScript framework for building reusable, type-safe Kubernetes infrastructure — without the YAML mess.

14 lines 397 B
/** * Defines a stack factory that creates a stack of resources based on the provided input. * * @param name - The name of the stack. * @param factory - A function that takes an input and returns a map of resources. * @returns A stack factory function. */ export function defineStackTemplate(name, factory) { return { name, create: factory }; } //# sourceMappingURL=helper.js.map