Documentation ¶
Index ¶
- type MockRepository
- func (_m *MockRepository) CleanCache() error
- func (_m *MockRepository) Close() error
- func (_m *MockRepository) Create(_param0 string, _param1 bool) error
- func (_m *MockRepository) CreateRecursively(_param0 string, _param1 bool) error
- func (_m *MockRepository) EXPECT() *_MockRepositoryRecorder
- func (_m *MockRepository) Extract(_param0 string, _param1 string) error
- func (_m *MockRepository) ForceUpdate(_param0 string, _param1 string) error
- func (_m *MockRepository) Install(_param0 string, _param1 string) error
- func (_m *MockRepository) NeedUpdate(_param0 string, _param1 string, _param2 time.Time) (bool, error)
- func (_m *MockRepository) Update(_param0 string, _param1 string, _param2 time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
Mock of Repository interface
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
func (*MockRepository) CleanCache ¶
func (_m *MockRepository) CleanCache() error
func (*MockRepository) Close ¶
func (_m *MockRepository) Close() error
func (*MockRepository) Create ¶
func (_m *MockRepository) Create(_param0 string, _param1 bool) error
func (*MockRepository) CreateRecursively ¶
func (_m *MockRepository) CreateRecursively(_param0 string, _param1 bool) error
func (*MockRepository) EXPECT ¶
func (_m *MockRepository) EXPECT() *_MockRepositoryRecorder
func (*MockRepository) Extract ¶
func (_m *MockRepository) Extract(_param0 string, _param1 string) error
func (*MockRepository) ForceUpdate ¶
func (_m *MockRepository) ForceUpdate(_param0 string, _param1 string) error
func (*MockRepository) Install ¶
func (_m *MockRepository) Install(_param0 string, _param1 string) error
func (*MockRepository) NeedUpdate ¶
Click to show internal directories.
Click to hide internal directories.