Documentation ¶
Overview ¶
Package compressor is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Compressor ¶
type Compressor interface { UncompressFromUrl(url string) error CompressDirectory(source, target string) error }
func GetInstance ¶
func GetInstance() Compressor
type MockCompressor ¶
type MockCompressor struct {
// contains filtered or unexported fields
}
MockCompressor is a mock of Compressor interface.
func NewMockCompressor ¶
func NewMockCompressor(ctrl *gomock.Controller) *MockCompressor
NewMockCompressor creates a new mock instance.
func (*MockCompressor) CompressDirectory ¶
func (m *MockCompressor) CompressDirectory(source, target string) error
CompressDirectory mocks base method.
func (*MockCompressor) EXPECT ¶
func (m *MockCompressor) EXPECT() *MockCompressorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCompressor) UncompressFromUrl ¶
func (m *MockCompressor) UncompressFromUrl(url string) error
UncompressFromUrl mocks base method.
type MockCompressorMockRecorder ¶
type MockCompressorMockRecorder struct {
// contains filtered or unexported fields
}
MockCompressorMockRecorder is the mock recorder for MockCompressor.
func (*MockCompressorMockRecorder) CompressDirectory ¶
func (mr *MockCompressorMockRecorder) CompressDirectory(source, target interface{}) *gomock.Call
CompressDirectory indicates an expected call of CompressDirectory.
func (*MockCompressorMockRecorder) UncompressFromUrl ¶
func (mr *MockCompressorMockRecorder) UncompressFromUrl(url interface{}) *gomock.Call
UncompressFromUrl indicates an expected call of UncompressFromUrl.
type MockZipStrategy ¶
type MockZipStrategy struct {
// contains filtered or unexported fields
}
MockZipStrategy is a mock of ZipStrategy interface.
func NewMockZipStrategy ¶
func NewMockZipStrategy(ctrl *gomock.Controller) *MockZipStrategy
NewMockZipStrategy creates a new mock instance.
func (*MockZipStrategy) CompressDirectory ¶
func (m *MockZipStrategy) CompressDirectory(source, target string) error
CompressDirectory mocks base method.
func (*MockZipStrategy) EXPECT ¶
func (m *MockZipStrategy) EXPECT() *MockZipStrategyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockZipStrategy) GetExtension ¶
func (m *MockZipStrategy) GetExtension() string
GetExtension mocks base method.
func (*MockZipStrategy) UnCompressDirectory ¶
func (m *MockZipStrategy) UnCompressDirectory(source, target string) error
UnCompressDirectory mocks base method.
type MockZipStrategyMockRecorder ¶
type MockZipStrategyMockRecorder struct {
// contains filtered or unexported fields
}
MockZipStrategyMockRecorder is the mock recorder for MockZipStrategy.
func (*MockZipStrategyMockRecorder) CompressDirectory ¶
func (mr *MockZipStrategyMockRecorder) CompressDirectory(source, target interface{}) *gomock.Call
CompressDirectory indicates an expected call of CompressDirectory.
func (*MockZipStrategyMockRecorder) GetExtension ¶
func (mr *MockZipStrategyMockRecorder) GetExtension() *gomock.Call
GetExtension indicates an expected call of GetExtension.
func (*MockZipStrategyMockRecorder) UnCompressDirectory ¶
func (mr *MockZipStrategyMockRecorder) UnCompressDirectory(source, target interface{}) *gomock.Call
UnCompressDirectory indicates an expected call of UnCompressDirectory.