k8ts
Version:
Powerful framework for building Kubernetes manifests in TypeScript.
22 lines • 1.18 kB
TypeScript
import type { Resource_Entity } from "@k8ts/instruments";
import { Resource_Child } from "@k8ts/instruments";
import type { CDK } from "@k8ts/sample-interfaces";
import { Pvc } from "../../persistent";
import { Container_Mount_Device } from "../container/mounts";
interface Pod_Device_Backend_Pvc {
$backend: Pvc<"Block">;
readOnly?: boolean;
}
export type Pod_Device_Backend = Pod_Device_Backend_Pvc;
export declare class Pod_Device extends Resource_Child<Pod_Device_Backend_Pvc> {
readonly backend: Pod_Device_Backend_Pvc;
get kind(): import("@k8ts/instruments").Kind.SubKind<"Device", import("@k8ts/instruments").Kind.SubKind<"Volume", import("@k8ts/instruments").Kind.Kind<"", "v1", "Pod">>>;
constructor(parent: Resource_Entity, name: string, backend: Pod_Device_Backend_Pvc);
get sourceNamespace(): string | undefined;
protected __needs__(): Record<string, Resource_Entity | Resource_Entity[] | undefined>;
protected __submanifest__(): CDK.Volume;
Mount(): Container_Mount_Device;
}
export declare function make(parent: Resource_Entity, name: string, input: Pod_Device_Backend): Pod_Device;
export {};
//# sourceMappingURL=devices.d.ts.map