kubernetes-models
Version:
37 lines (36 loc) • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSchema = void 0;
const validate_1 = require("@kubernetes-models/validate");
const IoK8sApiCoreV1PodDNSConfigOption_1 = require("./IoK8sApiCoreV1PodDNSConfigOption.js");
const schema = {
"properties": {
"nameservers": {
"items": {
"type": "string"
},
"type": "array",
"nullable": true
},
"options": {
"items": {
"$ref": "io.k8s.api.core.v1.PodDNSConfigOption#"
},
"type": "array",
"nullable": true
},
"searches": {
"items": {
"type": "string"
},
"type": "array",
"nullable": true
}
},
"type": "object"
};
function addSchema() {
(0, IoK8sApiCoreV1PodDNSConfigOption_1.addSchema)();
(0, validate_1.register)("io.k8s.api.core.v1.PodDNSConfig", schema);
}
exports.addSchema = addSchema;