Documentation ¶
Index ¶
- func IsNotFoundErr(e error) bool
- type MetadataStorage
- func (ms *MetadataStorage) Init(ctx context.Context, serviceUser config.ServiceUser) (err error)
- func (ms MetadataStorage) SimpleDownload(ctx context.Context, downloadpath string) (content []byte, err error)
- func (ms MetadataStorage) SimpleUpload(ctx context.Context, uploadpath string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFoundErr ¶
IsNotFoundErr can be returned by repo Load and Delete operations
Types ¶
type MetadataStorage ¶
type MetadataStorage struct { SpaceRoot *provider.ResourceId // contains filtered or unexported fields }
func NewMetadataStorage ¶
func NewMetadataStorage(providerAddr string) (s MetadataStorage, err error)
func (*MetadataStorage) Init ¶ added in v1.17.0
func (ms *MetadataStorage) Init(ctx context.Context, serviceUser config.ServiceUser) (err error)
init creates the metadata space
func (MetadataStorage) SimpleDownload ¶
func (MetadataStorage) SimpleUpload ¶
Click to show internal directories.
Click to hide internal directories.