Documentation ¶
Index ¶
- type Store
- func (_m *Store) DeleteName(name string) error
- func (_m *Store) Exists(hash string) error
- func (_m *Store) GetCode(fiddleHash string) (string, *types.Options, error)
- func (_m *Store) GetHashFromName(name string) (string, error)
- func (_m *Store) GetMedia(fiddleHash string, media store.Media) ([]byte, string, string, error)
- func (_m *Store) ListAllNames() ([]store.Named, error)
- func (_m *Store) Put(code string, options types.Options, results *types.Result) (string, error)
- func (_m *Store) PutMedia(options types.Options, fiddleHash string, results *types.Result) error
- func (_m *Store) SetStatus(name string, status string) error
- func (_m *Store) ValidName(name string) bool
- func (_m *Store) WriteName(name string, hash string, user string, status string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Store) DeleteName ¶
DeleteName provides a mock function with given fields: name
func (*Store) GetHashFromName ¶
GetHashFromName provides a mock function with given fields: name
func (*Store) ListAllNames ¶
ListAllNames provides a mock function with given fields:
func (*Store) PutMedia ¶
PutMedia provides a mock function with given fields: options, fiddleHash, results
Click to show internal directories.
Click to hide internal directories.