Module config

Source
Expand description

OpenStackClient configuration

It is possible to configure different aspects of the OpenStackClient (not the clouds connection credentials) using the configuration file ($XDG_CONFIG_DIR/osc/config.yaml). This enables user to configurate which columns should be returned when no corresponding run time arguments on a resource base.

views:
  compute.server:
    # Listing compute servers will only return ID, NAME and IMAGE columns unless `-o wide` or
    `-f XXX` parameters are being passed
    fields: [id, name, image]
  dns.zone/recordset:
    # DNS zone recordsets are listed in the wide mode by default.
    wide: true

Structs§

Config
OpenStackClient configuration
ConfigFileBuilder
A builder to create a [ConfigFile] by specifying which files to load.

Enums§

ConfigError
Errors which may occur when dealing with OpenStack connection configuration data.
ConfigFileBuilderError
Errors which may occur when adding sources to the ConfigFileBuilder.