mock

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGraphQL

type MockGraphQL struct {
	// contains filtered or unexported fields
}

MockGraphQL is a mock of GraphQL interface.

func NewMockGraphQL

func NewMockGraphQL(ctrl *gomock.Controller) *MockGraphQL

NewMockGraphQL creates a new mock instance.

func (*MockGraphQL) EXPECT

func (m *MockGraphQL) EXPECT() *MockGraphQLMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGraphQL) Mutate

func (m *MockGraphQL) Mutate(arg0 context.Context, arg1 interface{}, arg2 map[string]interface{}) error

Mutate mocks base method.

func (*MockGraphQL) MutateString

func (m *MockGraphQL) MutateString(arg0 context.Context, arg1 string, arg2 map[string]interface{}, arg3 interface{}) error

MutateString mocks base method.

func (*MockGraphQL) Query

func (m *MockGraphQL) Query(arg0 context.Context, arg1 interface{}, arg2 map[string]interface{}) error

Query mocks base method.

func (*MockGraphQL) QueryString

func (m *MockGraphQL) QueryString(arg0 context.Context, arg1 string, arg2 map[string]interface{}, arg3 interface{}) error

QueryString mocks base method.

type MockGraphQLMockRecorder

type MockGraphQLMockRecorder struct {
	// contains filtered or unexported fields
}

MockGraphQLMockRecorder is the mock recorder for MockGraphQL.

func (*MockGraphQLMockRecorder) Mutate

func (mr *MockGraphQLMockRecorder) Mutate(arg0, arg1, arg2 interface{}) *gomock.Call

Mutate indicates an expected call of Mutate.

func (*MockGraphQLMockRecorder) MutateString

func (mr *MockGraphQLMockRecorder) MutateString(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

MutateString indicates an expected call of MutateString.

func (*MockGraphQLMockRecorder) Query

func (mr *MockGraphQLMockRecorder) Query(arg0, arg1, arg2 interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockGraphQLMockRecorder) QueryString

func (mr *MockGraphQLMockRecorder) QueryString(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

QueryString indicates an expected call of QueryString.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL