diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-10-13 15:29:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-13 15:29:53 -0700 |
| commit | b693a8d6b95ad70cfa2e0943f1ff78bd8776fcd9 (patch) | |
| tree | b6d4d96fd9b5d53307a79154658414f6d3674c44 /weed/s3api/s3api_xsd_generated.go | |
| parent | 7700bf62f0cedf38e4f53d497845fde919418245 (diff) | |
| parent | 9d6ffa0ea157259b813faeb5b1805df31fdcb69b (diff) | |
| download | seaweedfs-b693a8d6b95ad70cfa2e0943f1ff78bd8776fcd9.tar.xz seaweedfs-b693a8d6b95ad70cfa2e0943f1ff78bd8776fcd9.zip | |
Merge pull request #2380 from kmlebedev/bucket_policy
Bucket policy
Diffstat (limited to 'weed/s3api/s3api_xsd_generated.go')
| -rw-r--r-- | weed/s3api/s3api_xsd_generated.go | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/weed/s3api/s3api_xsd_generated.go b/weed/s3api/s3api_xsd_generated.go index 9d62afc4e..a8e4ef404 100644 --- a/weed/s3api/s3api_xsd_generated.go +++ b/weed/s3api/s3api_xsd_generated.go @@ -8,12 +8,12 @@ import ( ) type AccessControlList struct { - Grant []Grant `xml:"http://s3.amazonaws.com/doc/2006-03-01/ Grant,omitempty"` + Grant []Grant `xml:"Grant,omitempty"` } type AccessControlPolicy struct { - Owner CanonicalUser `xml:"http://s3.amazonaws.com/doc/2006-03-01/ Owner"` - AccessControlList AccessControlList `xml:"http://s3.amazonaws.com/doc/2006-03-01/ AccessControlList"` + Owner CanonicalUser `xml:"Owner"` + AccessControlList AccessControlList `xml:"AccessControlList"` } type AmazonCustomerByEmail struct { @@ -467,11 +467,17 @@ func (t *GetObjectResult) UnmarshalXML(d *xml.Decoder, start xml.StartElement) e } type Grant struct { - Grantee Grantee `xml:"http://s3.amazonaws.com/doc/2006-03-01/ Grantee"` - Permission Permission `xml:"http://s3.amazonaws.com/doc/2006-03-01/ Permission"` + Grantee Grantee `xml:"Grantee"` + Permission Permission `xml:"Permission"` } type Grantee struct { + XMLNS string `xml:"xmlns:xsi,attr"` + XMLXSI string `xml:"xsi:type,attr"` + Type string `xml:"Type"` + ID string `xml:"ID,omitempty"` + DisplayName string `xml:"DisplayName,omitempty"` + URI string `xml:"URI,omitempty"` } type Group struct { |
