-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathconfig.go
More file actions
28 lines (24 loc) · 722 Bytes
/
config.go
File metadata and controls
28 lines (24 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package main
// appConfig holds the application configuration
type appConfig struct {
service string
gitHostURL string
backupDir string
ignorePrivate bool
ignoreFork bool
useHTTPSClone bool
bare bool
// GitHub specific configuration
githubRepoType string
githubNamespaceWhitelist []string
githubCreateUserMigration bool
githubCreateUserMigrationRetry bool
githubCreateUserMigrationRetryMax int
githubListUserMigrations bool
githubWaitForMigrationComplete bool
// GitLab specific configuration
gitlabProjectVisibility string
gitlabProjectMembershipType string
// Forgejo specific configuration
forgejoRepoType string
}