Documentation
¶
Index ¶
- type Mock
- func (m *Mock) CountStats(ctx context.Context) (*emodels.Stats, error)
- func (m *Mock) CreateBLOB(_ context.Context, checksum string, size uint64, mimeType string) error
- func (m *Mock) CreateContainer(_ context.Context, name string) error
- func (m *Mock) CreateObject(_ context.Context, container, version, key, casKey string) error
- func (m *Mock) CreateVersion(_ context.Context, container string) (string, error)
- func (m *Mock) DeleteContainer(_ context.Context, name string) error
- func (m *Mock) DeleteObject(_ context.Context, container, version string, key ...string) error
- func (m *Mock) DeleteVersion(ctx context.Context, container, version string) error
- func (m *Mock) EnsureBlobKey(_ context.Context, key string, size uint64) error
- func (m *Mock) GetBlobKeyByObject(_ context.Context, container, version, key string) (string, error)
- func (m *Mock) GetLatestPublishedVersionByContainer(_ context.Context, container string) (string, error)
- func (m *Mock) ListAllVersionsByContainer(_ context.Context, container string) ([]models.Version, error)
- func (m *Mock) ListContainers(context.Context) ([]string, error)
- func (m *Mock) ListObjects(_ context.Context, container, version string, offset, limit uint64) (uint64, []string, error)
- func (m *Mock) ListPublishedVersionsByContainer(_ context.Context, container string) ([]models.Version, error)
- func (m *Mock) ListPublishedVersionsByContainerAndPage(_ context.Context, container string, offset, limit uint64) (uint64, []models.Version, error)
- func (m *Mock) ListUnpublishedVersionsByContainer(_ context.Context, container string) ([]models.Version, error)
- func (m *Mock) MarkVersionPublished(_ context.Context, container, version string) error
- func (m *Mock) RemapObject(_ context.Context, container, version, key, newCASKey string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
func (*Mock) CountStats ¶ added in v0.0.5
func (*Mock) CreateBLOB ¶
func (*Mock) CreateObject ¶
func (*Mock) CreateVersion ¶
func (*Mock) DeleteObject ¶
func (*Mock) DeleteVersion ¶ added in v0.0.5
func (*Mock) EnsureBlobKey ¶
func (*Mock) GetBlobKeyByObject ¶
func (*Mock) GetLatestPublishedVersionByContainer ¶ added in v0.0.5
func (*Mock) ListAllVersionsByContainer ¶
func (*Mock) ListObjects ¶
func (*Mock) ListPublishedVersionsByContainer ¶
func (*Mock) ListPublishedVersionsByContainerAndPage ¶ added in v0.0.4
func (*Mock) ListUnpublishedVersionsByContainer ¶ added in v0.0.5
func (*Mock) MarkVersionPublished ¶
Click to show internal directories.
Click to hide internal directories.