Documentation ¶
Index ¶
- type SourcesCheckable
- type SourcesCheckable_Expecter
- func (_e *SourcesCheckable_Expecter) IsUpToDate(t interface{}) *SourcesCheckable_IsUpToDate_Call
- func (_e *SourcesCheckable_Expecter) Kind() *SourcesCheckable_Kind_Call
- func (_e *SourcesCheckable_Expecter) OnError(t interface{}) *SourcesCheckable_OnError_Call
- func (_e *SourcesCheckable_Expecter) Value(t interface{}) *SourcesCheckable_Value_Call
- type SourcesCheckable_IsUpToDate_Call
- func (_c *SourcesCheckable_IsUpToDate_Call) Return(_a0 bool, _a1 error) *SourcesCheckable_IsUpToDate_Call
- func (_c *SourcesCheckable_IsUpToDate_Call) Run(run func(t *ast.Task)) *SourcesCheckable_IsUpToDate_Call
- func (_c *SourcesCheckable_IsUpToDate_Call) RunAndReturn(run func(*ast.Task) (bool, error)) *SourcesCheckable_IsUpToDate_Call
- type SourcesCheckable_Kind_Call
- type SourcesCheckable_OnError_Call
- func (_c *SourcesCheckable_OnError_Call) Return(_a0 error) *SourcesCheckable_OnError_Call
- func (_c *SourcesCheckable_OnError_Call) Run(run func(t *ast.Task)) *SourcesCheckable_OnError_Call
- func (_c *SourcesCheckable_OnError_Call) RunAndReturn(run func(*ast.Task) error) *SourcesCheckable_OnError_Call
- type SourcesCheckable_Value_Call
- func (_c *SourcesCheckable_Value_Call) Return(_a0 interface{}, _a1 error) *SourcesCheckable_Value_Call
- func (_c *SourcesCheckable_Value_Call) Run(run func(t *ast.Task)) *SourcesCheckable_Value_Call
- func (_c *SourcesCheckable_Value_Call) RunAndReturn(run func(*ast.Task) (interface{}, error)) *SourcesCheckable_Value_Call
- type StatusCheckable
- type StatusCheckable_Expecter
- type StatusCheckable_IsUpToDate_Call
- func (_c *StatusCheckable_IsUpToDate_Call) Return(_a0 bool, _a1 error) *StatusCheckable_IsUpToDate_Call
- func (_c *StatusCheckable_IsUpToDate_Call) Run(run func(ctx context.Context, t *ast.Task)) *StatusCheckable_IsUpToDate_Call
- func (_c *StatusCheckable_IsUpToDate_Call) RunAndReturn(run func(context.Context, *ast.Task) (bool, error)) *StatusCheckable_IsUpToDate_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SourcesCheckable ¶
SourcesCheckable is an autogenerated mock type for the SourcesCheckable type
func NewSourcesCheckable ¶
func NewSourcesCheckable(t mockConstructorTestingTNewSourcesCheckable) *SourcesCheckable
NewSourcesCheckable creates a new instance of SourcesCheckable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SourcesCheckable) EXPECT ¶
func (_m *SourcesCheckable) EXPECT() *SourcesCheckable_Expecter
func (*SourcesCheckable) IsUpToDate ¶
func (_m *SourcesCheckable) IsUpToDate(t *ast.Task) (bool, error)
IsUpToDate provides a mock function with given fields: t
func (*SourcesCheckable) Kind ¶
func (_m *SourcesCheckable) Kind() string
Kind provides a mock function with given fields:
type SourcesCheckable_Expecter ¶
type SourcesCheckable_Expecter struct {
// contains filtered or unexported fields
}
func (*SourcesCheckable_Expecter) IsUpToDate ¶
func (_e *SourcesCheckable_Expecter) IsUpToDate(t interface{}) *SourcesCheckable_IsUpToDate_Call
IsUpToDate is a helper method to define mock.On call
- t *ast.Task
func (*SourcesCheckable_Expecter) Kind ¶
func (_e *SourcesCheckable_Expecter) Kind() *SourcesCheckable_Kind_Call
Kind is a helper method to define mock.On call
func (*SourcesCheckable_Expecter) OnError ¶
func (_e *SourcesCheckable_Expecter) OnError(t interface{}) *SourcesCheckable_OnError_Call
OnError is a helper method to define mock.On call
- t *ast.Task
func (*SourcesCheckable_Expecter) Value ¶
func (_e *SourcesCheckable_Expecter) Value(t interface{}) *SourcesCheckable_Value_Call
Value is a helper method to define mock.On call
- t *ast.Task
type SourcesCheckable_IsUpToDate_Call ¶
SourcesCheckable_IsUpToDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsUpToDate'
func (*SourcesCheckable_IsUpToDate_Call) Return ¶
func (_c *SourcesCheckable_IsUpToDate_Call) Return(_a0 bool, _a1 error) *SourcesCheckable_IsUpToDate_Call
func (*SourcesCheckable_IsUpToDate_Call) Run ¶
func (_c *SourcesCheckable_IsUpToDate_Call) Run(run func(t *ast.Task)) *SourcesCheckable_IsUpToDate_Call
func (*SourcesCheckable_IsUpToDate_Call) RunAndReturn ¶
func (_c *SourcesCheckable_IsUpToDate_Call) RunAndReturn(run func(*ast.Task) (bool, error)) *SourcesCheckable_IsUpToDate_Call
type SourcesCheckable_Kind_Call ¶
SourcesCheckable_Kind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Kind'
func (*SourcesCheckable_Kind_Call) Return ¶
func (_c *SourcesCheckable_Kind_Call) Return(_a0 string) *SourcesCheckable_Kind_Call
func (*SourcesCheckable_Kind_Call) Run ¶
func (_c *SourcesCheckable_Kind_Call) Run(run func()) *SourcesCheckable_Kind_Call
func (*SourcesCheckable_Kind_Call) RunAndReturn ¶
func (_c *SourcesCheckable_Kind_Call) RunAndReturn(run func() string) *SourcesCheckable_Kind_Call
type SourcesCheckable_OnError_Call ¶
SourcesCheckable_OnError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnError'
func (*SourcesCheckable_OnError_Call) Return ¶
func (_c *SourcesCheckable_OnError_Call) Return(_a0 error) *SourcesCheckable_OnError_Call
func (*SourcesCheckable_OnError_Call) Run ¶
func (_c *SourcesCheckable_OnError_Call) Run(run func(t *ast.Task)) *SourcesCheckable_OnError_Call
func (*SourcesCheckable_OnError_Call) RunAndReturn ¶
func (_c *SourcesCheckable_OnError_Call) RunAndReturn(run func(*ast.Task) error) *SourcesCheckable_OnError_Call
type SourcesCheckable_Value_Call ¶
SourcesCheckable_Value_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Value'
func (*SourcesCheckable_Value_Call) Return ¶
func (_c *SourcesCheckable_Value_Call) Return(_a0 interface{}, _a1 error) *SourcesCheckable_Value_Call
func (*SourcesCheckable_Value_Call) Run ¶
func (_c *SourcesCheckable_Value_Call) Run(run func(t *ast.Task)) *SourcesCheckable_Value_Call
func (*SourcesCheckable_Value_Call) RunAndReturn ¶
func (_c *SourcesCheckable_Value_Call) RunAndReturn(run func(*ast.Task) (interface{}, error)) *SourcesCheckable_Value_Call
type StatusCheckable ¶
StatusCheckable is an autogenerated mock type for the StatusCheckable type
func NewStatusCheckable ¶
func NewStatusCheckable(t mockConstructorTestingTNewStatusCheckable) *StatusCheckable
NewStatusCheckable creates a new instance of StatusCheckable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StatusCheckable) EXPECT ¶
func (_m *StatusCheckable) EXPECT() *StatusCheckable_Expecter
func (*StatusCheckable) IsUpToDate ¶
IsUpToDate provides a mock function with given fields: ctx, t
type StatusCheckable_Expecter ¶
type StatusCheckable_Expecter struct {
// contains filtered or unexported fields
}
func (*StatusCheckable_Expecter) IsUpToDate ¶
func (_e *StatusCheckable_Expecter) IsUpToDate(ctx interface{}, t interface{}) *StatusCheckable_IsUpToDate_Call
IsUpToDate is a helper method to define mock.On call
- ctx context.Context
- t *ast.Task
type StatusCheckable_IsUpToDate_Call ¶
StatusCheckable_IsUpToDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsUpToDate'
func (*StatusCheckable_IsUpToDate_Call) Return ¶
func (_c *StatusCheckable_IsUpToDate_Call) Return(_a0 bool, _a1 error) *StatusCheckable_IsUpToDate_Call
func (*StatusCheckable_IsUpToDate_Call) Run ¶
func (_c *StatusCheckable_IsUpToDate_Call) Run(run func(ctx context.Context, t *ast.Task)) *StatusCheckable_IsUpToDate_Call
func (*StatusCheckable_IsUpToDate_Call) RunAndReturn ¶
func (_c *StatusCheckable_IsUpToDate_Call) RunAndReturn(run func(context.Context, *ast.Task) (bool, error)) *StatusCheckable_IsUpToDate_Call