Documentation ¶
Index ¶
- type API
- type API_Expecter
- type API_Ingest_Call
- type API_Notify_Call
- type API_isAlreadyIngestedInGraph_Call
- func (_c *API_isAlreadyIngestedInGraph_Call) Return(_a0 bool, _a1 error) *API_isAlreadyIngestedInGraph_Call
- func (_c *API_isAlreadyIngestedInGraph_Call) Run(run func(ctx context.Context, clusterName string, runID string)) *API_isAlreadyIngestedInGraph_Call
- func (_c *API_isAlreadyIngestedInGraph_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *API_isAlreadyIngestedInGraph_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an autogenerated mock type for the API type
func NewAPI ¶
func NewAPI(t mockConstructorTestingTNewAPI) *API
NewAPI creates a new instance of API. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*API) EXPECT ¶
func (_m *API) EXPECT() *API_Expecter
type API_Expecter ¶
type API_Expecter struct {
// contains filtered or unexported fields
}
func (*API_Expecter) Ingest ¶
func (_e *API_Expecter) Ingest(ctx interface{}, clusterName interface{}, runID interface{}) *API_Ingest_Call
Ingest is a helper method to define mock.On call
- ctx context.Context
- clusterName string
- runID string
func (*API_Expecter) Notify ¶
func (_e *API_Expecter) Notify(ctx interface{}, clusterName interface{}, runID interface{}) *API_Notify_Call
Notify is a helper method to define mock.On call
- ctx context.Context
- clusterName string
- runID string
type API_Ingest_Call ¶
API_Ingest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ingest'
func (*API_Ingest_Call) Return ¶
func (_c *API_Ingest_Call) Return(_a0 error) *API_Ingest_Call
func (*API_Ingest_Call) Run ¶
func (_c *API_Ingest_Call) Run(run func(ctx context.Context, clusterName string, runID string)) *API_Ingest_Call
func (*API_Ingest_Call) RunAndReturn ¶
func (_c *API_Ingest_Call) RunAndReturn(run func(context.Context, string, string) error) *API_Ingest_Call
type API_Notify_Call ¶
API_Notify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Notify'
func (*API_Notify_Call) Return ¶
func (_c *API_Notify_Call) Return(_a0 error) *API_Notify_Call
func (*API_Notify_Call) Run ¶
func (_c *API_Notify_Call) Run(run func(ctx context.Context, clusterName string, runID string)) *API_Notify_Call
func (*API_Notify_Call) RunAndReturn ¶
func (_c *API_Notify_Call) RunAndReturn(run func(context.Context, string, string) error) *API_Notify_Call
type API_isAlreadyIngestedInGraph_Call ¶
API_isAlreadyIngestedInGraph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'isAlreadyIngestedInGraph'
func (*API_isAlreadyIngestedInGraph_Call) Return ¶
func (_c *API_isAlreadyIngestedInGraph_Call) Return(_a0 bool, _a1 error) *API_isAlreadyIngestedInGraph_Call
func (*API_isAlreadyIngestedInGraph_Call) Run ¶
func (_c *API_isAlreadyIngestedInGraph_Call) Run(run func(ctx context.Context, clusterName string, runID string)) *API_isAlreadyIngestedInGraph_Call
func (*API_isAlreadyIngestedInGraph_Call) RunAndReturn ¶
func (_c *API_isAlreadyIngestedInGraph_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *API_isAlreadyIngestedInGraph_Call