airshipctl/pkg/config
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
..
testdata Fix default checkout options in Airshipctl config 2020-05-14 04:35:19 +00:00
authinfo_test.go Encoding secret data in airshipctl config files 2020-05-08 15:09:17 +00:00
authinfo.go Fix Lint warnings: Missing comments for functions 2020-04-30 22:32:39 -05:00
bootstrap.go Improve config package organization pt.2 2020-04-29 18:49:00 +04:00
cluster_test.go Improve config package organization pt.1 2020-04-27 20:54:59 +04:00
cluster.go Fix Lint warnings: Missing comments for functions 2020-04-30 22:32:39 -05:00
config_helper_test.go Organize CLI helper functions 2020-04-17 09:28:18 -05:00
config_helper.go Merge "Fix Lint warnings: Missing comments for functions" 2020-05-12 11:13:58 +00:00
config_test.go Encoding secret data in airshipctl config files 2020-05-08 15:09:17 +00:00
config.go Fix default Airshipctl config parameters 2020-05-12 16:02:05 -05:00
constants.go Add a setting for kustomize plugins 2020-05-15 15:06:32 -05:00
context.go Fix Lint warnings: Missing comments for functions 2020-04-30 22:32:39 -05:00
errors.go Merge "Encoding secret data in airshipctl config files" 2020-05-08 21:05:28 +00:00
manifest.go Fix default checkout options in Airshipctl config 2020-05-14 04:35:19 +00:00
options_test.go [#42] Refactor flag operations to be uniform 2020-02-20 11:25:41 -06:00
options.go Switch to strongly-typed errors 2020-04-30 22:31:25 -05:00
repo_test.go Fix pull documents for non-master branch 2020-05-09 01:22:54 -05:00
repo.go Fix pull documents for non-master branch 2020-05-09 01:22:54 -05:00
types.go Make remote parameters configurable 2020-05-08 17:23:59 +04:00
utils.go Fix default checkout options in Airshipctl config 2020-05-14 04:35:19 +00:00