remoteExportStorage uses localExportStorage to write files, then uploads to minio
| 449 | |
| 450 | // remoteExportStorage uses localExportStorage to write files, then uploads to minio |
| 451 | type remoteExportStorage struct { |
| 452 | mc *x.MinioClient |
| 453 | bucket string |
| 454 | prefix string // stores the path within the bucket. |
| 455 | les *localExportStorage |
| 456 | } |
| 457 | |
| 458 | func newLocalExportStorage(destination, backupName string) (*localExportStorage, error) { |
| 459 | bdir, err := filepath.Abs(filepath.Join(destination, backupName)) |
nothing calls this directly
no outgoing calls
no test coverage detected