mirror of
https://github.com/fluxcd/flux2.git
synced 2025-11-03 11:21:57 +08:00
Introduce visibility flag for bootstrap gitlab
Signed-off-by: Viktor Nagy <vnagy@gitlab.com>
This commit is contained in:
@ -94,6 +94,12 @@ func WithProviderRepository(owner, repositoryName string, personal bool) GitProv
|
||||
}
|
||||
}
|
||||
|
||||
func WithProviderVisibility(visibility string) GitProviderOption {
|
||||
return providerRepositoryConfigOption{
|
||||
visibility: visibility,
|
||||
}
|
||||
}
|
||||
|
||||
type providerRepositoryOption struct {
|
||||
owner string
|
||||
repositoryName string
|
||||
|
||||
Reference in New Issue
Block a user