This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add start cmd for Pulsar Functions (#29)
Master Issue: #2 Add start cmd for Pulsar Functions ``` USED FOR: This command is used for starting a stopped function instance. REQUIRED PERMISSION: This command requires super-user permissions. EXAMPLES: #Starts a stopped function instance pulsarctl functions start --tenant public --namespace default --name <the name of Pulsar Function> #Starts a stopped function instance with instance ID pulsarctl functions start --tenant public --namespace default --name <the name of Pulsar Function> --instance-id 1 #Starts a stopped function instance with FQFN pulsarctl functions start --fqfn tenant/namespace/name [eg: public/default/ExampleFunctions] OUTPUT: #normal output Started successfully #You must specify a name for the Pulsar Functions or a FQFN, please check the --name args [✖] you must specify a name for the function or a Fully Qualified Function Name (FQFN) #The name of Pulsar Functions doesn't exist, please check the --name args [✖] code: 404 reason: Function <your function name> doesn't exist #Used an instanceID that does not exist or other impermissible actions [✖] code: 400 reason: Operation not permitted Usage: pulsarctl functions start [flags] Aliases: start, start 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 --instance-id string The function instanceId (start all instances if instance-id is not provided) ```
- Loading branch information