Help us shape the future of Go! Take the 2026 Go Developer Survey

fakes

package
v0.0.79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2015 License: Apache-2.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL