mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 15:46:57 +01:00
41 lines
784 B
Plaintext
41 lines
784 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * serverless/event_workflows/serverless-kn-trigger.adoc
|
|
|
|
[id="kn-trigger-list_{context}"]
|
|
= Listing triggers using `kn`
|
|
|
|
The `kn trigger list` command prints a list of available triggers.
|
|
|
|
.Procedure
|
|
. Print a list of available triggers:
|
|
+
|
|
|
|
[source,terminal]
|
|
----
|
|
$ kn trigger list
|
|
----
|
|
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
NAME BROKER SINK AGE CONDITIONS READY REASON
|
|
email default svc:edisplay 4s 5 OK / 5 True
|
|
ping default svc:edisplay 32s 5 OK / 5 True
|
|
----
|
|
|
|
[id="kn-trigger-list-json_{context}"]
|
|
= Listing triggers using `kn` in JSON format
|
|
|
|
.Procedure
|
|
. Print a list of triggers in JSON format:
|
|
+
|
|
|
|
[source,terminal]
|
|
----
|
|
$ kn trigger list -o json
|
|
----
|
|
|
|
//example output?
|