1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-27 23:56:02 +00:00

Make / and /v1 work

This commit is contained in:
Darren Shepherd
2019-08-14 13:39:08 -07:00
parent 59a6ee577e
commit 6d2b0f54ca
8 changed files with 55 additions and 20 deletions

View File

@@ -36,3 +36,7 @@ func k8sAPI(sf schema.Factory, apiOp *types.APIRequest) {
apiOp.Namespaces = []string{namespace}
}
}
func apiRoot(sf schema.Factory, apiOp *types.APIRequest) {
apiOp.Type = "apiRoot"
}