airshipctl/pkg/config
Ian Howell cb080a2066 Implement fetching remote refs for document pull
This commit adds the `fetch` and `fetch.remoteRefSpec` fields to the
configuration for repositories, allowing the capability to fetch
references from a remote. This is useful for pulling specific gerrit
patchsets.

This also changes `checkout.remoteRefSpec` to `checkout.refSpec`, and
implements the logic required to checkout to an arbitrary ref.

Closes: #616

Change-Id: Ie21a6c2a7a7ac92ed3c05fef7e5683203cd62e45
2021-07-29 10:16:27 -05:00
..
testdata Remove NameInKubeconf field from Context struct 2021-03-26 19:22:52 -05:00
config.go Update metadata.yaml to kubernetes style 2021-06-04 03:34:31 +00:00
config_helper.go Refactor config get-manifest command 2021-04-03 22:27:43 -05:00
config_helper_test.go Refactor config get-manifest command 2021-04-03 22:27:43 -05:00
config_test.go Update metadata.yaml to kubernetes style 2021-06-04 03:34:31 +00:00
constants.go Change default manifest target path 2021-05-03 12:08:52 +00:00
context.go Remove NameInKubeconf field from Context struct 2021-03-26 19:22:52 -05:00
errors.go Implement fetching remote refs for document pull 2021-07-29 10:16:27 -05:00
management.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
manifest.go Update metadata.yaml to kubernetes style 2021-06-04 03:34:31 +00:00
manifest_test.go Change default manifest target path 2021-05-03 12:08:52 +00:00
options.go Implement fetching remote refs for document pull 2021-07-29 10:16:27 -05:00
options_test.go Show the context name and current context using get-context command 2021-05-19 13:42:22 +05:30
repo.go Implement fetching remote refs for document pull 2021-07-29 10:16:27 -05:00
repo_test.go Add document pull step to gate script runner 2020-09-25 00:39:28 -05:00
utils.go Change default manifest target path 2021-05-03 12:08:52 +00:00