Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBlobstore ¶
type FakeBlobstore struct { GetBlobIDs []string GetFingerprints []string GetFileName string GetFileNames []string GetError error GetErrs []error CleanUpFileName string CleanUpErr error DeleteBlobID string DeleteErr error CreateFileNames []string CreateBlobID string CreateBlobIDs []string CreateFingerprint string CreateFingerprints []string CreateErr error CreateErrs []error CreateCallBack func() ValidateError error }
func NewFakeBlobstore ¶
func NewFakeBlobstore() *FakeBlobstore
func (*FakeBlobstore) CleanUp ¶
func (bs *FakeBlobstore) CleanUp(fileName string) error
func (*FakeBlobstore) Create ¶
func (bs *FakeBlobstore) Create(fileName string) (string, string, error)
func (*FakeBlobstore) Delete ¶
func (bs *FakeBlobstore) Delete(blobId string) error
func (*FakeBlobstore) Get ¶
func (bs *FakeBlobstore) Get(blobID, fingerprint string) (string, error)
func (*FakeBlobstore) Validate ¶
func (bs *FakeBlobstore) Validate() error
Click to show internal directories.
Click to hide internal directories.