Documentation ¶
Overview ¶
Package store is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
ProviderSet is a Wire provider set that initializes new datastore instances and binds the IStore interface to the actual datastore type.
Functions ¶
Types ¶
type IStore ¶
type IStore interface {
Secrets() *cache.ChainCache[any]
}
IStore defines the methods that need to be implemented by the Store layer.
type MockIStore ¶
type MockIStore struct {
// contains filtered or unexported fields
}
MockIStore is a mock of IStore interface.
func NewMockIStore ¶
func NewMockIStore(ctrl *gomock.Controller) *MockIStore
NewMockIStore creates a new mock instance.
func (*MockIStore) EXPECT ¶
func (m *MockIStore) EXPECT() *MockIStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStore) Secrets ¶
func (m *MockIStore) Secrets() *cache.ChainCache[any]
Secrets mocks base method.
type MockIStoreMockRecorder ¶
type MockIStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockIStoreMockRecorder is the mock recorder for MockIStore.
func (*MockIStoreMockRecorder) Secrets ¶
func (mr *MockIStoreMockRecorder) Secrets() *gomock.Call
Secrets indicates an expected call of Secrets.
Click to show internal directories.
Click to hide internal directories.