mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
19 lines
441 B
Go
19 lines
441 B
Go
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)
|
|
}
|