UNPKG

k8ts

Version:

Powerful framework for building Kubernetes manifests in TypeScript.

21 lines 1.1 kB
import { BaseOriginEntity, Origin, OriginEntityProps, Refable } from "@k8ts/instruments"; import { Meta } from "@k8ts/metadata"; import { api } from "../kinds"; export type FileOrigin<FScope extends FileOrigin.Scope = FileOrigin.Scope> = FileOrigin.FileEntity<FScope>; export declare namespace FileOrigin { type Scope = Refable<api.v1_.Namespace> | "cluster"; interface SmallerProps extends OriginEntityProps { meta?: Meta.Input; } interface Props<FScope extends Scope = Scope> extends OriginEntityProps { meta?: Meta.Input; scope: FScope; } class FileEntity<FScope extends Scope> extends BaseOriginEntity<Props<FScope>> { kind: import("@k8ts/instruments").Kind.Kind<"File", import("@k8ts/instruments").Kind.Version<`v${string}`, import("@k8ts/instruments").Kind.Group<"build.k8ts.org">>>; constructor(name: string, props: Props<FScope>, parent: Origin); get scope(): FScope; } function make<FScope extends Scope>(name: string, props: Props<FScope>, parent: Origin): FileEntity<FScope>; } //# sourceMappingURL=origin.d.ts.map