Documentation ¶
Overview ¶
Package manager is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { CreateDirectoryIfNotExist(directoryName string) error CreateFile(reader io.ReadCloser, path string) error GetExtractLocation() string }
func GetInstance ¶
func GetInstance() Manager
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) CreateDirectoryIfNotExist ¶ added in v1.4.1
func (m *MockManager) CreateDirectoryIfNotExist(directoryName string) error
CreateDirectoryIfNotExist mocks base method.
func (*MockManager) CreateFile ¶
func (m *MockManager) CreateFile(reader io.ReadCloser, path string) error
CreateFile mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) GetExtractLocation ¶
func (m *MockManager) GetExtractLocation() string
GetExtractLocation mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) CreateDirectoryIfNotExist ¶ added in v1.4.1
func (mr *MockManagerMockRecorder) CreateDirectoryIfNotExist(directoryName interface{}) *gomock.Call
CreateDirectoryIfNotExist indicates an expected call of CreateDirectoryIfNotExist.
func (*MockManagerMockRecorder) CreateFile ¶
func (mr *MockManagerMockRecorder) CreateFile(reader, path interface{}) *gomock.Call
CreateFile indicates an expected call of CreateFile.
func (*MockManagerMockRecorder) GetExtractLocation ¶
func (mr *MockManagerMockRecorder) GetExtractLocation() *gomock.Call
GetExtractLocation indicates an expected call of GetExtractLocation.
Click to show internal directories.
Click to hide internal directories.