File tree Expand file tree Collapse file tree
openstack/objectstorage/v1/containers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ type CreateOpts struct {
7474 DetectContentType bool `h:"X-Detect-Content-Type"`
7575 IfNoneMatch string `h:"If-None-Match"`
7676 VersionsLocation string `h:"X-Versions-Location"`
77+ HistoryLocation string `h:"X-History-Location"`
7778}
7879
7980// ToContainerCreateMap formats a CreateOpts into a map of headers.
@@ -137,6 +138,8 @@ type UpdateOpts struct {
137138 DetectContentType bool `h:"X-Detect-Content-Type"`
138139 RemoveVersionsLocation string `h:"X-Remove-Versions-Location"`
139140 VersionsLocation string `h:"X-Versions-Location"`
141+ RemoveHistoryLocation string `h:"X-Remove-History-Location"`
142+ HistoryLocation string `h:"X-History-Location"`
140143}
141144
142145// ToContainerUpdateMap formats a UpdateOpts into a map of headers.
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ type GetHeader struct {
100100 Read []string `json:"-"`
101101 TransID string `json:"X-Trans-Id"`
102102 VersionsLocation string `json:"X-Versions-Location"`
103+ HistoryLocation string `json:"X-History-Location"`
103104 Write []string `json:"-"`
104105 StoragePolicy string `json:"X-Storage-Policy"`
105106}
You can’t perform that action at this time.
0 commit comments