mocks

package
v1.12.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphQLService

type GraphQLService struct {
	mock.Mock
}

GraphQLService is an autogenerated mock type for the GraphQLService type

func NewGraphQLService added in v1.11.21

func NewGraphQLService(t mockConstructorTestingTNewGraphQLService) *GraphQLService

NewGraphQLService creates a new instance of GraphQLService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*GraphQLService) Subscribe

func (_m *GraphQLService) Subscribe(ctx context.Context, document string, operationName string, variableValues map[string]interface{}) (<-chan interface{}, error)

Subscribe provides a mock function with given fields: ctx, document, operationName, variableValues

Jump to

Keyboard shortcuts

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