Skip to content

Commit

Permalink
Add condition list command
Browse files Browse the repository at this point in the history
  • Loading branch information
16yuki0702 committed Oct 1, 2019
1 parent ae1c757 commit 531673e
Show file tree
Hide file tree
Showing 44 changed files with 588 additions and 34 deletions.
1 change: 1 addition & 0 deletions docs/cmd/tkn.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ CLI for tekton pipelines

* [tkn clustertask](tkn_clustertask.md) - Manage clustertasks
* [tkn completion](tkn_completion.md) - Prints shell completion scripts
* [tkn condition](tkn_condition.md) - Manage conditions
* [tkn pipeline](tkn_pipeline.md) - Manage pipelines
* [tkn pipelinerun](tkn_pipelinerun.md) - Manage pipelineruns
* [tkn resource](tkn_resource.md) - Manage pipeline resources
Expand Down
24 changes: 24 additions & 0 deletions docs/cmd/tkn_condition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## tkn condition

Manage conditions

***Aliases**: cond,conditions*

### Synopsis

Manage conditions

### Options

```
-h, --help help for condition
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
```

### SEE ALSO

* [tkn](tkn.md) - CLI for tekton pipelines
* [tkn condition list](tkn_condition_list.md) - Lists conditions in a namespace

37 changes: 37 additions & 0 deletions docs/cmd/tkn_condition_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## tkn condition list

Lists conditions in a namespace

***Aliases**: ls*

### Usage

```
tkn condition list
```

### Synopsis

Lists conditions in a namespace

### Options

```
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
-h, --help help for list
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
```

### Options inherited from parent commands

```
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --nocolour disable colouring (default: false)
```

### SEE ALSO

* [tkn condition](tkn_condition.md) - Manage conditions

2 changes: 1 addition & 1 deletion docs/man/man1/tkn-clustertask-delete.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-CLUSTERTASK\-DELETE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-CLUSTERTASK\-DELETE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-clustertask-list.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-CLUSTERTASK\-LIST" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-CLUSTERTASK\-LIST" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-clustertask.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-CLUSTERTASK" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-CLUSTERTASK" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-completion.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-COMPLETION" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-COMPLETION" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
56 changes: 56 additions & 0 deletions docs/man/man1/tkn-condition-list.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
.TH "TKN\-CONDITION\-LIST" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l


.SH NAME
.PP
tkn\-condition\-list \- Lists conditions in a namespace


.SH SYNOPSIS
.PP
\fBtkn condition list\fP


.SH DESCRIPTION
.PP
Lists conditions in a namespace


.SH OPTIONS
.PP
\fB\-\-allow\-missing\-template\-keys\fP[=true]
If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.

.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
help for list

.PP
\fB\-o\fP, \fB\-\-output\fP=""
Output format. One of: json|yaml|name|go\-template|go\-template\-file|template|templatefile|jsonpath|jsonpath\-file.

.PP
\fB\-\-template\fP=""
Template string or path to template file to use when \-o=go\-template, \-o=go\-template\-file. The template format is golang templates [
\[la]http://golang.org/pkg/text/template/#pkg-overview\[ra]].


.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-k\fP, \fB\-\-kubeconfig\fP=""
kubectl config file (default: $HOME/.kube/config)

.PP
\fB\-n\fP, \fB\-\-namespace\fP=""
namespace to use (default: from $KUBECONFIG)

.PP
\fB\-C\fP, \fB\-\-nocolour\fP[=false]
disable colouring (default: false)


.SH SEE ALSO
.PP
\fBtkn\-condition(1)\fP
41 changes: 41 additions & 0 deletions docs/man/man1/tkn-condition.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.TH "TKN\-CONDITION" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l


.SH NAME
.PP
tkn\-condition \- Manage conditions


.SH SYNOPSIS
.PP
\fBtkn condition\fP


.SH DESCRIPTION
.PP
Manage conditions


.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
help for condition

.PP
\fB\-k\fP, \fB\-\-kubeconfig\fP=""
kubectl config file (default: $HOME/.kube/config)

.PP
\fB\-n\fP, \fB\-\-namespace\fP=""
namespace to use (default: from $KUBECONFIG)

.PP
\fB\-C\fP, \fB\-\-nocolour\fP[=false]
disable colouring (default: false)


.SH SEE ALSO
.PP
\fBtkn(1)\fP, \fBtkn\-condition\-list(1)\fP
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipeline-delete.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINE\-DELETE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINE\-DELETE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipeline-describe.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINE\-DESCRIBE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINE\-DESCRIBE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipeline-list.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINE\-LIST" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINE\-LIST" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipeline-logs.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINE\-LOGS" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINE\-LOGS" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipeline-start.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINE\-START" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINE\-START" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipeline.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipelinerun-cancel.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINERUN\-CANCEL" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINERUN\-CANCEL" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipelinerun-delete.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINERUN\-DELETE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINERUN\-DELETE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipelinerun-describe.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINERUN\-DESCRIBE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINERUN\-DESCRIBE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipelinerun-list.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINERUN\-LIST" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINERUN\-LIST" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipelinerun-logs.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINERUN\-LOGS" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINERUN\-LOGS" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-pipelinerun.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-PIPELINERUN" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-PIPELINERUN" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-resource-delete.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-RESOURCE\-DELETE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-RESOURCE\-DELETE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-resource-describe.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-RESOURCE\-DESCRIBE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-RESOURCE\-DESCRIBE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-resource-list.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-RESOURCE\-LIST" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-RESOURCE\-LIST" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-resource.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-RESOURCE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-RESOURCE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-task-delete.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASK\-DELETE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASK\-DELETE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-task-describe.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASK\-DESCRIBE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASK\-DESCRIBE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-task-list.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASK\-LIST" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASK\-LIST" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-task.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASK" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASK" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-taskrun-cancel.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASKRUN\-CANCEL" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASKRUN\-CANCEL" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-taskrun-delete.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASKRUN\-DELETE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASKRUN\-DELETE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-taskrun-describe.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASKRUN\-DESCRIBE" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASKRUN\-DESCRIBE" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-taskrun-list.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASKRUN\-LIST" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASKRUN\-LIST" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-taskrun-logs.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASKRUN\-LOGS" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASKRUN\-LOGS" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-taskrun.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-TASKRUN" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-TASKRUN" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/tkn-version.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN\-VERSION" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN\-VERSION" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/tkn.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "TKN" "1" "Sep 2019" "Auto generated by spf13/cobra" ""
.TH "TKN" "1" "Oct 2019" "Auto generated by spf13/cobra" ""
.nh
.ad l

Expand Down Expand Up @@ -26,4 +26,4 @@ CLI for tekton pipelines

.SH SEE ALSO
.PP
\fBtkn\-clustertask(1)\fP, \fBtkn\-completion(1)\fP, \fBtkn\-pipeline(1)\fP, \fBtkn\-pipelinerun(1)\fP, \fBtkn\-resource(1)\fP, \fBtkn\-task(1)\fP, \fBtkn\-taskrun(1)\fP, \fBtkn\-version(1)\fP
\fBtkn\-clustertask(1)\fP, \fBtkn\-completion(1)\fP, \fBtkn\-condition(1)\fP, \fBtkn\-pipeline(1)\fP, \fBtkn\-pipelinerun(1)\fP, \fBtkn\-resource(1)\fP, \fBtkn\-task(1)\fP, \fBtkn\-taskrun(1)\fP, \fBtkn\-version(1)\fP
Loading

0 comments on commit 531673e

Please sign in to comment.