Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add public-viewer support to SpaceLister's Get (#451)
* add public-viewer support to pkg/configuration this commit is part of PR #443 Signed-off-by: Francesco Ilario <filario@redhat.com> * add public-viewer support to pkg/context this commit is part of PR #443 Signed-off-by: Francesco Ilario <filario@redhat.com> * add public-viewer support to SpaceLister's Get this commit is part of the effort of splitting PR #443 Signed-off-by: Francesco Ilario <filario@redhat.com> * simplify logs by using Errorf Signed-off-by: Francesco Ilario <filario@redhat.com> * improve logs Signed-off-by: Francesco Ilario <filario@redhat.com> * fix logs Signed-off-by: Francesco Ilario <filario@redhat.com> * remove unused parameter from getUserSpaceBinding Signed-off-by: Francesco Ilario <filario@redhat.com> * update comments Signed-off-by: Francesco Ilario <filario@redhat.com> * remove context's PublicViewerEnabled set Signed-off-by: Francesco Ilario <filario@redhat.com> * remove expectedErr Signed-off-by: Francesco Ilario <filario@redhat.com> * fix test case title Signed-off-by: Francesco Ilario <filario@redhat.com> * add missing tests Signed-off-by: Francesco Ilario <filario@redhat.com> * Update pkg/proxy/handlers/spacelister_get_test.go Co-authored-by: Alexey Kazakov <alkazako@redhat.com> * Update pkg/proxy/handlers/spacelister_get_test.go Co-authored-by: Alexey Kazakov <alkazako@redhat.com> * Update pkg/proxy/handlers/spacelister_get.go Co-authored-by: Francisc Munteanu <fmuntean@redhat.com> * improve unit tests Signed-off-by: Francesco Ilario <filario@redhat.com> * cleanup unit-tests Signed-off-by: Francesco Ilario <filario@redhat.com> * Update pkg/proxy/handlers/spacelister_get_test.go Co-authored-by: Francisc Munteanu <fmuntean@redhat.com> * rollback unneeded changes Signed-off-by: Francesco Ilario <filario@redhat.com> --------- Signed-off-by: Francesco Ilario <filario@redhat.com> Co-authored-by: Alexey Kazakov <alkazako@redhat.com> Co-authored-by: Francisc Munteanu <fmuntean@redhat.com>
- Loading branch information