Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/cmd/tkn_clustertriggerbinding_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Delete a ClusterTriggerBinding and print the result as YAML:

tkn clustertriggerbinding delete foo -o yaml

Delete all ClusterTriggerBindings and print the result as JSON:

tkn clustertriggerbinding delete --all -o json

Delete all ClusterTriggerBindings and print the result as YAML:

tkn clustertriggerbinding delete --all -o yaml

Using -o json or -o yaml skips the confirmation prompt.


Expand Down
8 changes: 8 additions & 0 deletions docs/cmd/tkn_eventlistener_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Delete an EventListener and print the result as YAML:

tkn eventlistener delete foo -n quux -o yaml

Delete all EventListeners in a namespace and print the result as JSON:

tkn eventlistener delete --all -n quux -o json

Delete all EventListeners in a namespace and print the result as YAML:

tkn eventlistener delete --all -n quux -o yaml

Using -o json or -o yaml skips the confirmation prompt.


Expand Down
16 changes: 16 additions & 0 deletions docs/cmd/tkn_pipeline_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ Delete a Pipeline and print the result as YAML:

tkn pipeline delete foo -n quux -o yaml

Delete all Pipelines in a namespace and print the result as JSON:

tkn pipeline delete --all -n quux -o json

Delete all Pipelines in a namespace and print the result as YAML:

tkn pipeline delete --all -n quux -o yaml

Delete a Pipeline and its PipelineRuns and print the result as JSON:

tkn pipeline delete foo -n quux --prs -o json

Delete a Pipeline and its PipelineRuns and print the result as YAML:

tkn pipeline delete foo -n quux --prs -o yaml

Using -o json or -o yaml skips the confirmation prompt.


Expand Down
24 changes: 24 additions & 0 deletions docs/cmd/tkn_pipelinerun_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,30 @@ Delete a PipelineRun and print the result as YAML:

tkn pipelinerun delete foo -n quux -o yaml

Delete all PipelineRuns in a namespace and print the result as JSON:

tkn pipelinerun delete --all -n quux -o json

Delete all PipelineRuns in a namespace and print the result as YAML:

tkn pipelinerun delete --all -n quux -o yaml

Delete all but the 2 most recent PipelineRuns and print the result as JSON:

tkn pipelinerun delete --keep 2 -n quux -o json

Delete all but the 2 most recent PipelineRuns and print the result as YAML:

tkn pipelinerun delete --keep 2 -n quux -o yaml

Delete PipelineRuns for a Pipeline and print the result as JSON:

tkn pipelinerun delete --pipeline foo -n quux -o json

Delete PipelineRuns for a Pipeline and print the result as YAML:

tkn pipelinerun delete --pipeline foo -n quux -o yaml

Using -o json or -o yaml skips the confirmation prompt.


Expand Down
16 changes: 16 additions & 0 deletions docs/cmd/tkn_task_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ Delete a Task and print the result as YAML:

tkn task delete foo -n quux -o yaml

Delete all Tasks in a namespace and print the result as JSON:

tkn task delete --all -n quux -o json

Delete all Tasks in a namespace and print the result as YAML:

tkn task delete --all -n quux -o yaml

Delete a Task and its TaskRuns and print the result as JSON:

tkn task delete foo -n quux --trs -o json

Delete a Task and its TaskRuns and print the result as YAML:

tkn task delete foo -n quux --trs -o yaml

Using -o json or -o yaml skips the confirmation prompt.


Expand Down
8 changes: 8 additions & 0 deletions docs/cmd/tkn_triggerbinding_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Delete a TriggerBinding and print the result as YAML:

tkn triggerbinding delete foo -n quux -o yaml

Delete all TriggerBindings in a namespace and print the result as JSON:

tkn triggerbinding delete --all -n quux -o json

Delete all TriggerBindings in a namespace and print the result as YAML:

tkn triggerbinding delete --all -n quux -o yaml

Using -o json or -o yaml skips the confirmation prompt.


Expand Down
8 changes: 8 additions & 0 deletions docs/cmd/tkn_triggertemplate_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Delete a TriggerTemplate and print the result as YAML:

tkn triggertemplate delete foo -n quux -o yaml

Delete all TriggerTemplates in a namespace and print the result as JSON:

tkn triggertemplate delete --all -n quux -o json

Delete all TriggerTemplates in a namespace and print the result as YAML:

tkn triggertemplate delete --all -n quux -o yaml

Using -o json or -o yaml skips the confirmation prompt.


Expand Down
24 changes: 24 additions & 0 deletions docs/man/man1/tkn-clustertriggerbinding-delete.1
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,30 @@ tkn clustertriggerbinding delete foo \-o yaml
.fi
.RE

.PP
Delete all ClusterTriggerBindings and print the result as JSON:

.PP
.RS

.nf
tkn clustertriggerbinding delete \-\-all \-o json

.fi
.RE

.PP
Delete all ClusterTriggerBindings and print the result as YAML:

.PP
.RS

.nf
tkn clustertriggerbinding delete \-\-all \-o yaml

.fi
.RE

.PP
Using \-o json or \-o yaml skips the confirmation prompt.

Expand Down
24 changes: 24 additions & 0 deletions docs/man/man1/tkn-eventlistener-delete.1
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,30 @@ tkn eventlistener delete foo \-n quux \-o yaml
.fi
.RE

.PP
Delete all EventListeners in a namespace and print the result as JSON:

.PP
.RS

.nf
tkn eventlistener delete \-\-all \-n quux \-o json

.fi
.RE

.PP
Delete all EventListeners in a namespace and print the result as YAML:

.PP
.RS

.nf
tkn eventlistener delete \-\-all \-n quux \-o yaml

.fi
.RE

.PP
Using \-o json or \-o yaml skips the confirmation prompt.

Expand Down
48 changes: 48 additions & 0 deletions docs/man/man1/tkn-pipeline-delete.1
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,54 @@ tkn pipeline delete foo \-n quux \-o yaml
.fi
.RE

.PP
Delete all Pipelines in a namespace and print the result as JSON:

.PP
.RS

.nf
tkn pipeline delete \-\-all \-n quux \-o json

.fi
.RE

.PP
Delete all Pipelines in a namespace and print the result as YAML:

.PP
.RS

.nf
tkn pipeline delete \-\-all \-n quux \-o yaml

.fi
.RE

.PP
Delete a Pipeline and its PipelineRuns and print the result as JSON:

.PP
.RS

.nf
tkn pipeline delete foo \-n quux \-\-prs \-o json

.fi
.RE

.PP
Delete a Pipeline and its PipelineRuns and print the result as YAML:

.PP
.RS

.nf
tkn pipeline delete foo \-n quux \-\-prs \-o yaml

.fi
.RE

.PP
Using \-o json or \-o yaml skips the confirmation prompt.

Expand Down
72 changes: 72 additions & 0 deletions docs/man/man1/tkn-pipelinerun-delete.1
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,78 @@ tkn pipelinerun delete foo \-n quux \-o yaml
.fi
.RE

.PP
Delete all PipelineRuns in a namespace and print the result as JSON:

.PP
.RS

.nf
tkn pipelinerun delete \-\-all \-n quux \-o json

.fi
.RE

.PP
Delete all PipelineRuns in a namespace and print the result as YAML:

.PP
.RS

.nf
tkn pipelinerun delete \-\-all \-n quux \-o yaml

.fi
.RE

.PP
Delete all but the 2 most recent PipelineRuns and print the result as JSON:

.PP
.RS

.nf
tkn pipelinerun delete \-\-keep 2 \-n quux \-o json

.fi
.RE

.PP
Delete all but the 2 most recent PipelineRuns and print the result as YAML:

.PP
.RS

.nf
tkn pipelinerun delete \-\-keep 2 \-n quux \-o yaml

.fi
.RE

.PP
Delete PipelineRuns for a Pipeline and print the result as JSON:

.PP
.RS

.nf
tkn pipelinerun delete \-\-pipeline foo \-n quux \-o json

.fi
.RE

.PP
Delete PipelineRuns for a Pipeline and print the result as YAML:

.PP
.RS

.nf
tkn pipelinerun delete \-\-pipeline foo \-n quux \-o yaml

.fi
.RE

.PP
Using \-o json or \-o yaml skips the confirmation prompt.

Expand Down
48 changes: 48 additions & 0 deletions docs/man/man1/tkn-task-delete.1
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,54 @@ tkn task delete foo \-n quux \-o yaml
.fi
.RE

.PP
Delete all Tasks in a namespace and print the result as JSON:

.PP
.RS

.nf
tkn task delete \-\-all \-n quux \-o json

.fi
.RE

.PP
Delete all Tasks in a namespace and print the result as YAML:

.PP
.RS

.nf
tkn task delete \-\-all \-n quux \-o yaml

.fi
.RE

.PP
Delete a Task and its TaskRuns and print the result as JSON:

.PP
.RS

.nf
tkn task delete foo \-n quux \-\-trs \-o json

.fi
.RE

.PP
Delete a Task and its TaskRuns and print the result as YAML:

.PP
.RS

.nf
tkn task delete foo \-n quux \-\-trs \-o yaml

.fi
.RE

.PP
Using \-o json or \-o yaml skips the confirmation prompt.

Expand Down
Loading
Loading