Documentation
¶
Index ¶
- type LocalRuntime
- type MockRuntime
- type MockRuntime_CopyFiles_Call
- func (_c *MockRuntime_CopyFiles_Call) Return(_a0 error) *MockRuntime_CopyFiles_Call
- func (_c *MockRuntime_CopyFiles_Call) Run(run func(ctx *contexts.Context, src string, dest string)) *MockRuntime_CopyFiles_Call
- func (_c *MockRuntime_CopyFiles_Call) RunAndReturn(run func(*contexts.Context, string, string) error) *MockRuntime_CopyFiles_Call
- type MockRuntime_Expecter
- type MockRuntime_SyncFiles_Call
- func (_c *MockRuntime_SyncFiles_Call) Return(_a0 error) *MockRuntime_SyncFiles_Call
- func (_c *MockRuntime_SyncFiles_Call) Run(run func(ctx *contexts.Context, src string, dest string)) *MockRuntime_SyncFiles_Call
- func (_c *MockRuntime_SyncFiles_Call) RunAndReturn(run func(*contexts.Context, string, string) error) *MockRuntime_SyncFiles_Call
- type Runtime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalRuntime ¶
type LocalRuntime struct{}
func NewLocalRuntime ¶
func NewLocalRuntime() *LocalRuntime
type MockRuntime ¶
MockRuntime is an autogenerated mock type for the Runtime type
func NewMockRuntime ¶
func NewMockRuntime(t interface {
mock.TestingT
Cleanup(func())
}) *MockRuntime
NewMockRuntime creates a new instance of MockRuntime. 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 (*MockRuntime) CopyFiles ¶
CopyFiles provides a mock function with given fields: ctx, src, dest
func (*MockRuntime) EXPECT ¶
func (_m *MockRuntime) EXPECT() *MockRuntime_Expecter
type MockRuntime_CopyFiles_Call ¶
MockRuntime_CopyFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyFiles'
func (*MockRuntime_CopyFiles_Call) Return ¶
func (_c *MockRuntime_CopyFiles_Call) Return(_a0 error) *MockRuntime_CopyFiles_Call
func (*MockRuntime_CopyFiles_Call) Run ¶
func (_c *MockRuntime_CopyFiles_Call) Run(run func(ctx *contexts.Context, src string, dest string)) *MockRuntime_CopyFiles_Call
func (*MockRuntime_CopyFiles_Call) RunAndReturn ¶
func (_c *MockRuntime_CopyFiles_Call) RunAndReturn(run func(*contexts.Context, string, string) error) *MockRuntime_CopyFiles_Call
type MockRuntime_Expecter ¶
type MockRuntime_Expecter struct {
// contains filtered or unexported fields
}
func (*MockRuntime_Expecter) CopyFiles ¶
func (_e *MockRuntime_Expecter) CopyFiles(ctx interface{}, src interface{}, dest interface{}) *MockRuntime_CopyFiles_Call
CopyFiles is a helper method to define mock.On call
- ctx *contexts.Context
- src string
- dest string
func (*MockRuntime_Expecter) SyncFiles ¶
func (_e *MockRuntime_Expecter) SyncFiles(ctx interface{}, src interface{}, dest interface{}) *MockRuntime_SyncFiles_Call
SyncFiles is a helper method to define mock.On call
- ctx *contexts.Context
- src string
- dest string
type MockRuntime_SyncFiles_Call ¶
MockRuntime_SyncFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncFiles'
func (*MockRuntime_SyncFiles_Call) Return ¶
func (_c *MockRuntime_SyncFiles_Call) Return(_a0 error) *MockRuntime_SyncFiles_Call
func (*MockRuntime_SyncFiles_Call) Run ¶
func (_c *MockRuntime_SyncFiles_Call) Run(run func(ctx *contexts.Context, src string, dest string)) *MockRuntime_SyncFiles_Call
func (*MockRuntime_SyncFiles_Call) RunAndReturn ¶
func (_c *MockRuntime_SyncFiles_Call) RunAndReturn(run func(*contexts.Context, string, string) error) *MockRuntime_SyncFiles_Call