You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
818 B
23 lines
818 B
/// <reference path="developerPlugin.ts"/>
|
|
|
|
module Developer {
|
|
_module.controller('Developer.EnvironmentPanelController', ($scope, $element, $location, $routeParams, KubernetesModel:Kubernetes.KubernetesModelService, $http, $timeout, KubernetesState, KubernetesApiURL) => {
|
|
|
|
$scope.envVersions = {};
|
|
$scope.model = KubernetesModel;
|
|
$scope.env = $scope.$eval('env');
|
|
$scope.buildConfig = $scope.$eval('entity');
|
|
|
|
$scope.open = true;
|
|
|
|
$scope.toggle = () => $scope.open = !$scope.open;
|
|
|
|
var caches = {};
|
|
|
|
Kubernetes.initShared($scope, $location, $http, $timeout, $routeParams, KubernetesModel, KubernetesState, KubernetesApiURL);
|
|
|
|
loadProjectVersions($scope, $element, $scope.buildConfig, $scope.env, $scope.env.namespace, $scope.envVersions, caches);
|
|
|
|
});
|
|
}
|