MCPcopy
hub / github.com/grafana/tempo / NewVersionedReaderWriter

Function NewVersionedReaderWriter

tempodb/backend/s3/s3.go:113–115  ·  view source on GitHub ↗

NewVersionedReaderWriter creates a client to perform versioned requests. Note that write requests are best-effort since the S3 API does not support precondition headers.

(cfg *Config)

Source from the content-addressed store, hash-verified

111// NewVersionedReaderWriter creates a client to perform versioned requests. Note that write requests are
112// best-effort since the S3 API does not support precondition headers.
113func NewVersionedReaderWriter(cfg *Config) (backend.VersionedReaderWriter, error) {
114 return internalNew(cfg, true)
115}
116
117func internalNew(cfg *Config, confirm bool) (*readerWriter, error) {
118 if cfg == nil {

Callers 1

initBackendFunction · 0.92

Calls 1

internalNewFunction · 0.70

Tested by

no test coverage detected