package
0.1.4
Repository: https://github.com/uber/kraken.git
Documentation: pkg.go.dev

# Functions

Locations queries cluster for the locations of d.
New returns a new HTTPClient scoped to addr.
NewClientResolver returns a new client resolver.
NewClusterClient returns a new ClusterClient.
NewClusterProvider returns a new HTTPClusterProvider.
NewProvider returns a new HTTPProvider.
Poll wraps requests for endpoints which require polling, due to a blob being asynchronously fetched from remote storage in the origin cluster.
WithChunkSize configures an HTTPClient with a custom chunk size for uploads.
WithTLS configures an HTTPClient with tls configuration.

# Variables

ErrBlobNotFound is returned when a blob is not found on origin.

# Structs

DuplicateCommitUploadRequest defines HTTP request body.
HTTPClient defines the Client implementation.
HTTPClusterProvider provides ClusterClients backed by HTTP.
HTTPProvider provides HTTPClients.

# Interfaces

Client provides a wrapper around all Server HTTP endpoints.
ClientResolver resolves digests into Clients of origins.
ClusterClient defines a top-level origin cluster client which handles blob location resolution and retries.
ClusterProvider creates ClusterClients from dns records.
Provider defines an interface for creating Client scoped to an origin addr.

# Type aliases

Option allows setting optional HTTPClient parameters.