mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-25 17:42:25 +01:00
feat: added modules
This commit is contained in:
18
core/interfaces/model_git.go
Normal file
18
core/interfaces/model_git.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package interfaces
|
||||
|
||||
// Git interface
|
||||
type Git interface {
|
||||
Model
|
||||
GetUrl() (url string)
|
||||
SetUrl(url string)
|
||||
GetAuthType() (authType string)
|
||||
SetAuthType(authType string)
|
||||
GetUsername() (username string)
|
||||
SetUsername(username string)
|
||||
GetPassword() (password string)
|
||||
SetPassword(password string)
|
||||
GetCurrentBranch() (currentBranch string)
|
||||
SetCurrentBranch(currentBranch string)
|
||||
GetAutoPull() (autoPull bool)
|
||||
SetAutoPull(autoPull bool)
|
||||
}
|
||||
Reference in New Issue
Block a user