Documentation
¶
Index ¶
- type MockComponentLicense
- type MockComponentLicense_Expecter
- type MockFileWatcher
- type MockFileWatcher_Close_Call
- type MockFileWatcher_Expecter
- type MockFileWatcher_Start_Call
- type MockLicense
- type MockLicense_Expecter
- type MockResultFilter
- type MockResultFilter_Expecter
- type MockResultFilter_IsValid_Call
- func (_c *MockResultFilter_IsValid_Call) Return(_a0 bool) *MockResultFilter_IsValid_Call
- func (_c *MockResultFilter_IsValid_Call) Run(run func(result entities.Result)) *MockResultFilter_IsValid_Call
- func (_c *MockResultFilter_IsValid_Call) RunAndReturn(run func(entities.Result) bool) *MockResultFilter_IsValid_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockComponentLicense ¶
MockComponentLicense is an autogenerated mock type for the ComponentLicense type
func NewMockComponentLicense ¶
func NewMockComponentLicense(t interface {
mock.TestingT
Cleanup(func())
}) *MockComponentLicense
NewMockComponentLicense creates a new instance of MockComponentLicense. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockComponentLicense) EXPECT ¶
func (_m *MockComponentLicense) EXPECT() *MockComponentLicense_Expecter
type MockComponentLicense_Expecter ¶
type MockComponentLicense_Expecter struct {
// contains filtered or unexported fields
}
type MockFileWatcher ¶ added in v0.6.1
MockFileWatcher is an autogenerated mock type for the FileWatcher type
func NewMockFileWatcher ¶ added in v0.6.1
func NewMockFileWatcher(t interface {
mock.TestingT
Cleanup(func())
}) *MockFileWatcher
NewMockFileWatcher creates a new instance of MockFileWatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockFileWatcher) Close ¶ added in v0.6.1
func (_m *MockFileWatcher) Close() error
Close provides a mock function with given fields:
func (*MockFileWatcher) EXPECT ¶ added in v0.6.1
func (_m *MockFileWatcher) EXPECT() *MockFileWatcher_Expecter
func (*MockFileWatcher) Start ¶ added in v0.6.1
func (_m *MockFileWatcher) Start() error
Start provides a mock function with given fields:
type MockFileWatcher_Close_Call ¶ added in v0.6.1
MockFileWatcher_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockFileWatcher_Close_Call) Return ¶ added in v0.6.1
func (_c *MockFileWatcher_Close_Call) Return(_a0 error) *MockFileWatcher_Close_Call
func (*MockFileWatcher_Close_Call) Run ¶ added in v0.6.1
func (_c *MockFileWatcher_Close_Call) Run(run func()) *MockFileWatcher_Close_Call
func (*MockFileWatcher_Close_Call) RunAndReturn ¶ added in v0.6.1
func (_c *MockFileWatcher_Close_Call) RunAndReturn(run func() error) *MockFileWatcher_Close_Call
type MockFileWatcher_Expecter ¶ added in v0.6.1
type MockFileWatcher_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFileWatcher_Expecter) Close ¶ added in v0.6.1
func (_e *MockFileWatcher_Expecter) Close() *MockFileWatcher_Close_Call
Close is a helper method to define mock.On call
func (*MockFileWatcher_Expecter) Start ¶ added in v0.6.1
func (_e *MockFileWatcher_Expecter) Start() *MockFileWatcher_Start_Call
Start is a helper method to define mock.On call
type MockFileWatcher_Start_Call ¶ added in v0.6.1
MockFileWatcher_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockFileWatcher_Start_Call) Return ¶ added in v0.6.1
func (_c *MockFileWatcher_Start_Call) Return(_a0 error) *MockFileWatcher_Start_Call
func (*MockFileWatcher_Start_Call) Run ¶ added in v0.6.1
func (_c *MockFileWatcher_Start_Call) Run(run func()) *MockFileWatcher_Start_Call
func (*MockFileWatcher_Start_Call) RunAndReturn ¶ added in v0.6.1
func (_c *MockFileWatcher_Start_Call) RunAndReturn(run func() error) *MockFileWatcher_Start_Call
type MockLicense ¶
MockLicense is an autogenerated mock type for the License type
func NewMockLicense ¶
func NewMockLicense(t interface {
mock.TestingT
Cleanup(func())
}) *MockLicense
NewMockLicense creates a new instance of MockLicense. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockLicense) EXPECT ¶
func (_m *MockLicense) EXPECT() *MockLicense_Expecter
type MockLicense_Expecter ¶
type MockLicense_Expecter struct {
// contains filtered or unexported fields
}
type MockResultFilter ¶
MockResultFilter is an autogenerated mock type for the ResultFilter type
func NewMockResultFilter ¶
func NewMockResultFilter(t interface {
mock.TestingT
Cleanup(func())
}) *MockResultFilter
NewMockResultFilter creates a new instance of MockResultFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockResultFilter) EXPECT ¶
func (_m *MockResultFilter) EXPECT() *MockResultFilter_Expecter
type MockResultFilter_Expecter ¶
type MockResultFilter_Expecter struct {
// contains filtered or unexported fields
}
func (*MockResultFilter_Expecter) IsValid ¶
func (_e *MockResultFilter_Expecter) IsValid(result interface{}) *MockResultFilter_IsValid_Call
IsValid is a helper method to define mock.On call
- result entities.Result
type MockResultFilter_IsValid_Call ¶
MockResultFilter_IsValid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsValid'
func (*MockResultFilter_IsValid_Call) Return ¶
func (_c *MockResultFilter_IsValid_Call) Return(_a0 bool) *MockResultFilter_IsValid_Call
func (*MockResultFilter_IsValid_Call) Run ¶
func (_c *MockResultFilter_IsValid_Call) Run(run func(result entities.Result)) *MockResultFilter_IsValid_Call
func (*MockResultFilter_IsValid_Call) RunAndReturn ¶
func (_c *MockResultFilter_IsValid_Call) RunAndReturn(run func(entities.Result) bool) *MockResultFilter_IsValid_Call