Documentation ¶
Overview ¶
Package datasync contains interfaces for syncing data from robots to the app.viam.com cloud.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { Sync(paths []string) Close() }
Manager is responsible for enqueuing files in captureDir and uploading them to the cloud.
type UploadFunc ¶
type UploadFunc func(ctx context.Context, client v1.DataSyncService_UploadClient, path string, partID string) error
UploadFunc defines a function for uploading a file to the Viam data sync service backend.
Click to show internal directories.
Click to hide internal directories.