Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ssorj committed May 13, 2024
1 parent dbc6344 commit e0b34bd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
13 changes: 8 additions & 5 deletions config/commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ groups:
usage: skupper link delete NAME
- title: skupper link status
output: |
NAME STATUS COST
west Active 1
NAME STATUS COST
west Active 1
south Error 10
Links from remote sites:
Expand All @@ -154,7 +155,7 @@ groups:
usage: skupper connector create NAME [options]
examples: |
# Create a connector for a database
skupper connector create database --workload deployment/database --port 5432
skupper connector create database --workload deployment/postgresql --port 5432
output: |
Waiting for status...
Connector "<name>" is ready
Expand Down Expand Up @@ -182,8 +183,9 @@ groups:
Show the status of connectors in the current site.
usage: skupper connector status
output: |
NAME ROUTING-KEY SELECTOR PORT MATCHING-LISTENERS
backend backend app=backend 8080 1
NAME ROUTING-KEY SELECTOR HOST PORT MATCHING-LISTENERS
backend backend app=backend - 8080 1
database database app=postgresql - 5342 1
- title: skupper listener
description: |
Display help for listener commands and exit.
Expand Down Expand Up @@ -219,6 +221,7 @@ groups:
output: |
NAME ROUTING-KEY HOST PORT MATCHING-CONNECTORS
backend backend backend 8080 1
database database database 5432 1
# - title: Platform operations
# commands:
# - title: skupper platform
Expand Down
8 changes: 5 additions & 3 deletions input/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Connector "<name>" is ready

~~~
# Create a connector for a database
skupper connector create database --workload deployment/database --port 5432
skupper connector create database --workload deployment/postgresql --port 5432
~~~

#### Options
Expand Down Expand Up @@ -317,8 +317,9 @@ Show the status of connectors in the current site.

~~~ shell
$ skupper connector status
NAME ROUTING-KEY SELECTOR PORT MATCHING-LISTENERS
backend backend app=backend 8080 1
NAME ROUTING-KEY SELECTOR HOST PORT MATCHING-LISTENERS
backend backend app=backend - 8080 1
database database app=postgresql - 5342 1
~~~

### skupper listener
Expand Down Expand Up @@ -378,6 +379,7 @@ Show the status of listeners in the current site.
$ skupper listener status
NAME ROUTING-KEY HOST PORT MATCHING-CONNECTORS
backend backend backend 8080 1
database database database 5432 1
~~~

## Debug operations
Expand Down
8 changes: 5 additions & 3 deletions output/commands.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ <h4 id="usage">Usage</h4>
</code></pre>
<h4 id="examples">Examples</h4>
<pre><code># Create a connector for a database
skupper connector create database --workload deployment/database --port 5432
skupper connector create database --workload deployment/postgresql --port 5432
</code></pre>
<h4 id="options">Options</h4>
<ul>
Expand All @@ -248,8 +248,9 @@ <h3 id="skupper-connector-status">skupper connector status</h3>
<p>Show the status of connectors in the current site.</p>
<h4 id="usage">Usage</h4>
<pre><code class="language-shell">$ skupper connector status
NAME ROUTING-KEY SELECTOR PORT MATCHING-LISTENERS
backend backend app=backend 8080 1
NAME ROUTING-KEY SELECTOR HOST PORT MATCHING-LISTENERS
backend backend app=backend - 8080 1
database database app=postgresql - 5342 1
</code></pre>
<h3 id="skupper-listener">skupper listener</h3>
<p>Display help for listener commands and exit.</p>
Expand Down Expand Up @@ -286,6 +287,7 @@ <h4 id="usage">Usage</h4>
<pre><code class="language-shell">$ skupper listener status
NAME ROUTING-KEY HOST PORT MATCHING-CONNECTORS
backend backend backend 8080 1
database database database 5432 1
</code></pre>
<h2 id="debug-operations">Debug operations</h2>
<h3 id="skupper-debug">skupper debug</h3>
Expand Down

0 comments on commit e0b34bd

Please sign in to comment.