UNPKG

k8ts

Version:

Powerful framework for building Kubernetes manifests in TypeScript.

20 lines (17 loc) 474 B
import { Resource_Top } from "@k8ts/instruments" import { v1 } from "../../kinds/default" export interface Namespace_Props {} export class Namespace<Name extends string = string> extends Resource_Top<Name, Namespace_Props> { constructor(name: Name, props: Namespace_Props = {}) { super(name, props) } declare name: Name get kind() { return v1.Namespace._ } protected body() { return { spec: {} } } }