mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-18 01:35:44 +00:00
Introduce visibility flag for bootstrap gitlab
Signed-off-by: Viktor Nagy <vnagy@gitlab.com>
This commit is contained in:
parent
a9017239b7
commit
fabdbaaf92
4 changed files with 140 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue