joyent-portal/consoles/my-joy-images/src/constants.js

38 lines
857 B
JavaScript
Raw Normal View History

2018-02-06 12:32:47 +02:00
import {
Linux,
Freebsd,
Illumos,
Smart,
Windows,
Placeholder
} from 'joyent-logo-assets';
export const ImageType = {
ZONE_DATASET: 'Hardware Virtual Machine',
LX_DATASET: 'Infrastructure Container',
ZVOL: 'Hardware Virtual Machine',
DOCKER: 'Docker Container',
OTHER: 'Hardware Virtual Machine'
};
2018-02-13 22:03:57 +02:00
2018-02-06 12:32:47 +02:00
export const OS = {
SMARTOS: Smart,
LINUX: Linux,
WINDOWS: Windows,
BSD: Freebsd,
ILLUMOS: Illumos,
OTHER: Placeholder
};
2018-02-13 22:03:57 +02:00
export const Forms = {
FORM_TAGS_CREATE: 'CREATE-IMAGE-TAGS-ADD',
FORM_TAGS_EDIT: i => `CREATE-IMAGE-TAGS-EDIT-${i}`,
FORM_DETAILS: 'CREATE-IMAGE-DETAILS',
CREATE_FORM: 'CREATE-IMAGE',
2018-02-14 22:30:25 +02:00
CREATE_TAGS: 'CREATE-IMAGE-TAGS',
LIST_TOGGLE_TYPE_FORM: 'LIST-TOGGLE-TYPE-FORM',
LIST_TOOLBAR_FORM: 'LIST-TOOLBAR-FORM',
TAGS_TOOLBAR_FORM: 'TAGS-TOOLBAR-FORM',
TAGS_ADD_FORM: 'TAGS-ADD-FORM'
2018-02-13 22:03:57 +02:00
};