kubernetes-models
Version:
49 lines (48 loc) • 1.3 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSchema = void 0;
const validate_1 = require("@kubernetes-models/validate");
const IoK8sApiStorageV1VolumeError_1 = require("./IoK8sApiStorageV1VolumeError.js");
const schema = {
"properties": {
"attachError": {
"oneOf": [
{
"$ref": "io.k8s.api.storage.v1.VolumeError#"
},
{
"type": "null"
}
]
},
"attached": {
"type": "boolean"
},
"attachmentMetadata": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"nullable": true
},
"detachError": {
"oneOf": [
{
"$ref": "io.k8s.api.storage.v1.VolumeError#"
},
{
"type": "null"
}
]
}
},
"required": [
"attached"
],
"type": "object"
};
function addSchema() {
(0, IoK8sApiStorageV1VolumeError_1.addSchema)();
(0, validate_1.register)("io.k8s.api.storage.v1.VolumeAttachmentStatus", schema);
}
exports.addSchema = addSchema;