Invoke a function
Invoke a function
nuctl invoke function-name [flags]
-b, --body string HTTP message body
-c, --content-type string HTTP Content-Type (default "application/json")
-d, --headers string HTTP headers (name=val1[,name=val2,...])
-h, --help help for invoke
-l, --log-level string Log level - "none", "debug", "info", "warn", or "error" (default "info")
-m, --method string HTTP method for invoking the function (default "GET")
-p, --path string Path to the function to invoke
--via string Invoke the function via - "any" (default): a load balancer or an external IP; "loadbalancer": a load balancer; "external-ip": an external IP (default "any")
-k, --kubeconfig string Path to a Kubernetes configuration file (admin.conf)
-n, --namespace string Kubernetes namespace (default "default")
--platform string Platform identifier - "kube", "local", or "auto". (default "auto")
-v, --verbose Verbose output
- nuctl - Nuclio command-line interface