UNPKG

mcp-server-kubernetes

Version:

MCP server for interacting with Kubernetes clusters via kubectl

11 lines (10 loc) • 453 B
/** * Write `contents` to a new file named `name` inside a fresh private temp * directory and return the file's path. Release it with removeTempFile. */ export declare function writeTempFile(name: string, contents: string): string; /** * Remove a file created by writeTempFile, along with its private directory. * Never throws: a failed cleanup is logged, not surfaced to the caller. */ export declare function removeTempFile(file: string): void;