kubernetes-models
Version:
20 lines (19 loc) • 681 B
JavaScript
import { createTypeMetaGuard, Model, setSchema } from "@kubernetes-models/base";
import { addSchema } from "../../_schemas/IoK8sApiStorageV1CSINodeList.mjs";
/**
* CSINodeList is a collection of CSINode objects.
*/
export class CSINodeList extends Model {
constructor(data) {
super({
apiVersion: CSINodeList.apiVersion,
kind: CSINodeList.kind,
...data
});
}
}
CSINodeList.apiVersion = "storage.k8s.io/v1";
CSINodeList.kind = "CSINodeList";
CSINodeList.is = createTypeMetaGuard(CSINodeList);
setSchema(CSINodeList, "io.k8s.api.storage.v1.CSINodeList", addSchema);
export { CSINodeList as IoK8sApiStorageV1CSINodeList };