MCPcopy
hub / github.com/perkeep/perkeep / newFromConfig

Function newFromConfig

pkg/blobserver/s3/s3.go:92–94  ·  view source on GitHub ↗
(l blobserver.Loader, config jsonconfig.Obj)

Source from the content-addressed store, hash-verified

90}
91
92func newFromConfig(l blobserver.Loader, config jsonconfig.Obj) (blobserver.Storage, error) {
93 return newFromConfigWithTransport(l, config, nil)
94}
95
96// newFromConfigWithTransport constructs a s3 blobserver using the given
97// transport for all s3 requests. The transport may be set to 'nil' to use a

Callers 3

TestS3EndpointsFunction · 0.70
TestS3WriteFilesFunction · 0.70
testStorageFunction · 0.70

Calls 1

Tested by 3

TestS3EndpointsFunction · 0.56
TestS3WriteFilesFunction · 0.56
testStorageFunction · 0.56