mocks

package
v0.0.0-...-05e2c8e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketKeyValueStore

type BucketKeyValueStore struct {
	mock.Mock
}

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

func (*BucketKeyValueStore) Put

func (_m *BucketKeyValueStore) Put(bucket string, key string, value string) error

Put provides a mock function with given fields: bucket, key, value

Jump to

Keyboard shortcuts

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