UNPKG

k8ts

Version:

Powerful framework for building Kubernetes manifests in TypeScript.

95 lines 4.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.api = void 0; const instruments_1 = require("@k8ts/instruments"); var api; (function (api) { api.v1 = instruments_1.Kind.version("v1"); api.batch = instruments_1.Kind.group("batch"); let batch_; (function (batch_) { batch_.v1 = api.batch.version("v1"); let v1_; (function (v1_) { function kind_(name) { return batch_.v1.kind(name); } v1_.kind_ = kind_; v1_.Job = batch_.v1.kind("Job"); v1_.CronJob = batch_.v1.kind("CronJob"); })(v1_ = batch_.v1_ || (batch_.v1_ = {})); })(batch_ = api.batch_ || (api.batch_ = {})); let v1_; (function (v1_) { function kind_(name) { return api.v1.kind(name); } v1_.kind_ = kind_; v1_.ConfigMap = api.v1.kind("ConfigMap"); v1_.Secret = api.v1.kind("Secret"); v1_.Service = api.v1.kind("Service"); v1_.Pod = api.v1.kind("Pod"); let Pod_; (function (Pod_) { Pod_.Container = v1_.Pod.subkind("Container"); Pod_.Port = Pod_.Container.subkind("Port"); Pod_.EnvVar = Pod_.Container.subkind("EnvVar"); Pod_.VolumeMount = Pod_.Container.subkind("VolumeMount"); Pod_.DeviceMount = Pod_.Container.subkind("DeviceMount"); Pod_.Volume = v1_.Pod.subkind("Volume"); Pod_.Device = Pod_.Volume.subkind("Device"); })(Pod_ = v1_.Pod_ || (v1_.Pod_ = {})); v1_.Node = api.v1.kind("Node"); v1_.Namespace = api.v1.kind("Namespace"); v1_.ServiceAccount = api.v1.kind("ServiceAccount"); v1_.PersistentVolume = api.v1.kind("PersistentVolume"); v1_.PersistentVolumeClaim = api.v1.kind("PersistentVolumeClaim"); v1_.PodTemplate = api.v1.kind("PodTemplate"); })(v1_ = api.v1_ || (api.v1_ = {})); api.apps = instruments_1.Kind.group("apps"); let apps_; (function (apps_) { apps_.v1 = api.apps.version("v1"); let v1_; (function (v1_) { v1_.Deployment = apps_.v1.kind("Deployment"); v1_.StatefulSet = apps_.v1.kind("StatefulSet"); v1_.DaemonSet = apps_.v1.kind("DaemonSet"); v1_.ReplicaSet = apps_.v1.kind("ReplicaSet"); v1_.ControllerRevision = apps_.v1.kind("ControllerRevision"); })(v1_ = apps_.v1_ || (apps_.v1_ = {})); })(apps_ = api.apps_ || (api.apps_ = {})); api.networking = instruments_1.Kind.group("networking.k8s.io"); let networking_; (function (networking_) { networking_.v1 = api.networking.version("v1"); let v1_; (function (v1_) { v1_.NetworkPolicy = networking_.v1.kind("NetworkPolicy"); })(v1_ = networking_.v1_ || (networking_.v1_ = {})); })(networking_ = api.networking_ || (api.networking_ = {})); api.gateway = instruments_1.Kind.group("gateway.networking.k8s.io"); let gateway_; (function (gateway_) { gateway_.v1 = api.gateway.version("v1"); let v1_; (function (v1_) { v1_.Gateway = gateway_.v1.kind("Gateway"); v1_.GatewayClass = gateway_.v1.kind("GatewayClass"); v1_.HttpRoute = gateway_.v1.kind("HTTPRoute"); v1_.TcpRoute = gateway_.v1.kind("TCPRoute"); v1_.TlsRoute = gateway_.v1.kind("TLSRoute"); })(v1_ = gateway_.v1_ || (gateway_.v1_ = {})); })(gateway_ = api.gateway_ || (api.gateway_ = {})); api.storage = instruments_1.Kind.group("storage.k8s.io"); let storage_; (function (storage_) { storage_.v1 = api.storage.version("v1"); let v1_; (function (v1_) { v1_.StorageClass = storage_.v1.kind("StorageClass"); v1_.VolumeAttachment = storage_.v1.kind("VolumeAttachment"); })(v1_ = storage_.v1_ || (storage_.v1_ = {})); })(storage_ = api.storage_ || (api.storage_ = {})); })(api || (exports.api = api = {})); //# sourceMappingURL=kinds.js.map