airshipctl/pkg/config/testdata
Rodolfo Pacheco a480527808 Introduces set_context and get_context operations
Each of these include an option for --current-context that set or retrieves
the curret context

This patchset mainly creates the cmd/config and pkg/config require additions

Also includes a fync getCurrentContext(<CLUSTERTYPE>)  in the config pkg
that other modules should rely on.

Introduces new  ErrMissingConfig and  ErrConfigFailed types been used by
set-context, will decimate through get/ and set/get cluster after this is
reviewed.

Change-Id: I501483a9db99f33f860eaf329a65bb0209b2aaff
2020-01-08 11:46:16 -05:00
..
authinfo-string.yaml Remove the need for reflect for testing config 2019-11-06 16:34:52 -06:00
ca.crt airshipctl config (replace 686508) 2019-11-05 15:42:42 +00:00
cluster-string.yaml Remove the need for reflect for testing config 2019-11-06 16:34:52 -06:00
config-string.yaml Remove the need for reflect for testing config 2019-11-06 16:34:52 -06:00
context-string.yaml Introduces set_context and get_context operations 2020-01-08 11:46:16 -05:00
garbage-string.yaml Remove the need for reflect for testing config 2019-11-06 16:34:52 -06:00
manifest-string.yaml Remove the need for reflect for testing config 2019-11-06 16:34:52 -06:00
modules-string.yaml Remove the need for reflect for testing config 2019-11-06 16:34:52 -06:00
prettycluster-string.yaml Remove the need for reflect for testing config 2019-11-06 16:34:52 -06:00
repository-string.yaml Remove the need for reflect for testing config 2019-11-06 16:34:52 -06:00