init from gitlab
This commit is contained in:
28
internal/models/dokku.go
Normal file
28
internal/models/dokku.go
Normal file
@@ -0,0 +1,28 @@
|
||||
package models
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type App struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
IsSetup bool
|
||||
SetupMethod string
|
||||
}
|
||||
|
||||
type AppSetupConfig struct {
|
||||
gorm.Model
|
||||
AppID uint
|
||||
DeployBranch string
|
||||
RepoURL string
|
||||
RepoGitRef string
|
||||
Image string
|
||||
}
|
||||
|
||||
type Service struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
Type string
|
||||
BackupAuthSet bool
|
||||
BackupEncryptionSet bool
|
||||
BackupBucket string
|
||||
}
|
||||
Reference in New Issue
Block a user