Documentation ¶
Index ¶
- type MockClient
- type MockResolveBooleanArgs
- type MockResolveNumberArgs
- type MockResolveObjectArgs
- type MockResolveStringArgs
- type MockServiceClient
- func (m *MockServiceClient) ResolveBoolean(ctx context.Context, in *schemaV1.ResolveBooleanRequest, ...) (*schemaV1.ResolveBooleanResponse, error)
- func (m *MockServiceClient) ResolveNumber(ctx context.Context, in *schemaV1.ResolveNumberRequest, ...) (*schemaV1.ResolveNumberResponse, error)
- func (m *MockServiceClient) ResolveObject(ctx context.Context, in *schemaV1.ResolveObjectRequest, ...) (*schemaV1.ResolveObjectResponse, error)
- func (m *MockServiceClient) ResolveString(ctx context.Context, in *schemaV1.ResolveStringRequest, ...) (*schemaV1.ResolveStringResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct { RBArgs MockResolveBooleanArgs RNArgs MockResolveNumberArgs RSArgs MockResolveStringArgs ROArgs MockResolveObjectArgs Testing *testing.T }
func (*MockClient) GetInstance ¶
func (m *MockClient) GetInstance() schemaV1.ServiceClient
type MockResolveBooleanArgs ¶
type MockResolveBooleanArgs struct { InFK string InCtx map[string]interface{} Out schemaV1.ResolveBooleanResponse OutErr error }
type MockResolveNumberArgs ¶
type MockResolveNumberArgs struct { InFK string InCtx map[string]interface{} Out schemaV1.ResolveNumberResponse OutErr error }
type MockResolveObjectArgs ¶
type MockResolveStringArgs ¶
type MockResolveStringArgs struct { InFK string InCtx map[string]interface{} Out schemaV1.ResolveStringResponse OutErr error }
type MockServiceClient ¶
type MockServiceClient struct { RBArgs MockResolveBooleanArgs RNArgs MockResolveNumberArgs RSArgs MockResolveStringArgs ROArgs MockResolveObjectArgs Testing *testing.T }
func (*MockServiceClient) ResolveBoolean ¶
func (m *MockServiceClient) ResolveBoolean(ctx context.Context, in *schemaV1.ResolveBooleanRequest, opts ...grpc.CallOption) (*schemaV1.ResolveBooleanResponse, error)
func (*MockServiceClient) ResolveNumber ¶
func (m *MockServiceClient) ResolveNumber(ctx context.Context, in *schemaV1.ResolveNumberRequest, opts ...grpc.CallOption) (*schemaV1.ResolveNumberResponse, error)
func (*MockServiceClient) ResolveObject ¶
func (m *MockServiceClient) ResolveObject(ctx context.Context, in *schemaV1.ResolveObjectRequest, opts ...grpc.CallOption) (*schemaV1.ResolveObjectResponse, error)
func (*MockServiceClient) ResolveString ¶
func (m *MockServiceClient) ResolveString(ctx context.Context, in *schemaV1.ResolveStringRequest, opts ...grpc.CallOption) (*schemaV1.ResolveStringResponse, error)
Click to show internal directories.
Click to hide internal directories.