Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.24 KB

nuctl_invoke.md

File metadata and controls

39 lines (28 loc) · 1.24 KB

nuctl invoke

Invoke a function

Synopsis

Invoke a function

nuctl invoke function-name [flags]

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" (default): 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
Auto generated by spf13/cobra on 3-Dec-2017