mirror of https://github.com/knative/client.git
* List inbuilt sources if CRD access is restricted Fixes #947 - Identify restricted access error - If server returns restricted access error, fallback to listing only eventing inbuilt sources using their GVKs. - List any inbuilt source (ApiServerSource) object and read the error to know if eventing is installed for `kn source list-types`. * Fix golint warnings * Remove unused imports * Verify each built in source before listing source types * Improve the check if sources are not installed in the cluster * Update finding forbidden error * Update finding errors * Add unit tests for IsForbiddenError util * Add unit tests * Add tests for dynamic pkg library * Add unit tests for case when no sources are installed * Update test name |
||
|---|---|---|
| .. | ||
| errors.go | ||
| errors_test.go | ||
| factory.go | ||
| factory_test.go | ||
| knerror.go | ||
| knerror_test.go | ||
| types.go | ||