Documentation ¶
Overview ¶
Package utils is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExpiringCache ¶
type MockExpiringCache struct {
// contains filtered or unexported fields
}
MockExpiringCache is a mock of ExpiringCache interface.
func NewMockExpiringCache ¶
func NewMockExpiringCache(ctrl *gomock.Controller) *MockExpiringCache
NewMockExpiringCache creates a new mock instance.
func (*MockExpiringCache) Delete ¶
func (m *MockExpiringCache) Delete(arg0 interface{})
Delete mocks base method.
func (*MockExpiringCache) EXPECT ¶
func (m *MockExpiringCache) EXPECT() *MockExpiringCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExpiringCache) Get ¶
func (m *MockExpiringCache) Get(arg0 interface{}) (interface{}, bool)
Get mocks base method.
func (*MockExpiringCache) Set ¶
func (m *MockExpiringCache) Set(arg0, arg1 interface{}, arg2 time.Duration)
Set mocks base method.
type MockExpiringCacheMockRecorder ¶
type MockExpiringCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockExpiringCacheMockRecorder is the mock recorder for MockExpiringCache.
func (*MockExpiringCacheMockRecorder) Delete ¶
func (mr *MockExpiringCacheMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockExpiringCacheMockRecorder) Get ¶
func (mr *MockExpiringCacheMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockExpiringCacheMockRecorder) Set ¶
func (mr *MockExpiringCacheMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
Set indicates an expected call of Set.
Directories ¶
Path | Synopsis |
---|---|
Package azure is a generated GoMock package.
|
Package azure is a generated GoMock package. |
Package prometheus is a generated GoMock package.
|
Package prometheus is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.