ConfigManager#

class geodesic.config.ConfigManager[source]#

Manages the active config. Mostly just used by the CLI, but if you needed to programatically change config, that’s also an option.

Methods

get_active_config()

Gets whichever cluster config is active in the config file

get_config(name)

Returns the cluster config for the given name.

get_user_option(key)

Get a user option in the active cluster config

list_configs()

Return a list of clusters in this config and the active cluster

set_active_config(name[, add_cluster, overwrite])

Set the active cluster config.

set_user_option(key, value)

Set a user option in the active cluster config