Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ssorj committed Jan 3, 2025
1 parent 7c95a4f commit 43c0749
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 23 deletions.
6 changes: 0 additions & 6 deletions config/commands/connector.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: connector
resource: connector
related_commands: [listener]
links: [skupper/service-exposure]
description: |
Display help for connector commands and exit.
include_options: [global/*]
subcommands:
- name: create
wait: Configured
related_commands: [listener/create]
links: [skupper/service-exposure]
description: |
Create a connector.
examples: |
Expand Down Expand Up @@ -37,7 +35,6 @@ subcommands:
- name: update
wait: Configured
related_commands: [listener/update]
links: [skupper/service-exposure]
description: |
Update a connector.
examples: |
Expand All @@ -52,7 +49,6 @@ subcommands:
- name: delete
wait: Deletion
related_commands: [listener/delete]
links: [skupper/service-exposure]
description: |
Delete a connector.
examples: |
Expand All @@ -63,7 +59,6 @@ subcommands:
include_options: [delete/*, context/*, global/*]
- name: status
related_commands: [listener/status]
links: [skupper/service-exposure]
description: |
Display the status of connectors in the current site.
examples: |
Expand All @@ -86,7 +81,6 @@ subcommands:
include_options: [status/*, context/*, global/*]
- name: generate
related_commands: [listener/generate]
links: [skupper/service-exposure]
description: |
Generate a Connector resource.
examples: |
Expand Down
7 changes: 1 addition & 6 deletions config/commands/link.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: link
resource: link
related_commands: [token]
links: [skupper/site-linking]
description: |
Display help for link commands and exit.
include_options: [global/*]
subcommands:
- name: update
wait: Ready
links: [skupper/site-linking]
description: |
Change link settings.
examples: |
Expand All @@ -19,7 +17,6 @@ subcommands:
include_options: [link/*, update/*, context/*, global/*]
- name: delete
wait: Deletion
links: [skupper/site-linking]
description: |
Delete a link.
examples: |
Expand All @@ -29,7 +26,6 @@ subcommands:
Link "west-6bfn6" is deleted.
include_options: [delete/*, context/*, global/*]
- name: status
links: [skupper/site-linking]
description: |
Display the status of links in the current site.
examples: |
Expand All @@ -51,8 +47,7 @@ subcommands:
Cost: 1
include_options: [status/*, context/*, global/*]
- name: generate
wait: Site resource Ready
links: [skupper/site-linking]
wait: Site resource ready
description: |
Generate a Link resource for use in a remote site.
Expand Down
6 changes: 0 additions & 6 deletions config/commands/listener.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: listener
resource: listener
related_commands: [connector]
links: [skupper/service-exposure]
description: |
Display help for listener commands and exit.
include_options: [global/*]
subcommands:
- name: create
wait: Configured
related_commands: [connector/create]
links: [skupper/service-exposure]
description: |
Create a listener.
examples: |
Expand All @@ -32,7 +30,6 @@ subcommands:
- name: update
wait: Configured
related_commands: [connector/update]
links: [skupper/service-exposure]
description: |
Update a listener.
examples: |
Expand All @@ -54,7 +51,6 @@ subcommands:
- name: delete
wait: Deletion
related_commands: [connector/delete]
links: [skupper/service-exposure]
description: |
Delete a listener.
examples: |
Expand All @@ -65,7 +61,6 @@ subcommands:
include_options: [delete/*, context/*, global/*]
- name: status
related_commands: [connector/status]
links: [skupper/service-exposure]
description: |
Display the status of listeners in the current site.
examples: |
Expand All @@ -87,7 +82,6 @@ subcommands:
include_options: [status/*, context/*, global/*]
- name: generate
related_commands: [connector/generate]
links: [skupper/service-exposure]
description: |
Generate a Listener resource.
examples: |
Expand Down
1 change: 0 additions & 1 deletion config/commands/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ subcommands:
There is already a site resource defined for the namespace.
- name: update
wait: Ready
links: [skupper/site-configuration]
description: |
Change site settings.
examples: |
Expand Down
4 changes: 1 addition & 3 deletions config/commands/token.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: token
resource: access-token
related_concepts: [access-token]
related_resources: [access-grant, access-token]
links: [skupper/site-linking]
description: |
Display help for token commands and exit.
include_options: [global/*]
Expand All @@ -11,7 +11,6 @@ subcommands:
resource: access-grant
platforms: [Kubernetes]
related_commands: [token/redeem]
links: [skupper/site-linking]
description: |
Issue a token file redeemable for a link to the current site.
Expand Down Expand Up @@ -76,7 +75,6 @@ subcommands:
- name: redeem
resource: access-token
related_commands: [token/issue]
links: [skupper/site-linking]
description: |
Redeem a token file in order to create a link to a remote
site.
Expand Down
2 changes: 1 addition & 1 deletion input/commands/link/generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Generating a link requires a site with link access enabled.
The command waits for the site to enter the ready state
before producing the link.

<table class="fields"><tr><th>Platforms</th><td>Kubernetes, Docker, Podman, Linux</td><tr><th>Waits for</th><td>Site resource Ready</td></table>
<table class="fields"><tr><th>Platforms</th><td>Kubernetes, Docker, Podman, Linux</td><tr><th>Waits for</th><td>Site resource ready</td></table>

## Examples

Expand Down

0 comments on commit 43c0749

Please sign in to comment.