Skip to content

Commit

Permalink
Merge pull request #42 from upalatucci/clone-model
Browse files Browse the repository at this point in the history
Add VirtualMachineClone model
  • Loading branch information
yaacov authored Nov 22, 2023
2 parents 778c01e + 8e261e8 commit 9349ec2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions console/models/VirtualMachineCloneModel.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { K8sModel } from '@openshift-console/dynamic-plugin-sdk/lib/api/common-types';

import { modelToGroupVersionKind, modelToRef } from '../modelUtils';

const VirtualMachineCloneModel: K8sModel = {
label: 'VirtualMachineClone',
labelPlural: 'VirtualMachineClones',
apiVersion: 'v1alpha1',
apiGroup: 'clone.kubevirt.io',
plural: 'virtualmachineclones',
abbr: 'VMS',
namespaced: true,
kind: 'VirtualMachineClone',
id: 'virtualmachineclone',
crd: true,
};

export const VirtualMachineCloneModelGroupVersionKind =
modelToGroupVersionKind(VirtualMachineCloneModel);
export const VirtualMachineCloneModelRef = modelToRef(VirtualMachineCloneModel);

export default VirtualMachineCloneModel;

0 comments on commit 9349ec2

Please sign in to comment.