kubernetes-models
Version:
24 lines (23 loc) • 788 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IoK8sApiCoreV1Pod = exports.Pod = void 0;
const base_1 = require("@kubernetes-models/base");
const IoK8sApiCoreV1Pod_1 = require("../_schemas/IoK8sApiCoreV1Pod.js");
/**
* Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
*/
class Pod extends base_1.Model {
constructor(data) {
super({
apiVersion: Pod.apiVersion,
kind: Pod.kind,
...data
});
}
}
exports.Pod = Pod;
exports.IoK8sApiCoreV1Pod = Pod;
Pod.apiVersion = "v1";
Pod.kind = "Pod";
Pod.is = (0, base_1.createTypeMetaGuard)(Pod);
(0, base_1.setSchema)(Pod, "io.k8s.api.core.v1.Pod", IoK8sApiCoreV1Pod_1.addSchema);