Skip to content

Commit 1e45e6e

Browse files
committed
SRVCOM-2114 restructure CLI
1 parent 0113368 commit 1e45e6e

26 files changed

+178
-90
lines changed

_topic_maps/_topic_map.yml

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3978,7 +3978,7 @@ Topics:
39783978
Dir: kn-event-plugin
39793979
Topics:
39803980
- Name: Knative CLI plugins
3981-
File: kn-plugins
3981+
File: kn-plugins-events
39823982
# Functions
39833983
- Name: Functions
39843984
Dir: functions
@@ -4009,14 +4009,31 @@ Topics:
40094009
- Name: Knative CLI
40104010
Dir: cli_tools
40114011
Topics:
4012-
- Name: Configuring the Knative CLI
4013-
File: advanced-kn-config
4014-
- Name: Knative Serving CLI commands
4015-
File: kn-serving-ref
4016-
- Name: Knative Eventing CLI commands
4017-
File: kn-eventing-ref
4018-
- Name: Functions commands
4019-
File: kn-func-ref
4012+
- Name: Knative Serving CLI commands
4013+
Dir: serving_cli
4014+
Topics:
4015+
- Name: kn service commands
4016+
File: kn-service
4017+
- Name: kn service commands in offline mode
4018+
File: kn-service-offline
4019+
- Name: kn container commands
4020+
File: kn-container
4021+
- Name: kn domain commands
4022+
File: kn-domain
4023+
- Name: Configuring the Knative CLI
4024+
File: advanced-kn-config
4025+
- Name: Knative CLI plugins
4026+
File: kn-plugins
4027+
- Name: Knative Eventing CLI commands
4028+
Dir: eventing_cli
4029+
Topics:
4030+
- Name: kn source commands
4031+
File: kn-source
4032+
- Name: Knative Functions CLI commands
4033+
Dir: functions_cli
4034+
Topics:
4035+
- Name: kn functions commands
4036+
File: kn-functions
40204037
# Admin guide
40214038
- Name: Administer
40224039
Dir: admin_guide

_topic_maps/_topic_map_osd.yml

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ Topics:
595595
Dir: kn-event-plugin
596596
Topics:
597597
- Name: Knative CLI plugins
598-
File: kn-plugins
598+
File: kn-plugins-events
599599
- Name: Functions
600600
Dir: functions
601601
Topics:
@@ -619,17 +619,35 @@ Topics:
619619
File: serverless-functions-annotations
620620
- Name: Functions development reference guide
621621
File: serverless-functions-reference-guide
622+
# Knative kn CLI
622623
- Name: Knative CLI
623624
Dir: cli_tools
624625
Topics:
625-
- Name: Configuring the Knative CLI
626-
File: advanced-kn-config
627-
- Name: Knative Serving CLI commands
628-
File: kn-serving-ref
629-
- Name: Knative Eventing CLI commands
630-
File: kn-eventing-ref
631-
- Name: Functions commands
632-
File: kn-func-ref
626+
- Name: Knative Serving CLI commands
627+
Dir: serving_cli
628+
Topics:
629+
- Name: kn service commands
630+
File: kn-service
631+
- Name: kn service commands in offline mode
632+
File: kn-service-offline
633+
- Name: kn container commands
634+
File: kn-container
635+
- Name: kn domain commands
636+
File: kn-domain
637+
- Name: Configuring the Knative CLI
638+
File: advanced-kn-config
639+
- Name: Knative CLI plugins
640+
File: kn-plugins
641+
- Name: Knative Eventing CLI commands
642+
Dir: eventing_cli
643+
Topics:
644+
- Name: kn source commands
645+
File: kn-source
646+
- Name: Knative Functions CLI commands
647+
Dir: functions_cli
648+
Topics:
649+
- Name: kn functions commands
650+
File: kn-functions
633651
- Name: Administer
634652
Dir: admin_guide
635653
Topics:

_topic_maps/_topic_map_rosa.yml

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ Topics:
783783
Dir: kn-event-plugin
784784
Topics:
785785
- Name: Knative CLI plugins
786-
File: kn-plugins
786+
File: kn-plugins-events
787787
- Name: Functions
788788
Dir: functions
789789
Topics:
@@ -807,17 +807,35 @@ Topics:
807807
File: serverless-functions-annotations
808808
- Name: Functions development reference guide
809809
File: serverless-functions-reference-guide
810+
# Knative kn CLI
810811
- Name: Knative CLI
811812
Dir: cli_tools
812813
Topics:
813-
- Name: Configuring the Knative CLI
814-
File: advanced-kn-config
815-
- Name: Knative Serving CLI commands
816-
File: kn-serving-ref
817-
- Name: Knative Eventing CLI commands
818-
File: kn-eventing-ref
819-
- Name: Functions commands
820-
File: kn-func-ref
814+
- Name: Knative Serving CLI commands
815+
Dir: serving_cli
816+
Topics:
817+
- Name: kn service commands
818+
File: kn-service
819+
- Name: kn service commands in offline mode
820+
File: kn-service-offline
821+
- Name: kn container commands
822+
File: kn-container
823+
- Name: kn domain commands
824+
File: kn-domain
825+
- Name: Configuring the Knative CLI
826+
File: advanced-kn-config
827+
- Name: Knative CLI plugins
828+
File: kn-plugins
829+
- Name: Knative Eventing CLI commands
830+
Dir: eventing_cli
831+
Topics:
832+
- Name: kn source commands
833+
File: kn-source
834+
- Name: Knative Functions CLI commands
835+
Dir: functions_cli
836+
Topics:
837+
- Name: kn functions commands
838+
File: kn-functions
821839
- Name: Administer
822840
Dir: admin_guide
823841
Topics:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../_attributes/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../images
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
:_content-type: ASSEMBLY
2+
[id="kn-source"]
3+
= kn source commands
4+
include::_attributes/common-attributes.adoc[]
5+
:context: kn-source
6+
7+
toc::[]
8+
9+
You can use the following commands to list, create, and manage Knative event sources.
10+
11+
include::modules/serverless-list-source-types-kn.adoc[leveloffset=+1]
12+
include::modules/specifying-sink-flag-kn.adoc[leveloffset=+1]
13+
include::modules/serverless-kn-containersource.adoc[leveloffset=+1]
14+
include::modules/apiserversource-kn.adoc[leveloffset=+1]
15+
include::modules/serverless-pingsource-kn.adoc[leveloffset=+1]
16+
include::modules/serverless-kafka-source-kn.adoc[leveloffset=+1]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../modules/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../snippets
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../_attributes/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../images

0 commit comments

Comments
 (0)