mirror of https://github.com/rancher/ui.git
40 lines
880 B
JavaScript
40 lines
880 B
JavaScript
import Ember from "ember";
|
|
|
|
export default Ember.Controller.extend({
|
|
// GitHub auth params
|
|
queryParams: ['error_description','state','code','isTest'],
|
|
|
|
resourceActions: Ember.inject.service('resource-actions'),
|
|
actions: {
|
|
clickedAction: function(actionName) {
|
|
this.get('resourceActions').triggerAction(actionName);
|
|
}
|
|
},
|
|
|
|
error: null,
|
|
error_description: null,
|
|
state: null,
|
|
code: null,
|
|
isTest: null,
|
|
|
|
// Keys that trigger modals go in here
|
|
confirmDeleteResources: null,
|
|
originalModel: null,
|
|
|
|
showAbout: null,
|
|
editAccount: null,
|
|
editApikey: null,
|
|
editApikeyIsNew: null,
|
|
editProject: null,
|
|
editContainer: null,
|
|
editHost: null,
|
|
editService: null,
|
|
editAliasService: null,
|
|
editLoadBalancerService: null,
|
|
editRegistry: null,
|
|
showShell: null,
|
|
showContainerLogs: null,
|
|
launchCatalog: null,
|
|
environmentResource: null
|
|
});
|