UNPKG

kubernetes-models

Version:
42 lines (41 loc) 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const schema = { "properties": { "apiVersion": { "type": "string", "nullable": true }, "fieldPath": { "type": "string", "nullable": true }, "kind": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "namespace": { "type": "string", "nullable": true }, "resourceVersion": { "type": "string", "nullable": true }, "uid": { "type": "string", "nullable": true } }, "type": "object" }; function addSchema() { (0, validate_1.register)("io.k8s.api.core.v1.ObjectReference", schema); } exports.addSchema = addSchema;