Documentation
¶
Index ¶
- type MonteCarloClient
- func (_m *MonteCarloClient) EXPECT() *MonteCarloClient_Expecter
- func (_m *MonteCarloClient) ExecRaw(ctx context.Context, query string, variables map[string]interface{}, ...) ([]byte, error)
- func (_m *MonteCarloClient) Mutate(ctx context.Context, m interface{}, variables map[string]interface{}, ...) error
- func (_m *MonteCarloClient) Query(ctx context.Context, q interface{}, variables map[string]interface{}, ...) error
- type MonteCarloClient_ExecRaw_Call
- type MonteCarloClient_Expecter
- func (_e *MonteCarloClient_Expecter) ExecRaw(ctx interface{}, query interface{}, variables interface{}, ...) *MonteCarloClient_ExecRaw_Call
- func (_e *MonteCarloClient_Expecter) Mutate(ctx interface{}, m interface{}, variables interface{}, options ...interface{}) *MonteCarloClient_Mutate_Call
- func (_e *MonteCarloClient_Expecter) Query(ctx interface{}, q interface{}, variables interface{}, options ...interface{}) *MonteCarloClient_Query_Call
- type MonteCarloClient_Mutate_Call
- type MonteCarloClient_Query_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonteCarloClient ¶
MonteCarloClient is an autogenerated mock type for the MonteCarloClient type
func NewMonteCarloClient ¶
func NewMonteCarloClient(t interface { mock.TestingT Cleanup(func()) }) *MonteCarloClient
NewMonteCarloClient creates a new instance of MonteCarloClient. 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 (*MonteCarloClient) EXPECT ¶
func (_m *MonteCarloClient) EXPECT() *MonteCarloClient_Expecter
func (*MonteCarloClient) ExecRaw ¶
func (_m *MonteCarloClient) ExecRaw(ctx context.Context, query string, variables map[string]interface{}, options ...graphql.Option) ([]byte, error)
ExecRaw provides a mock function with given fields: ctx, query, variables, options
type MonteCarloClient_ExecRaw_Call ¶
MonteCarloClient_ExecRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecRaw'
func (*MonteCarloClient_ExecRaw_Call) Return ¶
func (_c *MonteCarloClient_ExecRaw_Call) Return(_a0 []byte, _a1 error) *MonteCarloClient_ExecRaw_Call
func (*MonteCarloClient_ExecRaw_Call) Run ¶
func (_c *MonteCarloClient_ExecRaw_Call) Run(run func(ctx context.Context, query string, variables map[string]interface{}, options ...graphql.Option)) *MonteCarloClient_ExecRaw_Call
func (*MonteCarloClient_ExecRaw_Call) RunAndReturn ¶
func (_c *MonteCarloClient_ExecRaw_Call) RunAndReturn(run func(context.Context, string, map[string]interface{}, ...graphql.Option) ([]byte, error)) *MonteCarloClient_ExecRaw_Call
type MonteCarloClient_Expecter ¶
type MonteCarloClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MonteCarloClient_Expecter) ExecRaw ¶
func (_e *MonteCarloClient_Expecter) ExecRaw(ctx interface{}, query interface{}, variables interface{}, options ...interface{}) *MonteCarloClient_ExecRaw_Call
ExecRaw is a helper method to define mock.On call
- ctx context.Context
- query string
- variables map[string]interface{}
- options ...graphql.Option
func (*MonteCarloClient_Expecter) Mutate ¶
func (_e *MonteCarloClient_Expecter) Mutate(ctx interface{}, m interface{}, variables interface{}, options ...interface{}) *MonteCarloClient_Mutate_Call
Mutate is a helper method to define mock.On call
- ctx context.Context
- m interface{}
- variables map[string]interface{}
- options ...graphql.Option
func (*MonteCarloClient_Expecter) Query ¶
func (_e *MonteCarloClient_Expecter) Query(ctx interface{}, q interface{}, variables interface{}, options ...interface{}) *MonteCarloClient_Query_Call
Query is a helper method to define mock.On call
- ctx context.Context
- q interface{}
- variables map[string]interface{}
- options ...graphql.Option
type MonteCarloClient_Mutate_Call ¶
MonteCarloClient_Mutate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mutate'
func (*MonteCarloClient_Mutate_Call) Return ¶
func (_c *MonteCarloClient_Mutate_Call) Return(_a0 error) *MonteCarloClient_Mutate_Call
func (*MonteCarloClient_Mutate_Call) Run ¶
func (_c *MonteCarloClient_Mutate_Call) Run(run func(ctx context.Context, m interface{}, variables map[string]interface{}, options ...graphql.Option)) *MonteCarloClient_Mutate_Call
func (*MonteCarloClient_Mutate_Call) RunAndReturn ¶
func (_c *MonteCarloClient_Mutate_Call) RunAndReturn(run func(context.Context, interface{}, map[string]interface{}, ...graphql.Option) error) *MonteCarloClient_Mutate_Call
type MonteCarloClient_Query_Call ¶
MonteCarloClient_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*MonteCarloClient_Query_Call) Return ¶
func (_c *MonteCarloClient_Query_Call) Return(_a0 error) *MonteCarloClient_Query_Call
func (*MonteCarloClient_Query_Call) Run ¶
func (_c *MonteCarloClient_Query_Call) Run(run func(ctx context.Context, q interface{}, variables map[string]interface{}, options ...graphql.Option)) *MonteCarloClient_Query_Call
func (*MonteCarloClient_Query_Call) RunAndReturn ¶
func (_c *MonteCarloClient_Query_Call) RunAndReturn(run func(context.Context, interface{}, map[string]interface{}, ...graphql.Option) error) *MonteCarloClient_Query_Call