Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDirectStorage ¶ added in v1.28.0
func NewDirectStorage(opts NewDirectStorageOpts) (_ storage.ClientImplCloser, err error)
A convenience function that creates a connection pool, resource provider, and a pieces storage ClientImpl and returns them all with a Close attached.
func NewWrappingClient ¶ added in v1.32.0
func NewWrappingClient(cache *squirrel.Cache) storage.ClientImpl
Creates a storage.ClientImpl from a provided squirrel.Cache. The caller is responsible for closing the squirrel.Cache.
Types ¶
type NewDirectStorageOpts ¶ added in v1.28.0
type NewDirectStorageOpts = squirrel.NewCacheOpts
Click to show internal directories.
Click to hide internal directories.