Skip to content

Configuration Overview

disksing edited this page Dec 13, 2021 · 2 revisions

Configuration Overview

Due to historical legacy issues, client-go currently uses global configuration. This means that multiple client instances started within the same process will share the same configuration.

The configuration structure information can be found in the config directory. The way to change the configuration is to use GetGlobalConfig() to get the current configuration, fix it as needed, and then call StoreGlobalConfig() to save the new configuration.

Clone this wiki locally