Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add delete cmd for Pulsar Functions (streamnative/pulsar-admin-go#26)
Signed-off-by: xiaolong.ran <[email protected]> Master Issue: streamnative/pulsar-admin-go#2 Add delete cmd for Pulsar Functions, the output as follows: ``` USED FOR: This command is used for delete a Pulsar Function that is running on a Pulsar cluster. REQUIRED PERMISSION: This command requires super-user permissions. EXAMPLES: #Delete a Pulsar Function that is running on a Pulsar cluster pulsarctl functions create --tenant public --namespace default --name <the name of Pulsar Functions> #Delete a Pulsar Function that is running on a Pulsar cluster with instance ID pulsarctl functions create --tenant public --namespace default --name <the name of Pulsar Functions> --instance-id 1 #Delete a Pulsar Function that is running on a Pulsar cluster with FQFN pulsarctl functions delete --fqfn tenant/namespace/name [eg: public/default/ExampleFunctions] OUTPUT: #normal output Deleted successfully Usage: pulsarctl functions delete [flags] Aliases: delete, delete FunctionsConfig flags: --fqfn string The Fully Qualified Function Name (FQFN) for the function --tenant string The tenant of a Pulsar Function --namespace string The namespace of a Pulsar Function --name string The name of a Pulsar Function ```
- Loading branch information