Versions in this module Expand all Collapse all v1 v1.7.0 Feb 14, 2023 Changes in this version + type FakeFileWriter struct + CloseStub func(*os.File) error + MkdirAllStub func(string) error + MkdirStub func(string) error + OpenFileStub func(string) (*os.File, error) + RemoveAllStub func(string) error + TempDirStub func(string) (string, error) + WriteFromReaderStub func(string, io.ReadCloser) error + WriteStub func(string, string) error + WriteTarFileStub func(string, string) error + func (fake *FakeFileWriter) Close(arg1 *os.File) error + func (fake *FakeFileWriter) CloseArgsForCall(i int) *os.File + func (fake *FakeFileWriter) CloseCallCount() int + func (fake *FakeFileWriter) CloseCalls(stub func(*os.File) error) + func (fake *FakeFileWriter) CloseReturns(result1 error) + func (fake *FakeFileWriter) CloseReturnsOnCall(i int, result1 error) + func (fake *FakeFileWriter) Invocations() map[string][][]interface{} + func (fake *FakeFileWriter) Mkdir(arg1 string) error + func (fake *FakeFileWriter) MkdirAll(arg1 string) error + func (fake *FakeFileWriter) MkdirAllArgsForCall(i int) string + func (fake *FakeFileWriter) MkdirAllCallCount() int + func (fake *FakeFileWriter) MkdirAllCalls(stub func(string) error) + func (fake *FakeFileWriter) MkdirAllReturns(result1 error) + func (fake *FakeFileWriter) MkdirAllReturnsOnCall(i int, result1 error) + func (fake *FakeFileWriter) MkdirArgsForCall(i int) string + func (fake *FakeFileWriter) MkdirCallCount() int + func (fake *FakeFileWriter) MkdirCalls(stub func(string) error) + func (fake *FakeFileWriter) MkdirReturns(result1 error) + func (fake *FakeFileWriter) MkdirReturnsOnCall(i int, result1 error) + func (fake *FakeFileWriter) OpenFile(arg1 string) (*os.File, error) + func (fake *FakeFileWriter) OpenFileArgsForCall(i int) string + func (fake *FakeFileWriter) OpenFileCallCount() int + func (fake *FakeFileWriter) OpenFileCalls(stub func(string) (*os.File, error)) + func (fake *FakeFileWriter) OpenFileReturns(result1 *os.File, result2 error) + func (fake *FakeFileWriter) OpenFileReturnsOnCall(i int, result1 *os.File, result2 error) + func (fake *FakeFileWriter) RemoveAll(arg1 string) error + func (fake *FakeFileWriter) RemoveAllArgsForCall(i int) string + func (fake *FakeFileWriter) RemoveAllCallCount() int + func (fake *FakeFileWriter) RemoveAllCalls(stub func(string) error) + func (fake *FakeFileWriter) RemoveAllReturns(result1 error) + func (fake *FakeFileWriter) RemoveAllReturnsOnCall(i int, result1 error) + func (fake *FakeFileWriter) TempDir(arg1 string) (string, error) + func (fake *FakeFileWriter) TempDirArgsForCall(i int) string + func (fake *FakeFileWriter) TempDirCallCount() int + func (fake *FakeFileWriter) TempDirCalls(stub func(string) (string, error)) + func (fake *FakeFileWriter) TempDirReturns(result1 string, result2 error) + func (fake *FakeFileWriter) TempDirReturnsOnCall(i int, result1 string, result2 error) + func (fake *FakeFileWriter) Write(arg1 string, arg2 string) error + func (fake *FakeFileWriter) WriteArgsForCall(i int) (string, string) + func (fake *FakeFileWriter) WriteCallCount() int + func (fake *FakeFileWriter) WriteCalls(stub func(string, string) error) + func (fake *FakeFileWriter) WriteFromReader(arg1 string, arg2 io.ReadCloser) error + func (fake *FakeFileWriter) WriteFromReaderArgsForCall(i int) (string, io.ReadCloser) + func (fake *FakeFileWriter) WriteFromReaderCallCount() int + func (fake *FakeFileWriter) WriteFromReaderCalls(stub func(string, io.ReadCloser) error) + func (fake *FakeFileWriter) WriteFromReaderReturns(result1 error) + func (fake *FakeFileWriter) WriteFromReaderReturnsOnCall(i int, result1 error) + func (fake *FakeFileWriter) WriteReturns(result1 error) + func (fake *FakeFileWriter) WriteReturnsOnCall(i int, result1 error) + func (fake *FakeFileWriter) WriteTarFile(arg1 string, arg2 string) error + func (fake *FakeFileWriter) WriteTarFileArgsForCall(i int) (string, string) + func (fake *FakeFileWriter) WriteTarFileCallCount() int + func (fake *FakeFileWriter) WriteTarFileCalls(stub func(string, string) error) + func (fake *FakeFileWriter) WriteTarFileReturns(result1 error) + func (fake *FakeFileWriter) WriteTarFileReturnsOnCall(i int, result1 error)