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