UNPKG

kubernetes-models

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