Add more pages in the WebUI
This commit is contained in:
parent
2b828765e3
commit
fcc1109e76
82 changed files with 5005 additions and 249 deletions
41
webui/src/store/http/getters.js
Normal file
41
webui/src/store/http/getters.js
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// ----------------------------
|
||||
// all Routers
|
||||
// ----------------------------
|
||||
export function allRouters (state) {
|
||||
return state.allRouters
|
||||
}
|
||||
|
||||
// ----------------------------
|
||||
// Router by Name
|
||||
// ----------------------------
|
||||
export function routerByName (state) {
|
||||
return state.routerByName
|
||||
}
|
||||
|
||||
// ----------------------------
|
||||
// all Services
|
||||
// ----------------------------
|
||||
export function allServices (state) {
|
||||
return state.allServices
|
||||
}
|
||||
|
||||
// ----------------------------
|
||||
// Service by Name
|
||||
// ----------------------------
|
||||
export function serviceByName (state) {
|
||||
return state.serviceByName
|
||||
}
|
||||
|
||||
// ----------------------------
|
||||
// all Middlewares
|
||||
// ----------------------------
|
||||
export function allMiddlewares (state) {
|
||||
return state.allMiddlewares
|
||||
}
|
||||
|
||||
// ----------------------------
|
||||
// Middleware by Name
|
||||
// ----------------------------
|
||||
export function middlewareByName (state) {
|
||||
return state.middlewareByName
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue