mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-08 05:50:47 +00:00
Merge pull request #441 from ZettaIO/v3-auth
Identity v3 support for Swift
This commit is contained in:
+11
-7
@@ -46,13 +46,17 @@ type S3PublishRoot struct {
|
||||
|
||||
// SwiftPublishRoot describes single OpenStack Swift publishing entry point
|
||||
type SwiftPublishRoot struct {
|
||||
UserName string `json:"osname"`
|
||||
Password string `json:"password"`
|
||||
AuthURL string `json:"authurl"`
|
||||
Tenant string `json:"tenant"`
|
||||
TenantID string `json:"tenantid"`
|
||||
Prefix string `json:"prefix"`
|
||||
Container string `json:"container"`
|
||||
UserName string `json:"osname"`
|
||||
Password string `json:"password"`
|
||||
AuthURL string `json:"authurl"`
|
||||
Tenant string `json:"tenant"`
|
||||
TenantID string `json:"tenantid"`
|
||||
Domain string `json:"domain"`
|
||||
DomainID string `json:"domainid"`
|
||||
TenantDomain string `json:"tenantdomain"`
|
||||
TenantDomainID string `json:"tenantdomainid"`
|
||||
Prefix string `json:"prefix"`
|
||||
Container string `json:"container"`
|
||||
}
|
||||
|
||||
// Config is configuration for aptly, shared by all modules
|
||||
|
||||
@@ -88,6 +88,10 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
|
||||
" \"authurl\": \"\",\n"+
|
||||
" \"tenant\": \"\",\n"+
|
||||
" \"tenantid\": \"\",\n"+
|
||||
" \"domain\": \"\",\n"+
|
||||
" \"domainid\": \"\",\n"+
|
||||
" \"tenantdomain\": \"\",\n"+
|
||||
" \"tenantdomainid\": \"\",\n"+
|
||||
" \"prefix\": \"\",\n"+
|
||||
" \"container\": \"repo\"\n"+
|
||||
" }\n"+
|
||||
|
||||
Reference in New Issue
Block a user