first working version
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user