first working version

This commit is contained in:
2025-10-28 19:22:21 +01:00
parent 9406ffda01
commit 4a3fe068a3
9 changed files with 400 additions and 55 deletions

View File

@@ -8,9 +8,20 @@ type (
}
Repository struct {
Name string `json:"name"`
Schedule string `json:"schedule"`
Source string `json:"source"`
Destination string `json:"destination"`
Name string `json:"name"`
Schedule string `json:"schedule"`
Source string `json:"source"`
Destination string `json:"destination"`
Authentications map[string]AuthenticationSettings `json:"authentications"`
}
AuthenticationSettings struct {
Basic *BasicAuthenticationSettings `json:"basic,omitempty"`
Token string `json:"token,omitempty"`
}
BasicAuthenticationSettings struct {
Username string `json:"username"`
Password string `json:"password"`
}
)