sdpctl Reference Guide



sdpctl appliance functions download

Download functions as container bundles


Synopsis

Download appliance functions as container bundles. The container bundles can then be uploaded to the SDP Collective to enable the function contained in the bunde. Note that currently only the LogServer function is available for container bundle download.

sdpctl appliance functions download [function...] [flags]

Examples

  # download the LogServer function as a bundle
  > sdpctl appliance functions download LogServer

  # Save the container bundles in a custom path. This is expected to be a directory. If the directory does not exist, sdpctl will try to create it.
  > sdpctl appliance functions download LogServer --save-path=<download-path>

  # Download the functions from a custom docker registry.
  > sdpctl appliance functions download LogServer --docker-registry=<path-to-custom-docker-registry>

Options

      --destination string       path to a directory where the container bundle should be saved. The command will create a directory if it doesn't already exist (default "$HOME/Downloads/appgate")
      --docker-registry string   docker registry for downloading image bundles
  -h, --help                     help for download
      --save-path string         [DEPRECATED, use '--destination' instead] path to a directory where the container bundle should be saved. The command will create a directory if it doesn't already exist
      --version string           Override the LogServer version that will be downloaded. Defaults to the same version as the primary controller.

Options inherited from parent commands

      --api-version int          Peer API version override
      --ci-mode                  Log to stderr instead of file and disable progress-bars
      --debug                    Enable debug logging
      --descending               Change the direction of sort order when using the '--order-by' flag. Using this will reverse the sort order for all keywords specified in the '--order-by' flag.
      --events-path string       send logs to unix domain socket path
  -e, --exclude stringToString   Filter appliances using a comma separated list of key-value pairs. Regex syntax is used for matching strings. Example: '--exclude name=controller,site=<site-id> etc.'.
                                 Available keywords to filter on are: name, id, tags|tag, version, hostname|host, active|activated, site|site-id, function (default [])
  -i, --include stringToString   Include appliances. Adheres to the same syntax and key-value pairs as '--exclude' (default [])
      --no-interactive           Suppress interactive prompt with auto accept
      --no-verify                Don't verify TLS on for the given command, overriding settings from config file
      --order-by strings         Order appliance lists by keywords, i.e. 'name', 'id' etc. Accepts a comma seperated list of keywords, where first mentioned has priority. Applies to the 'appliance list' and 'appliance stats' commands. (default [name])
  -p, --profile string           Profile configuration to use

SEE ALSO