airshipctl/pkg
Matt McEuen 4e64e74b6f Add a setting for kustomize plugins
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
2020-05-15 15:06:32 -05:00
..
bootstrap Refactor CurrentContextEntryPoint function 2020-04-29 06:17:00 -05:00
cluster Fix default Airshipctl config parameters 2020-05-12 16:02:05 -05:00
clusterctl Fix default Airshipctl config parameters 2020-05-12 16:02:05 -05:00
config Add a setting for kustomize plugins 2020-05-15 15:06:32 -05:00
container Fix for Lint warnings 2020-04-28 09:40:57 -05:00
document Add a setting for kustomize plugins 2020-05-15 15:06:32 -05:00
environment Add a setting for kustomize plugins 2020-05-15 15:06:32 -05:00
errors Add copyright for missing files 2020-04-09 08:35:59 -05:00
k8s Fix Lint warnings: Missing comments for functions 2020-04-29 16:54:01 -05:00
log Add a prefix to the logger 2020-05-01 12:14:33 -05:00
phase/apply Fix default Airshipctl config parameters 2020-05-12 16:02:05 -05:00
remote Fix system power regressions 2020-05-11 20:33:50 +00:00
secret Add copyright for missing files 2020-04-09 08:35:59 -05:00
util Increase test coverage 2020-05-01 07:43:33 -05:00
version [#204] Refactoring for version cmd 2020-05-06 09:05:19 -07:00