You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flux2/internal/bootstrap
Hidde Beydals 6390812cbb Factor bootstrap logic into `bootstrap` package
This commit factors out the bootstrap logic into a new `bootstrap`
package, while also moving to `go-git-providers` to handle things
around Git providers (e.g. repository creation, deploy key
upsertions).

The `GitProviderBootstrapper` is a superset of the
`PlainGitBootstrapper` that besides `Reconciler` also implements the
`RepositoryReconciler`.

The Git actions rely on an interface, making it easier to support
other implementations than `go-git` at a later moment, to for example
support bootstrapping to Git servers that only support the v2 protocol.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
..
git Factor bootstrap logic into `bootstrap` package 4 years ago
provider Factor bootstrap logic into `bootstrap` package 4 years ago
bootstrap.go Factor bootstrap logic into `bootstrap` package 4 years ago
bootstrap_plain_git.go Factor bootstrap logic into `bootstrap` package 4 years ago
bootstrap_provider.go Factor bootstrap logic into `bootstrap` package 4 years ago
options.go Factor bootstrap logic into `bootstrap` package 4 years ago