kubernetes-models
Version:
37 lines (36 loc) • 839 B
JavaScript
import { register } from "@kubernetes-models/validate";
const schema = {
"properties": {
"fsType": {
"type": "string",
"nullable": true
},
"lun": {
"format": "int32",
"type": "integer",
"nullable": true
},
"readOnly": {
"type": "boolean",
"nullable": true
},
"targetWWNs": {
"items": {
"type": "string"
},
"type": "array",
"nullable": true
},
"wwids": {
"items": {
"type": "string"
},
"type": "array",
"nullable": true
}
},
"type": "object"
};
export function addSchema() {
register("io.k8s.api.core.v1.FCVolumeSource", schema);
}