Documentation
¶
Overview ¶
Package remote implements S3-compatible object stores (AWS S3, MinIO, Cloudflare R2, Backblaze B2) using DVC's content-addressed key layout.
Index ¶
- type S3
- func (s *S3) Delete(ctx context.Context, oid string) error
- func (s *S3) EnsureBucket(ctx context.Context) error
- func (s *S3) Get(ctx context.Context, oid, localPath string) error
- func (s *S3) Has(ctx context.Context, oid string) (bool, error)
- func (s *S3) ListOIDs(ctx context.Context) (map[string]struct{}, error)
- func (s *S3) Put(ctx context.Context, oid, localPath string) error
- func (s *S3) Reachable(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
S3 is an S3-compatible remote.
func (*S3) EnsureBucket ¶
EnsureBucket creates the bucket if it does not exist (used in tests / first push to a fresh MinIO).
Click to show internal directories.
Click to hide internal directories.