Skip to content

cub resource

cub resource

Resource commands

Synopsis

The resource subcommands are used to inspect the individual resources (Kubernetes resources, infrastructure resources, application configuration files, ...) contained in the configuration data of your units.

Resources are derived from unit data: ConfigHub extracts them whenever a unit changes, so they are read-only and there is no command to create, update, or delete one. Change the unit instead.

Options

      --component string   the Component of --variant, when that names the variant alone; --variant <component>/<variant> says the same in one flag
  -h, --help               help for resource
      --space string       space to operate in, by slug or UUID. Omitted, a list or bulk operation spans the organization and a single entity is named as <space>/<slug>
      --variant string     variant to operate in, as <component>/<variant>, or as <variant> with --component: the space naming that Component whose Variant label is <variant>. The same scope as --space, named by what it is rather than by the space's slug; the two cannot be combined

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO