public ActionResult Dashboard(string cluster, string node) { var vd = new DashboardModel { Clusters = ElasticCluster.AllClusters, Refresh = true, View = DashboardModel.Views.Cluster, WarningsOnly = true }; return View("Cluster", vd); }
public ActionResult Indices(string cluster, string node, string guid) { var current = GetNode(cluster, node ?? guid); var vd = new DashboardModel { Clusters = ElasticCluster.AllClusters, Refresh = true, View = DashboardModel.Views.Indices, Current = current }; return View("Indices", vd); }
public ActionResult Node(string cluster, string node, DashboardModel.Popups popup = DashboardModel.Popups.None) { var cn = GetNode(cluster, node); var vd = new DashboardModel { Clusters = ElasticCluster.AllClusters, Refresh = true, View = DashboardModel.Views.Node, Current = cn, Popup = popup }; return View("Node", vd); }
public ActionResult Shards(string cluster, string server) { var vd = new DashboardModel { Clusters = ElasticCluster.AllClusters, Refresh = true, View = DashboardModel.Views.Shards }; return View("Cluster.Shards", vd); }
public ActionResult Shards(string cluster, string server, bool ajax = false) { var vd = new DashboardModel { Clusters = ElasticCluster.AllClusters, Refresh = true, View = DashboardModel.Views.Shards }; return View(ajax ? "Dashboard.Cluster.Shards" : "Dashboard", vd); }