UNPKG

k8ts

Version:

Powerful framework for building Kubernetes manifests in TypeScript.

16 lines 622 B
import { Kind, Origin, ResourceEntity, ResourceNode } from "@k8ts/instruments"; export interface ResourceIdentBlock { kind: Kind.IdentParent; name: string; } export declare abstract class AbsResource<Props extends object = object> implements ResourceEntity { name: string; readonly props: Props; abstract readonly kind: Kind.Identifier<string, Kind.Identifier>; private _node; with(callback: (self: this) => void): this; get node(): ResourceNode; protected constructor(origin: Origin, name: string, props: Props); get shortFqn(): string; } //# sourceMappingURL=abs-resource.d.ts.map