mocks

package
v0.0.0-...-7b67181 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLinkGraphClient

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

MockLinkGraphClient is a mock of LinkGraphClient interface.

func NewMockLinkGraphClient

func NewMockLinkGraphClient(ctrl *gomock.Controller) *MockLinkGraphClient

NewMockLinkGraphClient creates a new mock instance.

func (*MockLinkGraphClient) EXPECT

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

func (*MockLinkGraphClient) Edges

Edges mocks base method.

Links mocks base method.

func (*MockLinkGraphClient) RemoveStaleEdges

func (m *MockLinkGraphClient) RemoveStaleEdges(arg0 context.Context, arg1 *proto.RemoveStaleEdgesQuery, arg2 ...grpc.CallOption) (*emptypb.Empty, error)

RemoveStaleEdges mocks base method.

func (*MockLinkGraphClient) UpsertEdge

func (m *MockLinkGraphClient) UpsertEdge(arg0 context.Context, arg1 *proto.Edge, arg2 ...grpc.CallOption) (*proto.Edge, error)

UpsertEdge mocks base method.

func (m *MockLinkGraphClient) UpsertLink(arg0 context.Context, arg1 *proto.Link, arg2 ...grpc.CallOption) (*proto.Link, error)

UpsertLink mocks base method.

type MockLinkGraphClientMockRecorder

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

MockLinkGraphClientMockRecorder is the mock recorder for MockLinkGraphClient.

func (*MockLinkGraphClientMockRecorder) Edges

func (mr *MockLinkGraphClientMockRecorder) Edges(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Edges indicates an expected call of Edges.

func (mr *MockLinkGraphClientMockRecorder) Links(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Links indicates an expected call of Links.

func (*MockLinkGraphClientMockRecorder) RemoveStaleEdges

func (mr *MockLinkGraphClientMockRecorder) RemoveStaleEdges(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RemoveStaleEdges indicates an expected call of RemoveStaleEdges.

func (*MockLinkGraphClientMockRecorder) UpsertEdge

func (mr *MockLinkGraphClientMockRecorder) UpsertEdge(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpsertEdge indicates an expected call of UpsertEdge.

func (mr *MockLinkGraphClientMockRecorder) UpsertLink(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpsertLink indicates an expected call of UpsertLink.

type MockLinkGraph_EdgesClient

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

MockLinkGraph_EdgesClient is a mock of LinkGraph_EdgesClient interface.

func NewMockLinkGraph_EdgesClient

func NewMockLinkGraph_EdgesClient(ctrl *gomock.Controller) *MockLinkGraph_EdgesClient

NewMockLinkGraph_EdgesClient creates a new mock instance.

func (*MockLinkGraph_EdgesClient) CloseSend

func (m *MockLinkGraph_EdgesClient) CloseSend() error

CloseSend mocks base method.

func (*MockLinkGraph_EdgesClient) Context

Context mocks base method.

func (*MockLinkGraph_EdgesClient) EXPECT

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

func (*MockLinkGraph_EdgesClient) Header

func (m *MockLinkGraph_EdgesClient) Header() (metadata.MD, error)

Header mocks base method.

func (*MockLinkGraph_EdgesClient) Recv

func (m *MockLinkGraph_EdgesClient) Recv() (*proto.Edge, error)

Recv mocks base method.

func (*MockLinkGraph_EdgesClient) RecvMsg

func (m *MockLinkGraph_EdgesClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockLinkGraph_EdgesClient) SendMsg

func (m *MockLinkGraph_EdgesClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockLinkGraph_EdgesClient) Trailer

func (m *MockLinkGraph_EdgesClient) Trailer() metadata.MD

Trailer mocks base method.

type MockLinkGraph_EdgesClientMockRecorder

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

MockLinkGraph_EdgesClientMockRecorder is the mock recorder for MockLinkGraph_EdgesClient.

func (*MockLinkGraph_EdgesClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLinkGraph_EdgesClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLinkGraph_EdgesClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLinkGraph_EdgesClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLinkGraph_EdgesClientMockRecorder) RecvMsg

func (mr *MockLinkGraph_EdgesClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockLinkGraph_EdgesClientMockRecorder) SendMsg

func (mr *MockLinkGraph_EdgesClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockLinkGraph_EdgesClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLinkGraph_LinksClient

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

MockLinkGraph_LinksClient is a mock of LinkGraph_LinksClient interface.

func NewMockLinkGraph_LinksClient

func NewMockLinkGraph_LinksClient(ctrl *gomock.Controller) *MockLinkGraph_LinksClient

NewMockLinkGraph_LinksClient creates a new mock instance.

func (*MockLinkGraph_LinksClient) CloseSend

func (m *MockLinkGraph_LinksClient) CloseSend() error

CloseSend mocks base method.

func (*MockLinkGraph_LinksClient) Context

Context mocks base method.

func (*MockLinkGraph_LinksClient) EXPECT

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

func (*MockLinkGraph_LinksClient) Header

func (m *MockLinkGraph_LinksClient) Header() (metadata.MD, error)

Header mocks base method.

func (*MockLinkGraph_LinksClient) Recv

func (m *MockLinkGraph_LinksClient) Recv() (*proto.Link, error)

Recv mocks base method.

func (*MockLinkGraph_LinksClient) RecvMsg

func (m *MockLinkGraph_LinksClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockLinkGraph_LinksClient) SendMsg

func (m *MockLinkGraph_LinksClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockLinkGraph_LinksClient) Trailer

func (m *MockLinkGraph_LinksClient) Trailer() metadata.MD

Trailer mocks base method.

type MockLinkGraph_LinksClientMockRecorder

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

MockLinkGraph_LinksClientMockRecorder is the mock recorder for MockLinkGraph_LinksClient.

func (*MockLinkGraph_LinksClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLinkGraph_LinksClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLinkGraph_LinksClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLinkGraph_LinksClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLinkGraph_LinksClientMockRecorder) RecvMsg

func (mr *MockLinkGraph_LinksClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockLinkGraph_LinksClientMockRecorder) SendMsg

func (mr *MockLinkGraph_LinksClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockLinkGraph_LinksClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

Jump to

Keyboard shortcuts

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