feat(storage): Rename NewLocalFS to NewSyncingFS

pull/3251/head
Louis Ruch 3 years ago committed by Timothy Messier
parent 042c46e00e
commit e83f5bcd4c
No known key found for this signature in database
GPG Key ID: EFD2F184F7600572

@ -15,8 +15,13 @@ import (
// RecordingStorage can be used to create a FS usable for session recording.
type RecordingStorage interface {
NewLocalFS(ctx context.Context, bucket *storagebuckets.StorageBucket, _ ...Option) (FS, error)
// NewSyncingFS returns a FS that will use local storage as a cache and sync files when they are closed.
NewSyncingFS(ctx context.Context, bucket *storagebuckets.StorageBucket, _ ...Option) (FS, error)
// NewRemoteFS returns a ReadOnly FS that can be used to retrieve files from a storage bucket.
NewRemoteFS(ctx context.Context, bucket *storagebuckets.StorageBucket, _ ...Option) (FS, error)
// PluginClients returns a map of storage plugin clients keyed on the plugin name.
PluginClients() map[string]plgpb.StoragePluginServiceClient
}

Loading…
Cancel
Save