Documentation
¶
Index ¶
- type Handler
- func (_m *Handler) AppendFileToArchive(fileToZipPath string, filepathInZip string) error
- func (_m *Handler) Close() error
- func (_m *Handler) CreateZipArchiveFile(zipFilePath string) (io.Writer, error)
- func (_m *Handler) InitializeZipWriter(zipFile io.Writer)
- func (_m *Handler) WriteFilesIntoArchive(filePaths []string, closeAfterFinish bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is an autogenerated mock type for the Handler type
func NewHandler ¶
func NewHandler(t mockConstructorTestingTNewHandler) *Handler
NewHandler creates a new instance of Handler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Handler) AppendFileToArchive ¶
AppendFileToArchive provides a mock function with given fields: fileToZipPath, filepathInZip
func (*Handler) CreateZipArchiveFile ¶
CreateZipArchiveFile provides a mock function with given fields: zipFilePath
func (*Handler) InitializeZipWriter ¶
InitialiseZipWriter provides a mock function with given fields: zipFile
Click to show internal directories.
Click to hide internal directories.