$ tkn
This section lists the basic tkn
cli commands.
Delete a Pipeline.
mypipeline
Pipeline from a namespace$ tkn pipeline delete mypipeline -n myspace
Describe a Pipeline.
mypipeline
Pipeline$ tkn pipeline describe mypipeline
Cancel a PipelineRun.
mypipelinerun
PipelineRun from a namespace$ tkn pipelinerun cancel mypipelinerun -n myspace
Delete a PipelineRun.
$ tkn pipelinerun delete mypipelinerun1 mypipelinerun2 -n myspace
Describe a PipelineRun.
mypipelinerun
PipelineRun in a namespace$ tkn pipelinerun describe mypipelinerun -n myspace
Delete a Task.
mytask1
and mytask2
Tasks from a namespace$ tkn task delete mytask1 mytask2 -n myspace
Describe a Task.
mytask
Task in a namespace$ tkn task describe mytask -n myspace
Cancel a TaskRun.
mytaskrun
TaskRun from a namespace$ tkn taskrun cancel mytaskrun -n myspace
Delete a TaskRun.
mytaskrun1
and mytaskrun2
TaskRuns from a namespace$ tkn taskrun delete mytaskrun1 mytaskrun2 -n myspace
Create a Pipeline Resource.
$ tkn resource create -n myspace
This is an interactive command that asks for input on the name of the Resource, type of the Resource, and the values based on the type of the Resource.
Delete a Pipeline Resource.
myresource
Pipeline Resource from a namespace$ tkn resource delete myresource -n myspace
Delete an EventListener.
mylistener1
and mylistener2
EventListeners in a namespace$ tkn eventlistener delete mylistener1 mylistener2 -n myspace
Describe an EventListener.
mylistener
EventListener in a namespace$ tkn eventlistener describe mylistener -n myspace
List EventListeners.
$ tkn eventlistener list -n myspace
Manage TriggerBindings.
$ tkn triggerbinding -h
Delete a TriggerBinding.
mybinding1
and mybinding2
TriggerBindings in a namespace$ tkn triggerbinding delete mybinding1 mybinding2 -n myspace
Describe a TriggerBinding.
mybinding
TriggerBinding in a namespace$ tkn triggerbinding describe mybinding -n myspace
List TriggerBindings.
$ tkn triggerbinding list -n myspace
Manage TriggerTemplates.
$ tkn triggertemplate -h
Delete a TriggerTemplate.
mytemplate1
and mytemplate2
TriggerTemplates in a namespace$ tkn triggertemplate delete mytemplate1 mytemplate2 -n `myspace`
Describe a TriggerTemplate.
mytemplate
TriggerTemplate in a namespace$ tkn triggertemplate describe mytemplate -n `myspace`
List TriggerTemplates.
$ tkn triggertemplate list -n myspace
Manage ClusterTriggerBindings.
$ tkn clustertriggerbinding -h
Delete a ClusterTriggerBinding.
myclusterbinding1
and myclusterbinding2
ClusterTriggerBindings$ tkn clustertriggerbinding delete myclusterbinding1 myclusterbinding2