Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCharmHub
- func (m *MockCharmHub) EXPECT() *MockCharmHubMockRecorder
- func (m *MockCharmHub) ListResourceRevisions(arg0 context.Context, arg1, arg2 string) ([]transport.ResourceRevision, error)
- func (m *MockCharmHub) Refresh(arg0 context.Context, arg1 charmhub.RefreshConfig) ([]transport.RefreshResponse, error)
- type MockCharmHubMockRecorder
- type MockLogger
- type MockLoggerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCharmHub ¶
type MockCharmHub struct {
// contains filtered or unexported fields
}
MockCharmHub is a mock of CharmHub interface.
func NewMockCharmHub ¶
func NewMockCharmHub(ctrl *gomock.Controller) *MockCharmHub
NewMockCharmHub creates a new mock instance.
func (*MockCharmHub) EXPECT ¶
func (m *MockCharmHub) EXPECT() *MockCharmHubMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCharmHub) ListResourceRevisions ¶
func (m *MockCharmHub) ListResourceRevisions(arg0 context.Context, arg1, arg2 string) ([]transport.ResourceRevision, error)
ListResourceRevisions mocks base method.
func (*MockCharmHub) Refresh ¶
func (m *MockCharmHub) Refresh(arg0 context.Context, arg1 charmhub.RefreshConfig) ([]transport.RefreshResponse, error)
Refresh mocks base method.
type MockCharmHubMockRecorder ¶
type MockCharmHubMockRecorder struct {
// contains filtered or unexported fields
}
MockCharmHubMockRecorder is the mock recorder for MockCharmHub.
func (*MockCharmHubMockRecorder) ListResourceRevisions ¶
func (mr *MockCharmHubMockRecorder) ListResourceRevisions(arg0, arg1, arg2 interface{}) *gomock.Call
ListResourceRevisions indicates an expected call of ListResourceRevisions.
func (*MockCharmHubMockRecorder) Refresh ¶
func (mr *MockCharmHubMockRecorder) Refresh(arg0, arg1 interface{}) *gomock.Call
Refresh indicates an expected call of Refresh.
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface.
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance.
func (*MockLogger) Debugf ¶
func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
Debugf mocks base method.
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogger) Errorf ¶
func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
Errorf mocks base method.
func (*MockLogger) Tracef ¶
func (m *MockLogger) Tracef(arg0 string, arg1 ...interface{})
Tracef mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Debugf ¶
func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugf indicates an expected call of Debugf.
func (*MockLoggerMockRecorder) Errorf ¶
func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorf indicates an expected call of Errorf.
func (*MockLoggerMockRecorder) Tracef ¶
func (mr *MockLoggerMockRecorder) Tracef(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Tracef indicates an expected call of Tracef.