Documentation ¶
Overview ¶
Package mock_ratecache is a generated GoMock package.
Index ¶
- type MockRestClientCache
- func (m *MockRestClientCache) Close()
- func (m *MockRestClientCache) EXPECT() *MockRestClientCacheMockRecorder
- func (m *MockRestClientCache) Get(owner, token string, provider db.ProviderType) (v1.REST, bool)
- func (m *MockRestClientCache) Set(owner, token string, provider db.ProviderType, rest v1.REST)
- type MockRestClientCacheMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRestClientCache ¶
type MockRestClientCache struct {
// contains filtered or unexported fields
}
MockRestClientCache is a mock of RestClientCache interface.
func NewMockRestClientCache ¶
func NewMockRestClientCache(ctrl *gomock.Controller) *MockRestClientCache
NewMockRestClientCache creates a new mock instance.
func (*MockRestClientCache) EXPECT ¶
func (m *MockRestClientCache) EXPECT() *MockRestClientCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRestClientCache) Get ¶
func (m *MockRestClientCache) Get(owner, token string, provider db.ProviderType) (v1.REST, bool)
Get mocks base method.
func (*MockRestClientCache) Set ¶
func (m *MockRestClientCache) Set(owner, token string, provider db.ProviderType, rest v1.REST)
Set mocks base method.
type MockRestClientCacheMockRecorder ¶
type MockRestClientCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockRestClientCacheMockRecorder is the mock recorder for MockRestClientCache.
func (*MockRestClientCacheMockRecorder) Close ¶
func (mr *MockRestClientCacheMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
Click to show internal directories.
Click to hide internal directories.