Documentation ¶
Overview ¶
Package seeds_mock is a generated GoMock package.
Index ¶
- type MockSeedsAPIClient
- func (m *MockSeedsAPIClient) AcceptExchange(ctx context.Context, in *v2.AcceptExchangeRequest, opts ...grpc.CallOption) (*v2.AcceptExchangeResponse, error)
- func (m *MockSeedsAPIClient) CancelExchange(ctx context.Context, in *v2.CancelExchangeRequest, opts ...grpc.CallOption) (*v2.CancelExchangeResponse, error)
- func (m *MockSeedsAPIClient) CreateExchangeProposal(ctx context.Context, in *v2.CreateExchangeProposalRequest, ...) (*v2.CreateExchangeProposalResponse, error)
- func (m *MockSeedsAPIClient) EXPECT() *MockSeedsAPIClientMockRecorder
- func (m *MockSeedsAPIClient) GetCircleSeeds(ctx context.Context, in *v2.GetCircleSeedsRequest, opts ...grpc.CallOption) (*v2.GetCircleSeedsResponse, error)
- func (m *MockSeedsAPIClient) GetExchange(ctx context.Context, in *v2.GetExchangeRequest, opts ...grpc.CallOption) (*v2.GetExchangeResponse, error)
- func (m *MockSeedsAPIClient) GetUserMelons(ctx context.Context, in *v2.GetUserMelonsRequest, opts ...grpc.CallOption) (*v2.GetUserMelonsResponse, error)
- func (m *MockSeedsAPIClient) GetUserSeeds(ctx context.Context, in *v2.GetUserSeedsRequest, opts ...grpc.CallOption) (*v2.GetUserSeedsResponse, error)
- func (m *MockSeedsAPIClient) GetUserSeedsInCircle(ctx context.Context, in *v2.GetUserSeedsInCircleRequest, ...) (*v2.GetUserSeedsInCircleResponse, error)
- func (m *MockSeedsAPIClient) RejectExchange(ctx context.Context, in *v2.RejectExchangeRequest, opts ...grpc.CallOption) (*v2.RejectExchangeResponse, error)
- func (m *MockSeedsAPIClient) TransferSeeds(ctx context.Context, in *v2.TransferSeedsRequest, opts ...grpc.CallOption) (*v2.TransferSeedsResponse, error)
- type MockSeedsAPIClientMockRecorder
- func (mr *MockSeedsAPIClientMockRecorder) AcceptExchange(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) CancelExchange(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) CreateExchangeProposal(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) GetCircleSeeds(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) GetExchange(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) GetUserMelons(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) GetUserSeeds(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) GetUserSeedsInCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) RejectExchange(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSeedsAPIClientMockRecorder) TransferSeeds(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockSeedsAPIServer
- func (m *MockSeedsAPIServer) AcceptExchange(arg0 context.Context, arg1 *v2.AcceptExchangeRequest) (*v2.AcceptExchangeResponse, error)
- func (m *MockSeedsAPIServer) CancelExchange(arg0 context.Context, arg1 *v2.CancelExchangeRequest) (*v2.CancelExchangeResponse, error)
- func (m *MockSeedsAPIServer) CreateExchangeProposal(arg0 context.Context, arg1 *v2.CreateExchangeProposalRequest) (*v2.CreateExchangeProposalResponse, error)
- func (m *MockSeedsAPIServer) EXPECT() *MockSeedsAPIServerMockRecorder
- func (m *MockSeedsAPIServer) GetCircleSeeds(arg0 context.Context, arg1 *v2.GetCircleSeedsRequest) (*v2.GetCircleSeedsResponse, error)
- func (m *MockSeedsAPIServer) GetExchange(arg0 context.Context, arg1 *v2.GetExchangeRequest) (*v2.GetExchangeResponse, error)
- func (m *MockSeedsAPIServer) GetUserMelons(arg0 context.Context, arg1 *v2.GetUserMelonsRequest) (*v2.GetUserMelonsResponse, error)
- func (m *MockSeedsAPIServer) GetUserSeeds(arg0 context.Context, arg1 *v2.GetUserSeedsRequest) (*v2.GetUserSeedsResponse, error)
- func (m *MockSeedsAPIServer) GetUserSeedsInCircle(arg0 context.Context, arg1 *v2.GetUserSeedsInCircleRequest) (*v2.GetUserSeedsInCircleResponse, error)
- func (m *MockSeedsAPIServer) RejectExchange(arg0 context.Context, arg1 *v2.RejectExchangeRequest) (*v2.RejectExchangeResponse, error)
- func (m *MockSeedsAPIServer) TransferSeeds(arg0 context.Context, arg1 *v2.TransferSeedsRequest) (*v2.TransferSeedsResponse, error)
- type MockSeedsAPIServerMockRecorder
- func (mr *MockSeedsAPIServerMockRecorder) AcceptExchange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) CancelExchange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) CreateExchangeProposal(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) GetCircleSeeds(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) GetExchange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) GetUserMelons(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) GetUserSeeds(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) GetUserSeedsInCircle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) RejectExchange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSeedsAPIServerMockRecorder) TransferSeeds(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeSeedsAPIServer
- type MockUnsafeSeedsAPIServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSeedsAPIClient ¶
type MockSeedsAPIClient struct {
// contains filtered or unexported fields
}
MockSeedsAPIClient is a mock of SeedsAPIClient interface.
func NewMockSeedsAPIClient ¶
func NewMockSeedsAPIClient(ctrl *gomock.Controller) *MockSeedsAPIClient
NewMockSeedsAPIClient creates a new mock instance.
func (*MockSeedsAPIClient) AcceptExchange ¶
func (m *MockSeedsAPIClient) AcceptExchange(ctx context.Context, in *v2.AcceptExchangeRequest, opts ...grpc.CallOption) (*v2.AcceptExchangeResponse, error)
AcceptExchange mocks base method.
func (*MockSeedsAPIClient) CancelExchange ¶
func (m *MockSeedsAPIClient) CancelExchange(ctx context.Context, in *v2.CancelExchangeRequest, opts ...grpc.CallOption) (*v2.CancelExchangeResponse, error)
CancelExchange mocks base method.
func (*MockSeedsAPIClient) CreateExchangeProposal ¶
func (m *MockSeedsAPIClient) CreateExchangeProposal(ctx context.Context, in *v2.CreateExchangeProposalRequest, opts ...grpc.CallOption) (*v2.CreateExchangeProposalResponse, error)
CreateExchangeProposal mocks base method.
func (*MockSeedsAPIClient) EXPECT ¶
func (m *MockSeedsAPIClient) EXPECT() *MockSeedsAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSeedsAPIClient) GetCircleSeeds ¶
func (m *MockSeedsAPIClient) GetCircleSeeds(ctx context.Context, in *v2.GetCircleSeedsRequest, opts ...grpc.CallOption) (*v2.GetCircleSeedsResponse, error)
GetCircleSeeds mocks base method.
func (*MockSeedsAPIClient) GetExchange ¶
func (m *MockSeedsAPIClient) GetExchange(ctx context.Context, in *v2.GetExchangeRequest, opts ...grpc.CallOption) (*v2.GetExchangeResponse, error)
GetExchange mocks base method.
func (*MockSeedsAPIClient) GetUserMelons ¶
func (m *MockSeedsAPIClient) GetUserMelons(ctx context.Context, in *v2.GetUserMelonsRequest, opts ...grpc.CallOption) (*v2.GetUserMelonsResponse, error)
GetUserMelons mocks base method.
func (*MockSeedsAPIClient) GetUserSeeds ¶
func (m *MockSeedsAPIClient) GetUserSeeds(ctx context.Context, in *v2.GetUserSeedsRequest, opts ...grpc.CallOption) (*v2.GetUserSeedsResponse, error)
GetUserSeeds mocks base method.
func (*MockSeedsAPIClient) GetUserSeedsInCircle ¶
func (m *MockSeedsAPIClient) GetUserSeedsInCircle(ctx context.Context, in *v2.GetUserSeedsInCircleRequest, opts ...grpc.CallOption) (*v2.GetUserSeedsInCircleResponse, error)
GetUserSeedsInCircle mocks base method.
func (*MockSeedsAPIClient) RejectExchange ¶
func (m *MockSeedsAPIClient) RejectExchange(ctx context.Context, in *v2.RejectExchangeRequest, opts ...grpc.CallOption) (*v2.RejectExchangeResponse, error)
RejectExchange mocks base method.
func (*MockSeedsAPIClient) TransferSeeds ¶
func (m *MockSeedsAPIClient) TransferSeeds(ctx context.Context, in *v2.TransferSeedsRequest, opts ...grpc.CallOption) (*v2.TransferSeedsResponse, error)
TransferSeeds mocks base method.
type MockSeedsAPIClientMockRecorder ¶
type MockSeedsAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSeedsAPIClientMockRecorder is the mock recorder for MockSeedsAPIClient.
func (*MockSeedsAPIClientMockRecorder) AcceptExchange ¶
func (mr *MockSeedsAPIClientMockRecorder) AcceptExchange(ctx, in interface{}, opts ...interface{}) *gomock.Call
AcceptExchange indicates an expected call of AcceptExchange.
func (*MockSeedsAPIClientMockRecorder) CancelExchange ¶
func (mr *MockSeedsAPIClientMockRecorder) CancelExchange(ctx, in interface{}, opts ...interface{}) *gomock.Call
CancelExchange indicates an expected call of CancelExchange.
func (*MockSeedsAPIClientMockRecorder) CreateExchangeProposal ¶
func (mr *MockSeedsAPIClientMockRecorder) CreateExchangeProposal(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateExchangeProposal indicates an expected call of CreateExchangeProposal.
func (*MockSeedsAPIClientMockRecorder) GetCircleSeeds ¶
func (mr *MockSeedsAPIClientMockRecorder) GetCircleSeeds(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCircleSeeds indicates an expected call of GetCircleSeeds.
func (*MockSeedsAPIClientMockRecorder) GetExchange ¶
func (mr *MockSeedsAPIClientMockRecorder) GetExchange(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetExchange indicates an expected call of GetExchange.
func (*MockSeedsAPIClientMockRecorder) GetUserMelons ¶
func (mr *MockSeedsAPIClientMockRecorder) GetUserMelons(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUserMelons indicates an expected call of GetUserMelons.
func (*MockSeedsAPIClientMockRecorder) GetUserSeeds ¶
func (mr *MockSeedsAPIClientMockRecorder) GetUserSeeds(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUserSeeds indicates an expected call of GetUserSeeds.
func (*MockSeedsAPIClientMockRecorder) GetUserSeedsInCircle ¶
func (mr *MockSeedsAPIClientMockRecorder) GetUserSeedsInCircle(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUserSeedsInCircle indicates an expected call of GetUserSeedsInCircle.
func (*MockSeedsAPIClientMockRecorder) RejectExchange ¶
func (mr *MockSeedsAPIClientMockRecorder) RejectExchange(ctx, in interface{}, opts ...interface{}) *gomock.Call
RejectExchange indicates an expected call of RejectExchange.
func (*MockSeedsAPIClientMockRecorder) TransferSeeds ¶
func (mr *MockSeedsAPIClientMockRecorder) TransferSeeds(ctx, in interface{}, opts ...interface{}) *gomock.Call
TransferSeeds indicates an expected call of TransferSeeds.
type MockSeedsAPIServer ¶
type MockSeedsAPIServer struct {
// contains filtered or unexported fields
}
MockSeedsAPIServer is a mock of SeedsAPIServer interface.
func NewMockSeedsAPIServer ¶
func NewMockSeedsAPIServer(ctrl *gomock.Controller) *MockSeedsAPIServer
NewMockSeedsAPIServer creates a new mock instance.
func (*MockSeedsAPIServer) AcceptExchange ¶
func (m *MockSeedsAPIServer) AcceptExchange(arg0 context.Context, arg1 *v2.AcceptExchangeRequest) (*v2.AcceptExchangeResponse, error)
AcceptExchange mocks base method.
func (*MockSeedsAPIServer) CancelExchange ¶
func (m *MockSeedsAPIServer) CancelExchange(arg0 context.Context, arg1 *v2.CancelExchangeRequest) (*v2.CancelExchangeResponse, error)
CancelExchange mocks base method.
func (*MockSeedsAPIServer) CreateExchangeProposal ¶
func (m *MockSeedsAPIServer) CreateExchangeProposal(arg0 context.Context, arg1 *v2.CreateExchangeProposalRequest) (*v2.CreateExchangeProposalResponse, error)
CreateExchangeProposal mocks base method.
func (*MockSeedsAPIServer) EXPECT ¶
func (m *MockSeedsAPIServer) EXPECT() *MockSeedsAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSeedsAPIServer) GetCircleSeeds ¶
func (m *MockSeedsAPIServer) GetCircleSeeds(arg0 context.Context, arg1 *v2.GetCircleSeedsRequest) (*v2.GetCircleSeedsResponse, error)
GetCircleSeeds mocks base method.
func (*MockSeedsAPIServer) GetExchange ¶
func (m *MockSeedsAPIServer) GetExchange(arg0 context.Context, arg1 *v2.GetExchangeRequest) (*v2.GetExchangeResponse, error)
GetExchange mocks base method.
func (*MockSeedsAPIServer) GetUserMelons ¶
func (m *MockSeedsAPIServer) GetUserMelons(arg0 context.Context, arg1 *v2.GetUserMelonsRequest) (*v2.GetUserMelonsResponse, error)
GetUserMelons mocks base method.
func (*MockSeedsAPIServer) GetUserSeeds ¶
func (m *MockSeedsAPIServer) GetUserSeeds(arg0 context.Context, arg1 *v2.GetUserSeedsRequest) (*v2.GetUserSeedsResponse, error)
GetUserSeeds mocks base method.
func (*MockSeedsAPIServer) GetUserSeedsInCircle ¶
func (m *MockSeedsAPIServer) GetUserSeedsInCircle(arg0 context.Context, arg1 *v2.GetUserSeedsInCircleRequest) (*v2.GetUserSeedsInCircleResponse, error)
GetUserSeedsInCircle mocks base method.
func (*MockSeedsAPIServer) RejectExchange ¶
func (m *MockSeedsAPIServer) RejectExchange(arg0 context.Context, arg1 *v2.RejectExchangeRequest) (*v2.RejectExchangeResponse, error)
RejectExchange mocks base method.
func (*MockSeedsAPIServer) TransferSeeds ¶
func (m *MockSeedsAPIServer) TransferSeeds(arg0 context.Context, arg1 *v2.TransferSeedsRequest) (*v2.TransferSeedsResponse, error)
TransferSeeds mocks base method.
type MockSeedsAPIServerMockRecorder ¶
type MockSeedsAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockSeedsAPIServerMockRecorder is the mock recorder for MockSeedsAPIServer.
func (*MockSeedsAPIServerMockRecorder) AcceptExchange ¶
func (mr *MockSeedsAPIServerMockRecorder) AcceptExchange(arg0, arg1 interface{}) *gomock.Call
AcceptExchange indicates an expected call of AcceptExchange.
func (*MockSeedsAPIServerMockRecorder) CancelExchange ¶
func (mr *MockSeedsAPIServerMockRecorder) CancelExchange(arg0, arg1 interface{}) *gomock.Call
CancelExchange indicates an expected call of CancelExchange.
func (*MockSeedsAPIServerMockRecorder) CreateExchangeProposal ¶
func (mr *MockSeedsAPIServerMockRecorder) CreateExchangeProposal(arg0, arg1 interface{}) *gomock.Call
CreateExchangeProposal indicates an expected call of CreateExchangeProposal.
func (*MockSeedsAPIServerMockRecorder) GetCircleSeeds ¶
func (mr *MockSeedsAPIServerMockRecorder) GetCircleSeeds(arg0, arg1 interface{}) *gomock.Call
GetCircleSeeds indicates an expected call of GetCircleSeeds.
func (*MockSeedsAPIServerMockRecorder) GetExchange ¶
func (mr *MockSeedsAPIServerMockRecorder) GetExchange(arg0, arg1 interface{}) *gomock.Call
GetExchange indicates an expected call of GetExchange.
func (*MockSeedsAPIServerMockRecorder) GetUserMelons ¶
func (mr *MockSeedsAPIServerMockRecorder) GetUserMelons(arg0, arg1 interface{}) *gomock.Call
GetUserMelons indicates an expected call of GetUserMelons.
func (*MockSeedsAPIServerMockRecorder) GetUserSeeds ¶
func (mr *MockSeedsAPIServerMockRecorder) GetUserSeeds(arg0, arg1 interface{}) *gomock.Call
GetUserSeeds indicates an expected call of GetUserSeeds.
func (*MockSeedsAPIServerMockRecorder) GetUserSeedsInCircle ¶
func (mr *MockSeedsAPIServerMockRecorder) GetUserSeedsInCircle(arg0, arg1 interface{}) *gomock.Call
GetUserSeedsInCircle indicates an expected call of GetUserSeedsInCircle.
func (*MockSeedsAPIServerMockRecorder) RejectExchange ¶
func (mr *MockSeedsAPIServerMockRecorder) RejectExchange(arg0, arg1 interface{}) *gomock.Call
RejectExchange indicates an expected call of RejectExchange.
func (*MockSeedsAPIServerMockRecorder) TransferSeeds ¶
func (mr *MockSeedsAPIServerMockRecorder) TransferSeeds(arg0, arg1 interface{}) *gomock.Call
TransferSeeds indicates an expected call of TransferSeeds.
type MockUnsafeSeedsAPIServer ¶
type MockUnsafeSeedsAPIServer struct {
// contains filtered or unexported fields
}
MockUnsafeSeedsAPIServer is a mock of UnsafeSeedsAPIServer interface.
func NewMockUnsafeSeedsAPIServer ¶
func NewMockUnsafeSeedsAPIServer(ctrl *gomock.Controller) *MockUnsafeSeedsAPIServer
NewMockUnsafeSeedsAPIServer creates a new mock instance.
func (*MockUnsafeSeedsAPIServer) EXPECT ¶
func (m *MockUnsafeSeedsAPIServer) EXPECT() *MockUnsafeSeedsAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeSeedsAPIServerMockRecorder ¶
type MockUnsafeSeedsAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeSeedsAPIServerMockRecorder is the mock recorder for MockUnsafeSeedsAPIServer.