-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
Expose api-versions and api-resources in oc
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh" | ||
trap os::test::junit::reconcile_output EXIT | ||
|
||
os::test::junit::declare_suite_start "cmd/apiresources" | ||
|
||
os::cmd::expect_success_and_text 'oc api-resources' 'imagestreamtags' | ||
os::cmd::expect_success_and_text 'oc api-resources --api-group=build.openshift.io' 'BuildConfig' | ||
os::cmd::expect_success_and_text 'oc api-resources --namespaced=false' 'Image' | ||
os::cmd::expect_success_and_text 'oc api-resources --verbs=get' 'project.openshift.io' | ||
|
||
os::cmd::expect_success_and_text 'oc api-versions' 'route.openshift.io/v1' | ||
|
||
echo "apiresources: ok" | ||
os::test::junit::declare_suite_end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.