k8ts
Version:
Powerful framework for building Kubernetes manifests in TypeScript.
27 lines • 549 B
TypeScript
import type { Pv_Backend } from "./pv";
export declare function parseBackend(backend?: Pv_Backend): {
hostPath?: undefined;
local?: undefined;
nfs?: undefined;
} | {
hostPath: {
path: string;
type: string;
};
local?: undefined;
nfs?: undefined;
} | {
local: {
path: string;
};
hostPath?: undefined;
nfs?: undefined;
} | {
nfs: {
server: string;
path: string;
};
hostPath?: undefined;
local?: undefined;
};
//# sourceMappingURL=parse-backend.d.ts.map