Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOSLayer ¶
MockOSLayer is an autogenerated mock type for the OSLayer type
func NewMockOSLayer ¶
func NewMockOSLayer(t interface {
mock.TestingT
Cleanup(func())
}) *MockOSLayer
NewMockOSLayer creates a new instance of MockOSLayer. 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 (*MockOSLayer) EXPECT ¶
func (_m *MockOSLayer) EXPECT() *MockOSLayer_Expecter
func (*MockOSLayer) GOOS ¶
func (_mock *MockOSLayer) GOOS() string
GOOS provides a mock function for the type MockOSLayer
func (*MockOSLayer) IsAbs ¶
func (_mock *MockOSLayer) IsAbs(path string) bool
IsAbs provides a mock function for the type MockOSLayer
type MockOSLayer_Expecter ¶
type MockOSLayer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockOSLayer_Expecter) GOOS ¶
func (_e *MockOSLayer_Expecter) GOOS() *MockOSLayer_GOOS_Call
GOOS is a helper method to define mock.On call
func (*MockOSLayer_Expecter) IsAbs ¶
func (_e *MockOSLayer_Expecter) IsAbs(path interface{}) *MockOSLayer_IsAbs_Call
IsAbs is a helper method to define mock.On call
- path string
type MockOSLayer_GOOS_Call ¶
MockOSLayer_GOOS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GOOS'
func (*MockOSLayer_GOOS_Call) Return ¶
func (_c *MockOSLayer_GOOS_Call) Return(s string) *MockOSLayer_GOOS_Call
func (*MockOSLayer_GOOS_Call) Run ¶
func (_c *MockOSLayer_GOOS_Call) Run(run func()) *MockOSLayer_GOOS_Call
func (*MockOSLayer_GOOS_Call) RunAndReturn ¶
func (_c *MockOSLayer_GOOS_Call) RunAndReturn(run func() string) *MockOSLayer_GOOS_Call
type MockOSLayer_IsAbs_Call ¶
MockOSLayer_IsAbs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAbs'
func (*MockOSLayer_IsAbs_Call) Return ¶
func (_c *MockOSLayer_IsAbs_Call) Return(b bool) *MockOSLayer_IsAbs_Call
func (*MockOSLayer_IsAbs_Call) Run ¶
func (_c *MockOSLayer_IsAbs_Call) Run(run func(path string)) *MockOSLayer_IsAbs_Call
func (*MockOSLayer_IsAbs_Call) RunAndReturn ¶
func (_c *MockOSLayer_IsAbs_Call) RunAndReturn(run func(path string) bool) *MockOSLayer_IsAbs_Call