nuctl invoke

On This Page

Invoke a function

Synopsis

nuctl invoke function-name [options]

Options

  -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": a load balancer or an external IP; "loadbalancer": a load balancer; "external-ip": an external IP (default "any")

Options inherited from parent commands

  -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

See also

  • nuctl — Nuclio command-line interface