Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockLinkGraphClient
- func (m *MockLinkGraphClient) EXPECT() *MockLinkGraphClientMockRecorder
- func (m *MockLinkGraphClient) Edges(arg0 context.Context, arg1 *proto.Range, arg2 ...grpc.CallOption) (proto.LinkGraph_EdgesClient, error)
- func (m *MockLinkGraphClient) Links(arg0 context.Context, arg1 *proto.Range, arg2 ...grpc.CallOption) (proto.LinkGraph_LinksClient, error)
- func (m *MockLinkGraphClient) RemoveStaleEdges(arg0 context.Context, arg1 *proto.RemoveStaleEdgesQuery, ...) (*emptypb.Empty, error)
- func (m *MockLinkGraphClient) UpsertEdge(arg0 context.Context, arg1 *proto.Edge, arg2 ...grpc.CallOption) (*proto.Edge, error)
- func (m *MockLinkGraphClient) UpsertLink(arg0 context.Context, arg1 *proto.Link, arg2 ...grpc.CallOption) (*proto.Link, error)
- type MockLinkGraphClientMockRecorder
- func (mr *MockLinkGraphClientMockRecorder) Edges(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLinkGraphClientMockRecorder) Links(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLinkGraphClientMockRecorder) RemoveStaleEdges(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLinkGraphClientMockRecorder) UpsertEdge(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLinkGraphClientMockRecorder) UpsertLink(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockLinkGraph_EdgesClient
- func (m *MockLinkGraph_EdgesClient) CloseSend() error
- func (m *MockLinkGraph_EdgesClient) Context() context.Context
- func (m *MockLinkGraph_EdgesClient) EXPECT() *MockLinkGraph_EdgesClientMockRecorder
- func (m *MockLinkGraph_EdgesClient) Header() (metadata.MD, error)
- func (m *MockLinkGraph_EdgesClient) Recv() (*proto.Edge, error)
- func (m *MockLinkGraph_EdgesClient) RecvMsg(arg0 interface{}) error
- func (m *MockLinkGraph_EdgesClient) SendMsg(arg0 interface{}) error
- func (m *MockLinkGraph_EdgesClient) Trailer() metadata.MD
- type MockLinkGraph_EdgesClientMockRecorder
- func (mr *MockLinkGraph_EdgesClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockLinkGraph_EdgesClientMockRecorder) Context() *gomock.Call
- func (mr *MockLinkGraph_EdgesClientMockRecorder) Header() *gomock.Call
- func (mr *MockLinkGraph_EdgesClientMockRecorder) Recv() *gomock.Call
- func (mr *MockLinkGraph_EdgesClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockLinkGraph_EdgesClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockLinkGraph_EdgesClientMockRecorder) Trailer() *gomock.Call
- type MockLinkGraph_LinksClient
- func (m *MockLinkGraph_LinksClient) CloseSend() error
- func (m *MockLinkGraph_LinksClient) Context() context.Context
- func (m *MockLinkGraph_LinksClient) EXPECT() *MockLinkGraph_LinksClientMockRecorder
- func (m *MockLinkGraph_LinksClient) Header() (metadata.MD, error)
- func (m *MockLinkGraph_LinksClient) Recv() (*proto.Link, error)
- func (m *MockLinkGraph_LinksClient) RecvMsg(arg0 interface{}) error
- func (m *MockLinkGraph_LinksClient) SendMsg(arg0 interface{}) error
- func (m *MockLinkGraph_LinksClient) Trailer() metadata.MD
- type MockLinkGraph_LinksClientMockRecorder
- func (mr *MockLinkGraph_LinksClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockLinkGraph_LinksClientMockRecorder) Context() *gomock.Call
- func (mr *MockLinkGraph_LinksClientMockRecorder) Header() *gomock.Call
- func (mr *MockLinkGraph_LinksClientMockRecorder) Recv() *gomock.Call
- func (mr *MockLinkGraph_LinksClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockLinkGraph_LinksClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockLinkGraph_LinksClientMockRecorder) Trailer() *gomock.Call
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 ¶
func (m *MockLinkGraphClient) EXPECT() *MockLinkGraphClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLinkGraphClient) Edges ¶
func (m *MockLinkGraphClient) Edges(arg0 context.Context, arg1 *proto.Range, arg2 ...grpc.CallOption) (proto.LinkGraph_EdgesClient, error)
Edges mocks base method.
func (*MockLinkGraphClient) Links ¶
func (m *MockLinkGraphClient) Links(arg0 context.Context, arg1 *proto.Range, arg2 ...grpc.CallOption) (proto.LinkGraph_LinksClient, error)
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 (*MockLinkGraphClient) UpsertLink ¶
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 (*MockLinkGraphClientMockRecorder) Links ¶
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 (*MockLinkGraphClientMockRecorder) UpsertLink ¶
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 ¶
func (m *MockLinkGraph_EdgesClient) Context() context.Context
Context mocks base method.
func (*MockLinkGraph_EdgesClient) EXPECT ¶
func (m *MockLinkGraph_EdgesClient) EXPECT() *MockLinkGraph_EdgesClientMockRecorder
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 ¶
func (mr *MockLinkGraph_EdgesClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockLinkGraph_EdgesClientMockRecorder) Context ¶
func (mr *MockLinkGraph_EdgesClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockLinkGraph_EdgesClientMockRecorder) Header ¶
func (mr *MockLinkGraph_EdgesClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockLinkGraph_EdgesClientMockRecorder) Recv ¶
func (mr *MockLinkGraph_EdgesClientMockRecorder) Recv() *gomock.Call
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 ¶
func (mr *MockLinkGraph_EdgesClientMockRecorder) Trailer() *gomock.Call
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 ¶
func (m *MockLinkGraph_LinksClient) Context() context.Context
Context mocks base method.
func (*MockLinkGraph_LinksClient) EXPECT ¶
func (m *MockLinkGraph_LinksClient) EXPECT() *MockLinkGraph_LinksClientMockRecorder
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 ¶
func (mr *MockLinkGraph_LinksClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockLinkGraph_LinksClientMockRecorder) Context ¶
func (mr *MockLinkGraph_LinksClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockLinkGraph_LinksClientMockRecorder) Header ¶
func (mr *MockLinkGraph_LinksClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockLinkGraph_LinksClientMockRecorder) Recv ¶
func (mr *MockLinkGraph_LinksClientMockRecorder) Recv() *gomock.Call
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 ¶
func (mr *MockLinkGraph_LinksClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.