merger

package
v0.0.0-...-e6f4ba9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

func MergeBucketListResponses(successes []backend.Response) (resp *http.Response, err error)

MergeBucketListResponses unifies responses from multiple backends

func MergeBucketListV2Responses

func MergeBucketListV2Responses(successes []backend.Response) (resp *http.Response, err error)

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

func MergeVersionsResponses

func MergeVersionsResponses(successes []backend.Response) (resp *http.Response, err error)

MergeVersionsResponses unifies responses from multiple backends

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL