1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-31 15:11:31 +00:00

Counts per namespace

This commit is contained in:
Darren Shepherd
2019-08-12 21:32:57 -07:00
parent d61942f795
commit ecc80ef1e1
2 changed files with 36 additions and 19 deletions

View File

@@ -16,6 +16,7 @@ func (a *apiServer) routes() error {
a.Path("/v1/{type:schemas}/{name}").Handler(a.handle(nil))
a.Path("/v1/{type:subscribe}").Handler(a.handle(nil))
a.Path("/v1/{type:counts}").Handler(a.handle(nil))
a.Path("/v1/{type:counts}/{name}").Handler(a.handle(nil))
a.Path("/{version:v1}/{resource}").Handler(a.handle(a.k8sAPI))
a.Path("/{version:v1}/{resource}/{nameorns}").Handler(a.handle(a.k8sAPI))