docs: change `describe` command to `info` (#480)

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
This commit is contained in:
Zbynek Roubalik 2021-08-17 13:19:16 +02:00 committed by GitHub
parent 844e99bfd5
commit a21252ac93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 20 additions and 20 deletions

View File

@ -93,7 +93,7 @@ all of the defaults inferred from your environment, for example`$FUNC_REGISTRY`.
When the command has completed, you can see the deployed function.
```bash
func describe
func info
Function name:
fn-example-io
Function is built in image:

View File

@ -59,10 +59,10 @@ To deploy your function to a Kubenetes cluster, use the `deploy` command.
func deploy
```
You can get the URL for your deployed function with the `describe` command.
You can get the URL for your deployed function with the `info` command.
```
func describe
func info
```
## Testing a function locally

View File

@ -60,10 +60,10 @@ To deploy your function to a Kubenetes cluster, use the `deploy` command.
func deploy
```
You can get the URL for your deployed function with the `describe` command.
You can get the URL for your deployed function with the `info` command.
```
func describe
func info
```
## Testing a function locally

View File

@ -58,10 +58,10 @@ To deploy your function to a Kubenetes cluster, use the `deploy` command.
func deploy
```
You can get the URL for your deployed function with the `describe` command.
You can get the URL for your deployed function with the `info` command.
```
func describe
func info
```
## Testing a function locally

View File

@ -68,10 +68,10 @@ To deploy your function to a Kubenetes cluster, use the `deploy` command.
func deploy
```
You can get the URL for your deployed function with the `describe` command.
You can get the URL for your deployed function with the `info` command.
```
func describe
func info
```
## Testing a function locally

View File

@ -63,10 +63,10 @@ To deploy your function to a Kubenetes cluster, use the `deploy` command.
func deploy
```
You can get the URL for your deployed function with the `describe` command.
You can get the URL for your deployed function with the `info` command.
```
func describe
func info
```
## Testing a function locally

File diff suppressed because one or more lines are too long

View File

@ -56,7 +56,7 @@ Do not forget to set `URL` variable to the route of your function.
You get the route by following command.
```shell script
func describe
func info
```
### cURL

View File

@ -56,7 +56,7 @@ Do not forget to set `URL` variable to the route of your function.
You get the route by following command.
```shell script
func describe
func info
```
### cURL

View File

@ -57,7 +57,7 @@ You can omit the `--registry` option by setting the `FUNC_REGISTRY`
environment variable. And if you forget, you'll be prompted.
The output from a successful deploy should show the URL for the
service, which you can also get via `func describe`, e.g.
service, which you can also get via `func info`, e.g.
```console
curl -v -d '{"name": "Bootsy"}' \
@ -66,7 +66,7 @@ curl -v -d '{"name": "Bootsy"}' \
-H'ce-id: 1' \
-H'ce-source: http://cloudevents.io' \
-H'ce-type: dev.knative.example' \
$(func describe -o url)
$(func info -o url)
```
Have fun!

View File

@ -53,10 +53,10 @@ You can omit the `--registry` option by setting the `FUNC_REGISTRY`
environment variable. And if you forget, you'll be prompted.
The output from a successful deploy should show the URL for the
service, which you can also get via `func describe`, e.g.
service, which you can also get via `func info`, e.g.
```console
curl $(func describe -o url)
curl $(func info -o url)
```
Have fun!

View File

@ -58,7 +58,7 @@ For the examples below, please be sure to set the `URL` variable to the route of
You get the route by following command.
```shell script
func describe
func info
```
Note the value of **Routes:** from the output, set `$URL` to its value.

View File

@ -58,7 +58,7 @@ For the examples below, please be sure to set the `URL` variable to the route of
You get the route by following command.
```shell script
func describe
func info
```
Note the value of **Routes:** from the output, set `$URL` to its value.