Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t interface { mock.TestingT Cleanup(func()) }) *Repository
NewRepository creates a new instance of Repository. 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 (*Repository) Get ¶
func (_m *Repository) Get(key string) string
Get provides a mock function with given fields: key
func (*Repository) List ¶
func (_m *Repository) List() []string
List provides a mock function with given fields:
func (*Repository) Set ¶
func (_m *Repository) Set(key string, value string) error
Set provides a mock function with given fields: key, value
func (*Repository) Unset ¶
func (_m *Repository) Unset(key string) error
Unset provides a mock function with given fields: key
Click to show internal directories.
Click to hide internal directories.