Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockFileWriter
- func (m *MockFileWriter) CleanUp()
- func (m *MockFileWriter) CleanUpTemp()
- func (m *MockFileWriter) Create(arg0 string, arg1 ...filewriter.FileOptionsFunc) (io.WriteCloser, string, error)
- func (m *MockFileWriter) Dir() string
- func (m *MockFileWriter) EXPECT() *MockFileWriterMockRecorder
- func (m *MockFileWriter) TempDir() string
- func (m *MockFileWriter) WithDir(arg0 string) (filewriter.FileWriter, error)
- func (m *MockFileWriter) Write(arg0 string, arg1 []byte, arg2 ...filewriter.FileOptionsFunc) (string, error)
- type MockFileWriterMockRecorder
- func (mr *MockFileWriterMockRecorder) CleanUp() *gomock.Call
- func (mr *MockFileWriterMockRecorder) CleanUpTemp() *gomock.Call
- func (mr *MockFileWriterMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFileWriterMockRecorder) Dir() *gomock.Call
- func (mr *MockFileWriterMockRecorder) TempDir() *gomock.Call
- func (mr *MockFileWriterMockRecorder) WithDir(arg0 interface{}) *gomock.Call
- func (mr *MockFileWriterMockRecorder) Write(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFileWriter ¶
type MockFileWriter struct {
// contains filtered or unexported fields
}
MockFileWriter is a mock of FileWriter interface.
func NewMockFileWriter ¶
func NewMockFileWriter(ctrl *gomock.Controller) *MockFileWriter
NewMockFileWriter creates a new mock instance.
func (*MockFileWriter) CleanUpTemp ¶
func (m *MockFileWriter) CleanUpTemp()
CleanUpTemp mocks base method.
func (*MockFileWriter) Create ¶ added in v0.13.0
func (m *MockFileWriter) Create(arg0 string, arg1 ...filewriter.FileOptionsFunc) (io.WriteCloser, string, error)
Create mocks base method.
func (*MockFileWriter) EXPECT ¶
func (m *MockFileWriter) EXPECT() *MockFileWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileWriter) TempDir ¶ added in v0.11.0
func (m *MockFileWriter) TempDir() string
TempDir mocks base method.
func (*MockFileWriter) WithDir ¶
func (m *MockFileWriter) WithDir(arg0 string) (filewriter.FileWriter, error)
WithDir mocks base method.
func (*MockFileWriter) Write ¶
func (m *MockFileWriter) Write(arg0 string, arg1 []byte, arg2 ...filewriter.FileOptionsFunc) (string, error)
Write mocks base method.
type MockFileWriterMockRecorder ¶
type MockFileWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockFileWriterMockRecorder is the mock recorder for MockFileWriter.
func (*MockFileWriterMockRecorder) CleanUp ¶
func (mr *MockFileWriterMockRecorder) CleanUp() *gomock.Call
CleanUp indicates an expected call of CleanUp.
func (*MockFileWriterMockRecorder) CleanUpTemp ¶
func (mr *MockFileWriterMockRecorder) CleanUpTemp() *gomock.Call
CleanUpTemp indicates an expected call of CleanUpTemp.
func (*MockFileWriterMockRecorder) Create ¶ added in v0.13.0
func (mr *MockFileWriterMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockFileWriterMockRecorder) Dir ¶
func (mr *MockFileWriterMockRecorder) Dir() *gomock.Call
Dir indicates an expected call of Dir.
func (*MockFileWriterMockRecorder) TempDir ¶ added in v0.11.0
func (mr *MockFileWriterMockRecorder) TempDir() *gomock.Call
TempDir indicates an expected call of TempDir.
func (*MockFileWriterMockRecorder) WithDir ¶
func (mr *MockFileWriterMockRecorder) WithDir(arg0 interface{}) *gomock.Call
WithDir indicates an expected call of WithDir.
func (*MockFileWriterMockRecorder) Write ¶
func (mr *MockFileWriterMockRecorder) Write(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Write indicates an expected call of Write.