Documentation
¶
Overview ¶
Package mock_app_export is a generated GoMock package.
Index ¶
- type MockExporter
- func (m *MockExporter) AddFile(arg0 string, arg1 []byte) error
- func (m *MockExporter) AddFileWithDataSource(arg0 string, arg1 func() ([]byte, error)) error
- func (m *MockExporter) Clean() error
- func (m *MockExporter) CreateDir(arg0 string) error
- func (m *MockExporter) CreateExportPackage(arg0, arg1 string) (string, string, error)
- func (m *MockExporter) EXPECT() *MockExporterMockRecorder
- func (m *MockExporter) GetTmpDir() string
- type MockExporterMockRecorder
- func (mr *MockExporterMockRecorder) AddFile(arg0, arg1 any) *gomock.Call
- func (mr *MockExporterMockRecorder) AddFileWithDataSource(arg0, arg1 any) *gomock.Call
- func (mr *MockExporterMockRecorder) Clean() *gomock.Call
- func (mr *MockExporterMockRecorder) CreateDir(arg0 any) *gomock.Call
- func (mr *MockExporterMockRecorder) CreateExportPackage(arg0, arg1 any) *gomock.Call
- func (mr *MockExporterMockRecorder) GetTmpDir() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExporter ¶
type MockExporter struct {
// contains filtered or unexported fields
}
MockExporter is a mock of Exporter interface.
func NewMockExporter ¶
func NewMockExporter(ctrl *gomock.Controller) *MockExporter
NewMockExporter creates a new mock instance.
func (*MockExporter) AddFile ¶
func (m *MockExporter) AddFile(arg0 string, arg1 []byte) error
AddFile mocks base method.
func (*MockExporter) AddFileWithDataSource ¶
func (m *MockExporter) AddFileWithDataSource(arg0 string, arg1 func() ([]byte, error)) error
AddFileWithDataSource mocks base method.
func (*MockExporter) CreateDir ¶ added in v1.0.4
func (m *MockExporter) CreateDir(arg0 string) error
CreateDir mocks base method.
func (*MockExporter) CreateExportPackage ¶
func (m *MockExporter) CreateExportPackage(arg0, arg1 string) (string, string, error)
CreateExportPackage mocks base method.
func (*MockExporter) EXPECT ¶
func (m *MockExporter) EXPECT() *MockExporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExporter) GetTmpDir ¶
func (m *MockExporter) GetTmpDir() string
GetTmpDir mocks base method.
type MockExporterMockRecorder ¶
type MockExporterMockRecorder struct {
// contains filtered or unexported fields
}
MockExporterMockRecorder is the mock recorder for MockExporter.
func (*MockExporterMockRecorder) AddFile ¶
func (mr *MockExporterMockRecorder) AddFile(arg0, arg1 any) *gomock.Call
AddFile indicates an expected call of AddFile.
func (*MockExporterMockRecorder) AddFileWithDataSource ¶
func (mr *MockExporterMockRecorder) AddFileWithDataSource(arg0, arg1 any) *gomock.Call
AddFileWithDataSource indicates an expected call of AddFileWithDataSource.
func (*MockExporterMockRecorder) Clean ¶
func (mr *MockExporterMockRecorder) Clean() *gomock.Call
Clean indicates an expected call of Clean.
func (*MockExporterMockRecorder) CreateDir ¶ added in v1.0.4
func (mr *MockExporterMockRecorder) CreateDir(arg0 any) *gomock.Call
CreateDir indicates an expected call of CreateDir.
func (*MockExporterMockRecorder) CreateExportPackage ¶
func (mr *MockExporterMockRecorder) CreateExportPackage(arg0, arg1 any) *gomock.Call
CreateExportPackage indicates an expected call of CreateExportPackage.
func (*MockExporterMockRecorder) GetTmpDir ¶
func (mr *MockExporterMockRecorder) GetTmpDir() *gomock.Call
GetTmpDir indicates an expected call of GetTmpDir.