Skip to content

Add nexus commands.#347

Merged
nikki-dag merged 4 commits intomainfrom
nikki/add-nexus-commands
May 23, 2024
Merged

Add nexus commands.#347
nikki-dag merged 4 commits intomainfrom
nikki/add-nexus-commands

Conversation

@nikki-dag
Copy link
Copy Markdown
Contributor

@nikki-dag nikki-dag commented May 21, 2024

tcld nexus -h
NAME:
   tcld nexus - Commands for managing Nexus operations (EXPERIMENTAL)

USAGE:
   tcld nexus command [command options] [arguments...]

COMMANDS:
   endpoint, ep  Commands for managing Nexus Endpoints (EXPERIMENTAL)
tcld nexus endpoint -h
NAME:
   tcld nexus endpoint - Commands for managing Nexus Endpoints (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint command [command options] [arguments...]

DESCRIPTION:
   Endpoint commands enable managing Nexus Endpoints

COMMANDS:
   get, g                 Get a Nexus Endpoint by name (EXPERIMENTAL)
   list, l                List Nexus Endpoints (EXPERIMENTAL)
   create, c              Create a new Nexus Endpoint (EXPERIMENTAL)
   update, u              Update an existing Nexus Endpoint (EXPERIMENTAL)
   allowed-namespace, an  Allowed namespace operations for a Nexus Endpoint (EXPERIMENTAL)
   delete, d              Delete a Nexus Endpoint (EXPERIMENTAL)
tcld nexus endpoint get -h
NAME:
   tcld nexus endpoint get - Get a Nexus Endpoint by name (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint get [command options] [arguments...]

DESCRIPTION:
   This command gets a Nexus Endpoint configuration by name from the Server

OPTIONS:
   --name value, -n value  Endpoint name
tcld nexus endpoint list -h
NAME:
   tcld nexus endpoint list - List Nexus Endpoints (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint list [command options] [arguments...]

DESCRIPTION:
   This command lists all Nexus Endpoint configurations on the Server
tcld nexus endpoint create -h
NAME:
   tcld nexus endpoint create - Create a new Nexus Endpoint (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint create [command options] [arguments...]

DESCRIPTION:
   This command creates a new Nexus Endpoint on the Server.
   An endpoint name is used by in workflow code to invoke Nexus operations.
   The endpoint target is a worker and `--target-namespace` and `--target-task-queue` must both be provided.
   This will fail if an endpoint with the same name is already registered

OPTIONS:
   --name value, -n value                                                         Endpoint name
   --target-namespace value, --tns value                                          Namespace in which a handler worker will be polling for Nexus tasks on
   --target-task-queue value, --ttq value                                         Task Queue in which a handler worker will be polling for Nexus tasks on
   --allow-namespace value, --ans value [ --allow-namespace value, --ans value ]  Namespace that is allowed to call this endpoint
   --request-id value, -r value                                                   The request-id to use for the asynchronous operation, if not set the server will assign one (optional)
tcld nexus endpoint update -h
NAME:
   tcld nexus endpoint update - Update an existing Nexus Endpoint (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint update [command options] [arguments...]

DESCRIPTION:
   This command updates an existing Nexus Endpoint on the Server.
   An endpoint name is used by in workflow code to invoke Nexus operations.
   The endpoint target is a worker and `--target-namespace` and `--target-task-queue` must both be provided.
   Only the fields that are provided will be updated

OPTIONS:
   --name value, -n value                  Endpoint name
   --target-namespace value, --tns value   Namespace in which a handler worker will be polling for Nexus tasks on (optional)
   --target-task-queue value, --ttq value  Task Queue in which a handler worker will be polling for Nexus tasks on (optional)
   --resource-version value, -v value      The resource-version (etag) to update from, if not set the cli will use the latest (optional)
   --request-id value, -r value            The request-id to use for the asynchronous operation, if not set the server will assign one (optional)
tcld nexus endpoint allowed-namespace  -h
NAME:
   tcld nexus endpoint allowed-namespace - Allowed namespace operations for a Nexus Endpoint (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint allowed-namespace command [command options] [arguments...]

COMMANDS:
   add, a     Add allowed namespaces to a Nexus Endpoint (EXPERIMENTAL)
   list, l    List allowed namespaces of a Nexus Endpoint (EXPERIMENTAL)
   set, s     Set allowed namespaces of a Nexus Endpoint (EXPERIMENTAL)
   remove, r  Remove allowed namespaces from a Nexus Endpoint (EXPERIMENTAL)
tcld nexus endpoint allowed-namespace add  -h
NAME:
   tcld nexus endpoint allowed-namespace add - Add allowed namespaces to a Nexus Endpoint (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint allowed-namespace add [command options] [arguments...]

OPTIONS:
   --name value, -n value                                           Endpoint name
   --namespace value, --ns value [ --namespace value, --ns value ]  Namespace that is allowed to call this endpoint
   --resource-version value, -v value                               The resource-version (etag) to update from, if not set the cli will use the latest (optional)
   --request-id value, -r value                                     The request-id to use for the asynchronous operation, if not set the server will assign one (optional)
tcld nexus endpoint allowed-namespace list -h
NAME:
   tcld nexus endpoint allowed-namespace list - List allowed namespaces of a Nexus Endpoint (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint allowed-namespace list [command options] [arguments...]

OPTIONS:
   --name value, -n value  Endpoint name
tcld nexus endpoint allowed-namespace set -h
NAME:
   tcld nexus endpoint allowed-namespace set - Set allowed namespaces of a Nexus Endpoint (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint allowed-namespace set [command options] [arguments...]

OPTIONS:
   --name value, -n value                                           Endpoint name
   --namespace value, --ns value [ --namespace value, --ns value ]  Namespace that is allowed to call this endpoint
   --resource-version value, -v value                               The resource-version (etag) to update from, if not set the cli will use the latest (optional)
   --request-id value, -r value                                     The request-id to use for the asynchronous operation, if not set the server will assign one (optional)
tcld nexus endpoint allowed-namespace remove -h
NAME:
   tcld nexus endpoint allowed-namespace remove - Remove allowed namespaces from a Nexus Endpoint (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint allowed-namespace remove [command options] [arguments...]

OPTIONS:
   --name value, -n value                                           Endpoint name
   --namespace value, --ns value [ --namespace value, --ns value ]  Namespace that is allowed to call this endpoint
   --resource-version value, -v value                               The resource-version (etag) to update from, if not set the cli will use the latest (optional)
   --request-id value, -r value                                     The request-id to use for the asynchronous operation, if not set the server will assign one (optional)
tcld nexus endpoint delete -h
NAME:
   tcld nexus endpoint delete - Delete a Nexus Endpoint (EXPERIMENTAL)

USAGE:
   tcld nexus endpoint delete [command options] [arguments...]

DESCRIPTION:
   This command deletes a Nexus Endpoint on the Server.


OPTIONS:
   --name value, -n value              Endpoint name
   --resource-version value, -v value  The resource-version (etag) to update from, if not set the cli will use the latest (optional)
   --request-id value, -r value        The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

@nikki-dag nikki-dag force-pushed the nikki/add-nexus-commands branch from 7251ec2 to 9be4861 Compare May 23, 2024 13:07
@nikki-dag nikki-dag force-pushed the nikki/add-nexus-commands branch from 9be4861 to d528d80 Compare May 23, 2024 13:47
@nikki-dag nikki-dag marked this pull request as ready for review May 23, 2024 13:47
Comment thread app/nexus.go
Comment thread app/nexus.go
Comment thread app/nexus.go Outdated
Comment thread app/nexus.go Outdated
Comment thread app/nexus.go Outdated
Comment thread app/nexus.go Outdated
Comment thread app/nexus.go
Comment thread app/nexus.go Outdated
Comment thread app/nexus.go Outdated
Comment thread app/nexus.go Outdated
Comment thread app/nexus.go
Comment thread app/nexus_test.go
@nikki-dag nikki-dag merged commit 4a07f47 into main May 23, 2024
@nikki-dag nikki-dag deleted the nikki/add-nexus-commands branch May 23, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants