mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00:00
modules/structs/mirror
This commit is contained in:
parent
9de12a3a70
commit
efb4a83246
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,7 @@ type CreatePushMirrorOption struct {
|
|||
Interval string `json:"interval"`
|
||||
SyncOnCommit bool `json:"sync_on_commit"`
|
||||
UseSSH bool `json:"use_ssh"`
|
||||
BranchFilter string `json:"branch_filter"`
|
||||
}
|
||||
|
||||
// PushMirror represents information of a push mirror
|
||||
|
@ -29,4 +30,6 @@ type PushMirror struct {
|
|||
Interval string `json:"interval"`
|
||||
SyncOnCommit bool `json:"sync_on_commit"`
|
||||
PublicKey string `json:"public_key"`
|
||||
|
||||
BranchFilter string `json:"branch_filter"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue