airshipctl/pkg/config
Drew Walters 58ba1d94e0 Add management config validation
The management configuration does not have central validation, leading
to late validation errors. Additionally, there is an effort to provide
better config validation on a command-by-command basis.

This change adds central validation to the management configuration that
will be used several ways:

  1. For quicker validation today
  2. For a new CLI command that will be introduced in a future change
     that enables imperative modification of the management config
  3. Possibly in future efforts to provide command-by-command config
     validation by calling the exported Validate() function

Change-Id: I19eafddc818e8d478b9afd053d4ab387c7ad38b3
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-05-21 14:21:59 +00: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 Remove EnsureComplete config object validation from GetCurrentContext 2020-05-19 01:57:24 -05:00
config.go Add management config validation 2020-05-21 14:21:59 +00:00
constants.go Add management config validation 2020-05-21 14:21:59 +00:00
context.go Fix Lint warnings: Missing comments for functions 2020-04-30 22:32:39 -05:00
errors.go Add management config validation 2020-05-21 14:21:59 +00:00
management_test.go Add management config validation 2020-05-21 14:21:59 +00:00
management.go Add management config validation 2020-05-21 14:21:59 +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 Fix Lint warnings: Missing comments for functions 2020-05-19 16:54:09 +00: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 Add management config validation 2020-05-21 14:21:59 +00:00
utils.go Add management config validation 2020-05-21 14:21:59 +00:00