Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockComponentCache
- func (m *MockComponentCache) Add(key, value interface{}) bool
- func (m *MockComponentCache) EXPECT() *MockComponentCacheMockRecorder
- func (m *MockComponentCache) Get(key interface{}) (component.Component, bool)
- func (m *MockComponentCache) Start(arg0 context.Context)
- func (m *MockComponentCache) Update(arg0 context.Context, arg1 componentcache.UpdateFn) (component.Component, error)
- type MockComponentCacheMockRecorder
- func (mr *MockComponentCacheMockRecorder) Add(key, value interface{}) *gomock.Call
- func (mr *MockComponentCacheMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockComponentCacheMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockComponentCacheMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockComponentCache ¶
type MockComponentCache struct {
// contains filtered or unexported fields
}
MockComponentCache is a mock of ComponentCache interface
func NewMockComponentCache ¶
func NewMockComponentCache(ctrl *gomock.Controller) *MockComponentCache
NewMockComponentCache creates a new mock instance
func (*MockComponentCache) Add ¶
func (m *MockComponentCache) Add(key, value interface{}) bool
Add mocks base method
func (*MockComponentCache) EXPECT ¶
func (m *MockComponentCache) EXPECT() *MockComponentCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockComponentCache) Get ¶
func (m *MockComponentCache) Get(key interface{}) (component.Component, bool)
Get mocks base method
func (*MockComponentCache) Start ¶
func (m *MockComponentCache) Start(arg0 context.Context)
Start mocks base method
func (*MockComponentCache) Update ¶
func (m *MockComponentCache) Update(arg0 context.Context, arg1 componentcache.UpdateFn) (component.Component, error)
Update mocks base method
type MockComponentCacheMockRecorder ¶
type MockComponentCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockComponentCacheMockRecorder is the mock recorder for MockComponentCache
func (*MockComponentCacheMockRecorder) Add ¶
func (mr *MockComponentCacheMockRecorder) Add(key, value interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockComponentCacheMockRecorder) Get ¶
func (mr *MockComponentCacheMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockComponentCacheMockRecorder) Start ¶
func (mr *MockComponentCacheMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockComponentCacheMockRecorder) Update ¶
func (mr *MockComponentCacheMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
Click to show internal directories.
Click to hide internal directories.