nuctl get function

On This Page

Display function information

Synopsis

nuctl get function [name[:version]] [options]

Parameters

The command can receive one of the following parameter combinations:

  • name:version — the name and version of a function for which to display information. Only information for the specified version of the named function will be displayed.
  • name — the name of a function for which to display information. When the function version is not provided, information for the latest version of the function is displayed.
  • version — the version of a function for which to display information. When the function name is not provided, information for all functions of the specified version will be displayed.

Options

  -h, --help            Help for get function
  -l, --labels string   Function labels (lbl1=val1[,lbl2=val2,...])
  -o, --output string   Output format - "text", "wide", "yaml", or "json" (default "text")
  -w, --watch           Watch for changes

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