From 38723f8112891017bbe5509992c0fa0765ccb977 Mon Sep 17 00:00:00 2001 From: Louis Ruch Date: Fri, 28 Apr 2023 11:19:33 -0700 Subject: [PATCH] feat(storage): Add RemoteFs to storage interface --- internal/storage/storage.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/storage/storage.go b/internal/storage/storage.go index 56c4379d5..204b56479 100644 --- a/internal/storage/storage.go +++ b/internal/storage/storage.go @@ -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 }