debian-mirror-gitlab/app/assets/javascripts/clusters/constants.js

20 lines
597 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
// These need to match what is returned from the server
2018-11-18 11:00:15 +05:30
export const APPLICATION_STATUS = {
NOT_INSTALLABLE: 'not_installable',
INSTALLABLE: 'installable',
SCHEDULED: 'scheduled',
INSTALLING: 'installing',
INSTALLED: 'installed',
UPDATED: 'updated',
2018-12-13 13:39:08 +05:30
UPDATING: 'updating',
2018-11-18 11:00:15 +05:30
ERROR: 'errored',
};
2018-03-17 18:26:18 +05:30
// These are only used client-side
export const REQUEST_LOADING = 'request-loading';
export const REQUEST_SUCCESS = 'request-success';
export const REQUEST_FAILURE = 'request-failure';
2018-03-27 19:54:05 +05:30
export const INGRESS = 'ingress';
2018-11-08 19:23:39 +05:30
export const JUPYTER = 'jupyter';
2018-12-13 13:39:08 +05:30
export const KNATIVE = 'knative';