Documentation ¶
Index ¶
- type BucketKeyValueStore
- func (_m *BucketKeyValueStore) DeleteAll(bucket string) error
- func (_m *BucketKeyValueStore) Get(bucket string, key string) (string, error)
- func (_m *BucketKeyValueStore) GetAll(bucket string) (map[string]string, error)
- func (_m *BucketKeyValueStore) InitBucket(bucket string) error
- func (_m *BucketKeyValueStore) Put(bucket string, key string, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketKeyValueStore ¶
BucketKeyValueStore is an autogenerated mock type for the BucketKeyValueStore type
func NewBucketKeyValueStore ¶
func NewBucketKeyValueStore(t mockConstructorTestingTNewBucketKeyValueStore) *BucketKeyValueStore
NewBucketKeyValueStore creates a new instance of BucketKeyValueStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BucketKeyValueStore) DeleteAll ¶
func (_m *BucketKeyValueStore) DeleteAll(bucket string) error
DeleteAll provides a mock function with given fields: bucket
func (*BucketKeyValueStore) Get ¶
func (_m *BucketKeyValueStore) Get(bucket string, key string) (string, error)
Get provides a mock function with given fields: bucket, key
func (*BucketKeyValueStore) GetAll ¶
func (_m *BucketKeyValueStore) GetAll(bucket string) (map[string]string, error)
GetAll provides a mock function with given fields: bucket
func (*BucketKeyValueStore) InitBucket ¶
func (_m *BucketKeyValueStore) InitBucket(bucket string) error
InitBucket provides a mock function with given fields: bucket
Click to show internal directories.
Click to hide internal directories.