forked from amitsaha/gitbackup
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.go
More file actions
33 lines (30 loc) · 951 Bytes
/
config.go
File metadata and controls
33 lines (30 loc) · 951 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
29
30
31
32
33
package main
type appConfig struct {
service string
gitHostURL string
backupDir string
archiveDir string
cacheDir string
archiveEncryptionPassword string
ignorePrivate bool
ignoreFork bool
debug bool
useHTTPSClone bool
bare bool
shallowCloneRepos []string
maxConcurrentClones int
// GitHub
githubRepoType string
githubNamespaceWhitelist []string
githubCreateUserMigration bool
githubCreateUserMigrationRetry bool
githubCreateUserMigrationRetryMax int
githubListUserMigrations bool
githubWaitForMigrationComplete bool
//
githubStartFromLastPushAt string
githubSaveLastBackupDateAndContinueFrom bool
// Git Lab
gitlabProjectVisibility string
gitlabProjectMembershipType string
}