4e64e74b6f
This adds an env var-driven configuration for the filesystem path in which kustomize should expect its plugins (including airshipctl) to be. The value defaults to a subfolder off the `.airshipit` folder. The config is persisted as a singleton rather than a member of AirshipCTLSettings (or the Config) because 1. the settings object would have had to have been passed around a couple dozen additional files/functions, 2. it's reasonable to expect the plugin location to be consistent across threads in a multi-threaded, airshipctl-as-library context. Settings_test.go was moved in to an environment_test package to avoid a circular import dependency. Change-Id: Icdd21bd3687ef42492e388af982d7b490af3eff3 |
||
---|---|---|
.. | ||
testdata | ||
authinfo_test.go | ||
authinfo.go | ||
bootstrap.go | ||
cluster_test.go | ||
cluster.go | ||
config_helper_test.go | ||
config_helper.go | ||
config_test.go | ||
config.go | ||
constants.go | ||
context.go | ||
errors.go | ||
manifest.go | ||
options_test.go | ||
options.go | ||
repo_test.go | ||
repo.go | ||
types.go | ||
utils.go |