Skip to content

Commit

Permalink
hub docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepitm12 committed Jan 25, 2022
1 parent 77ce126 commit 7781060
Show file tree
Hide file tree
Showing 30 changed files with 83 additions and 124 deletions.
6 changes: 2 additions & 4 deletions docs/cmd/tkn_hub.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,18 @@ Interact with tekton hub
### Options

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
-h, --help help for hub
```

### SEE ALSO

* [tkn](tkn.md) - CLI for tekton pipelines
* [tkn hub check-upgrade](tkn_hub_check-upgrade.md) - Check for upgrades of resources if present
* [tkn hub downgrade](tkn_hub_downgrade.md) - Downgrade an installed resource
* [tkn hub get](tkn_hub_get.md) - Get resource manifest by its name, kind, catalog, and version
* [tkn hub info](tkn_hub_info.md) - Display info of resource by its name, kind, catalog, and version
* [tkn hub install](tkn_hub_install.md) - Install a resource from a catalog by its kind, name and version
* [tkn hub reinstall](tkn_hub_reinstall.md) - Reinstall a resource by its kind and name
* [tkn hub search](tkn_hub_search.md) - Search resource by a combination of name, kind, categories, platforms, and tags
* [tkn hub search](tkn_hub_search.md) - Search resource by a combination of name, kind, and tags
* [tkn hub upgrade](tkn_hub_upgrade.md) - Upgrade an installed resource

3 changes: 1 addition & 2 deletions docs/cmd/tkn_hub_downgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ Downgrade an installed resource
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
```

### SEE ALSO
Expand Down
3 changes: 1 addition & 2 deletions docs/cmd/tkn_hub_downgrade_task.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ Downgrade a Task of name 'foo' to version '0.3':
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
-c, --context string Name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string Kubectl config file (default: $HOME/.kube/config)
-n, --namespace string Namespace to use (default: from $KUBECONFIG)
Expand Down
5 changes: 2 additions & 3 deletions docs/cmd/tkn_hub_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ Get resource manifest by its name, kind, catalog, and version
### Options

```
--from string Name of Catalog to which resource belongs to.
--from string Name of Catalog to which resource belongs to. (default "tekton")
-h, --help help for get
--version string Version of Resource
```

### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
```

### SEE ALSO
Expand Down
5 changes: 2 additions & 3 deletions docs/cmd/tkn_hub_get_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ Get a Pipeline of name 'foo' of version '0.3':
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--from string Name of Catalog to which resource belongs to.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
--from string Name of Catalog to which resource belongs to. (default "tekton")
--version string Version of Resource
```

Expand Down
5 changes: 2 additions & 3 deletions docs/cmd/tkn_hub_get_task.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ Get a Task of name 'foo' of version '0.3':
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--from string Name of Catalog to which resource belongs to.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
--from string Name of Catalog to which resource belongs to. (default "tekton")
--version string Version of Resource
```

Expand Down
5 changes: 2 additions & 3 deletions docs/cmd/tkn_hub_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ Display info of resource by its name, kind, catalog, and version
### Options

```
--from string Name of Catalog to which resource belongs.
--from string Name of Catalog to which resource belongs. (default "tekton")
-h, --help help for info
--version string Version of Resource
```

### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
```

### SEE ALSO
Expand Down
5 changes: 2 additions & 3 deletions docs/cmd/tkn_hub_info_task.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ Display info of a Task of name 'foo' of version '0.3':
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--from string Name of Catalog to which resource belongs.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
--from string Name of Catalog to which resource belongs. (default "tekton")
--version string Version of Resource
```

Expand Down
3 changes: 1 addition & 2 deletions docs/cmd/tkn_hub_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ Install a resource from a catalog by its kind, name and version
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
```

### SEE ALSO
Expand Down
3 changes: 1 addition & 2 deletions docs/cmd/tkn_hub_install_task.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ Install a Task of name 'foo' of version '0.3' from Catalog 'Tekton':
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
-c, --context string Name of the kubeconfig context to use (default: kubectl config current-context)
--from string Name of Catalog to which resource belongs. (default "tekton")
-k, --kubeconfig string Kubectl config file (default: $HOME/.kube/config)
Expand Down
3 changes: 1 addition & 2 deletions docs/cmd/tkn_hub_reinstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ Reinstall a resource by its kind and name
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
```

### SEE ALSO
Expand Down
3 changes: 1 addition & 2 deletions docs/cmd/tkn_hub_reinstall_task.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ Reinstall a Task of name 'foo' of version '0.3' from Catalog 'Tekton':
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
-c, --context string Name of the kubeconfig context to use (default: kubectl config current-context)
--from string Name of Catalog to which resource belongs. (default "tekton")
-k, --kubeconfig string Kubectl config file (default: $HOME/.kube/config)
Expand Down
21 changes: 9 additions & 12 deletions docs/cmd/tkn_hub_search.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## tkn hub search

Search resource by a combination of name, kind, categories, platforms, and tags
Search resource by a combination of name, kind, and tags

### Usage

Expand All @@ -10,7 +10,7 @@ tkn hub search

### Synopsis

Search resource by a combination of name, kind, categories, platforms, and tags
Search resource by a combination of name, kind, and tags

### Examples

Expand All @@ -29,21 +29,18 @@ Search resources using tag 'cli':
### Options

```
--categories stringArray Accepts a comma separated list of categories
-h, --help help for search
--kinds stringArray Accepts a comma separated list of kinds
-l, --limit uint Max number of resources to fetch
--match string Accept type of search. 'exact' or 'contains'. (default "contains")
-o, --output string Accepts output format: [table, json, wide] (default "table")
--platforms stringArray Accepts a comma separated list of platforms
--tags stringArray Accepts a comma separated list of tags
-h, --help help for search
--kinds stringArray Accepts a comma separated list of kinds
-l, --limit uint Max number of resources to fetch
--match string Accept type of search. 'exact' or 'contains'. (default "contains")
-o, --output string Accepts output format: [table, json] (default "table")
--tags stringArray Accepts a comma separated list of tags
```

### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
```

### SEE ALSO
Expand Down
3 changes: 1 addition & 2 deletions docs/cmd/tkn_hub_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ Upgrade an installed resource
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
```

### SEE ALSO
Expand Down
3 changes: 1 addition & 2 deletions docs/cmd/tkn_hub_upgrade_task.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ Upgrade a Task of name 'foo' to version '0.3':
### Options inherited from parent commands

```
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
-c, --context string Name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string Kubectl config file (default: $HOME/.kube/config)
-n, --namespace string Namespace to use (default: from $KUBECONFIG)
Expand Down
7 changes: 3 additions & 4 deletions docs/man/man1/tkn-hub-downgrade-task.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ Downgrade an installed Task by its name to a lower version

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL

.PP
\fB\-c\fP, \fB\-\-context\fP=""
Expand Down
7 changes: 3 additions & 4 deletions docs/man/man1/tkn-hub-downgrade.1
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ Downgrade an installed resource

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL


.SH SEE ALSO
Expand Down
9 changes: 4 additions & 5 deletions docs/man/man1/tkn-hub-get-pipeline.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ Get Pipeline by name, catalog and version

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL

.PP
\fB\-\-from\fP=""
\fB\-\-from\fP="tekton"
Name of Catalog to which resource belongs to.

.PP
Expand Down
9 changes: 4 additions & 5 deletions docs/man/man1/tkn-hub-get-task.1
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ Get Task by name, catalog and version

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL

.PP
\fB\-\-from\fP=""
\fB\-\-from\fP="tekton"
Name of Catalog to which resource belongs to.

.PP
Expand Down
9 changes: 4 additions & 5 deletions docs/man/man1/tkn-hub-get.1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Get resource manifest by its name, kind, catalog, and version

.SH OPTIONS
.PP
\fB\-\-from\fP=""
\fB\-\-from\fP="tekton"
Name of Catalog to which resource belongs to.

.PP
Expand All @@ -34,10 +34,9 @@ Get resource manifest by its name, kind, catalog, and version

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL


.SH SEE ALSO
Expand Down
9 changes: 4 additions & 5 deletions docs/man/man1/tkn-hub-info-task.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ Display info of Task by its name, catalog and version

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL

.PP
\fB\-\-from\fP=""
\fB\-\-from\fP="tekton"
Name of Catalog to which resource belongs.

.PP
Expand Down
9 changes: 4 additions & 5 deletions docs/man/man1/tkn-hub-info.1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Display info of resource by its name, kind, catalog, and version

.SH OPTIONS
.PP
\fB\-\-from\fP=""
\fB\-\-from\fP="tekton"
Name of Catalog to which resource belongs.

.PP
Expand All @@ -34,10 +34,9 @@ Display info of resource by its name, kind, catalog, and version

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL


.SH SEE ALSO
Expand Down
7 changes: 3 additions & 4 deletions docs/man/man1/tkn-hub-install-task.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ Install Task from a catalog by its name and version

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL

.PP
\fB\-c\fP, \fB\-\-context\fP=""
Expand Down
7 changes: 3 additions & 4 deletions docs/man/man1/tkn-hub-install.1
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ Install a resource from a catalog by its kind, name and version

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL


.SH SEE ALSO
Expand Down
7 changes: 3 additions & 4 deletions docs/man/man1/tkn-hub-reinstall-task.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ Reinstall a Task by its name

.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-api\-server\fP=""
Hub API Server URL (default '
\[la]https://api.hub.tekton.dev'\[ra]).
URL can also be defined in a file '$HOME/.tekton/hub\-config' with a variable 'HUB\_API\_SERVER'.
\fB\-\-api\-server\fP="
\[la]https://api.hub.tekton.dev"\[ra]
Hub API Server URL

.PP
\fB\-c\fP, \fB\-\-context\fP=""
Expand Down
Loading

0 comments on commit 7781060

Please sign in to comment.