feat(storage): Add RemoteFs to storage interface

This commit is contained in:
Louis Ruch authored and Timothy Messier committed 2023-05-31 12:18:13 +00:00
1 parent ad62df6b36
commit 38723f8112
1 file changed
+2 -1
+2 -1
View File
@@ -11,9 +11,10 @@ import (
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
)
// RecordingStorage can be used to create a LocalFS usable for session recording.
// RecordingStorage can be used to create a FS usable for session recording.
type RecordingStorage interface {
NewLocalFS(ctx context.Context, bucket Bucket, _ ...Option) (FS, error)
NewRemoteFS(ctx context.Context, bucket Bucket, _ ...Option) (FS, error)
PluginClients() map[string]plgpb.StoragePluginServiceClient
}