Introduce visibility flag for bootstrap gitlab

Signed-off-by: Viktor Nagy <vnagy@gitlab.com>
This commit is contained in:
Viktor Nagy
2024-06-28 17:24:08 +02:00
committed by Viktor Nagy
parent a9017239b7
commit fabdbaaf92
4 changed files with 140 additions and 8 deletions

View File

@ -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