Documentation ¶
Index ¶
- func ListV2Interceptor(roundTripper http.RoundTripper) http.RoundTripper
- func MergeBucketListResponses(successes []backend.Response) (resp *http.Response, err error)
- func MergeBucketListV2Responses(successes []backend.Response) (resp *http.Response, err error)
- func MergePartially(firstResponse backend.Response, successes []backend.Response) (*http.Response, error)
- func MergeVersionsResponses(successes []backend.Response) (resp *http.Response, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListV2Interceptor ¶
func ListV2Interceptor(roundTripper http.RoundTripper) http.RoundTripper
ListV2Interceptor rewrites listV2 query params
func MergeBucketListResponses ¶
MergeBucketListResponses unifies responses from multiple backends
func MergeBucketListV2Responses ¶
MergeBucketListV2Responses unifies responses from multiple backends
func MergePartially ¶
func MergePartially(firstResponse backend.Response, successes []backend.Response) (*http.Response, error)
MergePartially will return first success response that will have 200 or 203 status code to distinguish identical backend responses from differing ones. Applicable for ?acl ?policy ?cors ?metrics ?logging ?location ?lifecycle
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.