mirror of https://github.com/knative/func.git
docs: change `describe` command to `info` (#480)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
This commit is contained in:
parent
844e99bfd5
commit
a21252ac93
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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!
|
||||
|
|
|
@ -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!
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue