mirror of https://github.com/pulumi/pulumi.git
![]() * [sdk/go] Cache loaded configuration files Previously, the CLI did not cache configuration files, which required a read from disk + unmarshalling + validation each time a consumer needed to read one of these configurations. This change introduces global caches for each type of Pulumi configuration file (Project, ProjectStack, PolicyPackProject, and PluginProject). The configuration is cached after the first request and the cached value will be used for any subsequent operations. Important note: The global configurations are not concurrency safe, but this same problem exists using the previous method of reading/writing config files on disk. Synchronization will be added in a follow up change to allow for concurrency safe config operations. |
||
---|---|---|
.. | ||
creds.go | ||
creds_test.go | ||
loaders.go | ||
paths.go | ||
plugins.go | ||
plugins_install_nodejs_test.go | ||
plugins_install_python_test.go | ||
plugins_install_test.go | ||
plugins_test.go | ||
project.go | ||
project_test.go | ||
settings.go | ||
templates.go | ||
templates_test.go | ||
workspace.go |