Documentation
¶
Index ¶
- type Multi
- func (m *Multi) DeleteObject(ctx context.Context, objectKey string) error
- func (m *Multi) GetAttributes(ctx context.Context, objectKey string) (client.ObjectAttributes, error)
- func (m *Multi) GetObject(ctx context.Context, objectKey string) (io.ReadCloser, int64, error)
- func (m *Multi) GetObjectRange(ctx context.Context, objectKey string, off, length int64) (io.ReadCloser, error)
- func (m *Multi) GetStoreFor(ts model.Time) (client.ObjectClient, error)
- func (m *Multi) IsObjectNotFoundErr(err error) bool
- func (m *Multi) IsRetryableErr(err error) bool
- func (m *Multi) List(ctx context.Context, prefix string, delimiter string) ([]client.StorageObject, []client.StorageCommonPrefix, error)
- func (m *Multi) ObjectExists(ctx context.Context, objectKey string) (bool, error)
- func (m *Multi) PutObject(ctx context.Context, objectKey string, object io.Reader) error
- func (m *Multi) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Multi ¶
type Multi struct {
// contains filtered or unexported fields
}
func New ¶
func New( periodicConfigs []config.PeriodConfig, storageConfig storage.Config, clientMetrics storage.ClientMetrics, ) (*Multi, error)
func (*Multi) DeleteObject ¶
func (*Multi) GetAttributes ¶ added in v3.3.0
func (*Multi) GetObjectRange ¶
func (*Multi) GetStoreFor ¶
func (*Multi) IsObjectNotFoundErr ¶
func (*Multi) IsRetryableErr ¶
func (*Multi) List ¶
func (m *Multi) List(ctx context.Context, prefix string, delimiter string) ([]client.StorageObject, []client.StorageCommonPrefix, error)
func (*Multi) ObjectExists ¶
Click to show internal directories.
Click to hide internal directories.