mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-23 17:31:11 +01:00
13 lines
487 B
Go
13 lines
487 B
Go
package models
|
|
|
|
type GitV2 struct {
|
|
any `collection:"gits"`
|
|
BaseModelV2[GitV2] `bson:",inline"`
|
|
Url string `json:"url" bson:"url"`
|
|
AuthType string `json:"auth_type" bson:"auth_type"`
|
|
Username string `json:"username" bson:"username"`
|
|
Password string `json:"password" bson:"password"`
|
|
CurrentBranch string `json:"current_branch" bson:"current_branch"`
|
|
AutoPull bool `json:"auto_pull" bson:"auto_pull"`
|
|
}
|