# Functions
No description provided by the author
NewLoopbackPlugin returns a new loopback plugin.
No description provided by the author
No description provided by the author
WithChunkSize provides an option to set the chunkSize used for grpc streams.
WithMockBuckets provides an option to create mocked external object store buckets.
WithMockError provides an option to mock an error when interacting with an external object store.
No description provided by the author
# Constants
Any will return an error for any of the method defined in the storage plugin.
ConstDynamicCredentials should be used as a key for an storage bucket attribute, to mock dynamic credentials.
Will return an error for the DeleteObjects method.
Will return an error for the GetObject method.
Will return an error for the HeadObject method.
Will return an error for the OnCreateStorageBucket method.
Will return an error for the OnDeleteStorageBucket method.
Will return an error for the OnUpdateStorageBucket method.
Will return an error for the PutObject method.
Will return an error for the ValidatePermissions method.
# Structs
LoopbackHost provides a host plugin with functionality useful for certain kinds of testing.
LoopbackPlugin provides a host and storage plugin with functionality useful for certain kinds of testing.
LoopbackStorage provides a storage plugin with functionality useful for certain kinds of testing.
PluginMockError is used to mock an error when interacting with an external object store.
PluginMockPutObjectResponse is used to mock a response when calling putObject.
No description provided by the author
TestPluginHostServer provides a host plugin service server where each method can be overwritten for tests.
TestPluginServer provides a host and storage plugin service server where each method can be overwritten for tests.
TestPluginStorageServer provides a storage plugin service server where each method can be overwritten for tests.
WrappingPluginHostClient provides a wrapper around a Server implementation that can be used when loading a plugin in-memory.
WrappingPluginStorageClient provides a wrapper around a Server implementation that can be used when loading a plugin in-memory.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
Method is used to determine if an error should be returned to a specific storage plugin method.
No description provided by the author
No description provided by the author