Documentation ¶
Overview ¶
Package slice_mock is a generated GoMock package.
Index ¶
- type MockSliceAPIClient
- func (m *MockSliceAPIClient) AcceptInvitation(ctx context.Context, in *v1.AcceptInvitationRequest, opts ...grpc.CallOption) (*v1.AcceptInvitationResponse, error)
- func (m *MockSliceAPIClient) Create(ctx context.Context, in *v1.CreateRequest, opts ...grpc.CallOption) (*v1.CreateResponse, error)
- func (m *MockSliceAPIClient) DeclineInvitation(ctx context.Context, in *v1.DeclineInvitationRequest, opts ...grpc.CallOption) (*v1.DeclineInvitationResponse, error)
- func (m *MockSliceAPIClient) DeleteSlice(ctx context.Context, in *v1.DeleteSliceRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockSliceAPIClient) EXPECT() *MockSliceAPIClientMockRecorder
- func (m *MockSliceAPIClient) GetByID(ctx context.Context, in *v1.GetByIdRequest, opts ...grpc.CallOption) (*v1.GetByIdResponse, error)
- func (m *MockSliceAPIClient) GetMembers(ctx context.Context, in *v1.GetMembersRequest, opts ...grpc.CallOption) (*v1.GetMembersResponse, error)
- func (m *MockSliceAPIClient) InviteUsersToSlice(ctx context.Context, in *v1.InviteUsersToSliceRequest, opts ...grpc.CallOption) (*v1.InviteUsersToSliceResponse, error)
- func (m *MockSliceAPIClient) Join(ctx context.Context, in *v1.JoinRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockSliceAPIClient) Leave(ctx context.Context, in *v1.LeaveRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockSliceAPIClient) RemoveUsersFromSlice(ctx context.Context, in *v1.RemoveUsersFromSliceRequest, ...) (*v1.RemoveUsersFromSliceResponse, error)
- func (m *MockSliceAPIClient) SlicesConnection(ctx context.Context, in *v1.SlicesConnectionRequest, opts ...grpc.CallOption) (*v1.SlicesConnectionResponse, error)
- func (m *MockSliceAPIClient) Update(ctx context.Context, in *v1.UpdateRequest, opts ...grpc.CallOption) (*v1.UpdateResponse, error)
- type MockSliceAPIClientMockRecorder
- func (mr *MockSliceAPIClientMockRecorder) AcceptInvitation(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) DeclineInvitation(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) DeleteSlice(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) GetByID(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) GetMembers(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) InviteUsersToSlice(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) Join(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) Leave(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) RemoveUsersFromSlice(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) SlicesConnection(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSliceAPIClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockSliceAPIServer
- func (m *MockSliceAPIServer) AcceptInvitation(arg0 context.Context, arg1 *v1.AcceptInvitationRequest) (*v1.AcceptInvitationResponse, error)
- func (m *MockSliceAPIServer) Create(arg0 context.Context, arg1 *v1.CreateRequest) (*v1.CreateResponse, error)
- func (m *MockSliceAPIServer) DeclineInvitation(arg0 context.Context, arg1 *v1.DeclineInvitationRequest) (*v1.DeclineInvitationResponse, error)
- func (m *MockSliceAPIServer) DeleteSlice(arg0 context.Context, arg1 *v1.DeleteSliceRequest) (*v1.Empty, error)
- func (m *MockSliceAPIServer) EXPECT() *MockSliceAPIServerMockRecorder
- func (m *MockSliceAPIServer) GetByID(arg0 context.Context, arg1 *v1.GetByIdRequest) (*v1.GetByIdResponse, error)
- func (m *MockSliceAPIServer) GetMembers(arg0 context.Context, arg1 *v1.GetMembersRequest) (*v1.GetMembersResponse, error)
- func (m *MockSliceAPIServer) InviteUsersToSlice(arg0 context.Context, arg1 *v1.InviteUsersToSliceRequest) (*v1.InviteUsersToSliceResponse, error)
- func (m *MockSliceAPIServer) Join(arg0 context.Context, arg1 *v1.JoinRequest) (*v1.Empty, error)
- func (m *MockSliceAPIServer) Leave(arg0 context.Context, arg1 *v1.LeaveRequest) (*v1.Empty, error)
- func (m *MockSliceAPIServer) RemoveUsersFromSlice(arg0 context.Context, arg1 *v1.RemoveUsersFromSliceRequest) (*v1.RemoveUsersFromSliceResponse, error)
- func (m *MockSliceAPIServer) SlicesConnection(arg0 context.Context, arg1 *v1.SlicesConnectionRequest) (*v1.SlicesConnectionResponse, error)
- func (m *MockSliceAPIServer) Update(arg0 context.Context, arg1 *v1.UpdateRequest) (*v1.UpdateResponse, error)
- type MockSliceAPIServerMockRecorder
- func (mr *MockSliceAPIServerMockRecorder) AcceptInvitation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) DeclineInvitation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) DeleteSlice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) GetMembers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) InviteUsersToSlice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) Join(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) Leave(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) RemoveUsersFromSlice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) SlicesConnection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSliceAPIServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeSliceAPIServer
- type MockUnsafeSliceAPIServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSliceAPIClient ¶
type MockSliceAPIClient struct {
// contains filtered or unexported fields
}
MockSliceAPIClient is a mock of SliceAPIClient interface.
func NewMockSliceAPIClient ¶
func NewMockSliceAPIClient(ctrl *gomock.Controller) *MockSliceAPIClient
NewMockSliceAPIClient creates a new mock instance.
func (*MockSliceAPIClient) AcceptInvitation ¶
func (m *MockSliceAPIClient) AcceptInvitation(ctx context.Context, in *v1.AcceptInvitationRequest, opts ...grpc.CallOption) (*v1.AcceptInvitationResponse, error)
AcceptInvitation mocks base method.
func (*MockSliceAPIClient) Create ¶
func (m *MockSliceAPIClient) Create(ctx context.Context, in *v1.CreateRequest, opts ...grpc.CallOption) (*v1.CreateResponse, error)
Create mocks base method.
func (*MockSliceAPIClient) DeclineInvitation ¶
func (m *MockSliceAPIClient) DeclineInvitation(ctx context.Context, in *v1.DeclineInvitationRequest, opts ...grpc.CallOption) (*v1.DeclineInvitationResponse, error)
DeclineInvitation mocks base method.
func (*MockSliceAPIClient) DeleteSlice ¶
func (m *MockSliceAPIClient) DeleteSlice(ctx context.Context, in *v1.DeleteSliceRequest, opts ...grpc.CallOption) (*v1.Empty, error)
DeleteSlice mocks base method.
func (*MockSliceAPIClient) EXPECT ¶
func (m *MockSliceAPIClient) EXPECT() *MockSliceAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSliceAPIClient) GetByID ¶
func (m *MockSliceAPIClient) GetByID(ctx context.Context, in *v1.GetByIdRequest, opts ...grpc.CallOption) (*v1.GetByIdResponse, error)
GetByID mocks base method.
func (*MockSliceAPIClient) GetMembers ¶
func (m *MockSliceAPIClient) GetMembers(ctx context.Context, in *v1.GetMembersRequest, opts ...grpc.CallOption) (*v1.GetMembersResponse, error)
GetMembers mocks base method.
func (*MockSliceAPIClient) InviteUsersToSlice ¶
func (m *MockSliceAPIClient) InviteUsersToSlice(ctx context.Context, in *v1.InviteUsersToSliceRequest, opts ...grpc.CallOption) (*v1.InviteUsersToSliceResponse, error)
InviteUsersToSlice mocks base method.
func (*MockSliceAPIClient) Join ¶
func (m *MockSliceAPIClient) Join(ctx context.Context, in *v1.JoinRequest, opts ...grpc.CallOption) (*v1.Empty, error)
Join mocks base method.
func (*MockSliceAPIClient) Leave ¶
func (m *MockSliceAPIClient) Leave(ctx context.Context, in *v1.LeaveRequest, opts ...grpc.CallOption) (*v1.Empty, error)
Leave mocks base method.
func (*MockSliceAPIClient) RemoveUsersFromSlice ¶
func (m *MockSliceAPIClient) RemoveUsersFromSlice(ctx context.Context, in *v1.RemoveUsersFromSliceRequest, opts ...grpc.CallOption) (*v1.RemoveUsersFromSliceResponse, error)
RemoveUsersFromSlice mocks base method.
func (*MockSliceAPIClient) SlicesConnection ¶
func (m *MockSliceAPIClient) SlicesConnection(ctx context.Context, in *v1.SlicesConnectionRequest, opts ...grpc.CallOption) (*v1.SlicesConnectionResponse, error)
SlicesConnection mocks base method.
func (*MockSliceAPIClient) Update ¶
func (m *MockSliceAPIClient) Update(ctx context.Context, in *v1.UpdateRequest, opts ...grpc.CallOption) (*v1.UpdateResponse, error)
Update mocks base method.
type MockSliceAPIClientMockRecorder ¶
type MockSliceAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSliceAPIClientMockRecorder is the mock recorder for MockSliceAPIClient.
func (*MockSliceAPIClientMockRecorder) AcceptInvitation ¶
func (mr *MockSliceAPIClientMockRecorder) AcceptInvitation(ctx, in interface{}, opts ...interface{}) *gomock.Call
AcceptInvitation indicates an expected call of AcceptInvitation.
func (*MockSliceAPIClientMockRecorder) Create ¶
func (mr *MockSliceAPIClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSliceAPIClientMockRecorder) DeclineInvitation ¶
func (mr *MockSliceAPIClientMockRecorder) DeclineInvitation(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeclineInvitation indicates an expected call of DeclineInvitation.
func (*MockSliceAPIClientMockRecorder) DeleteSlice ¶
func (mr *MockSliceAPIClientMockRecorder) DeleteSlice(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteSlice indicates an expected call of DeleteSlice.
func (*MockSliceAPIClientMockRecorder) GetByID ¶
func (mr *MockSliceAPIClientMockRecorder) GetByID(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockSliceAPIClientMockRecorder) GetMembers ¶
func (mr *MockSliceAPIClientMockRecorder) GetMembers(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetMembers indicates an expected call of GetMembers.
func (*MockSliceAPIClientMockRecorder) InviteUsersToSlice ¶
func (mr *MockSliceAPIClientMockRecorder) InviteUsersToSlice(ctx, in interface{}, opts ...interface{}) *gomock.Call
InviteUsersToSlice indicates an expected call of InviteUsersToSlice.
func (*MockSliceAPIClientMockRecorder) Join ¶
func (mr *MockSliceAPIClientMockRecorder) Join(ctx, in interface{}, opts ...interface{}) *gomock.Call
Join indicates an expected call of Join.
func (*MockSliceAPIClientMockRecorder) Leave ¶
func (mr *MockSliceAPIClientMockRecorder) Leave(ctx, in interface{}, opts ...interface{}) *gomock.Call
Leave indicates an expected call of Leave.
func (*MockSliceAPIClientMockRecorder) RemoveUsersFromSlice ¶
func (mr *MockSliceAPIClientMockRecorder) RemoveUsersFromSlice(ctx, in interface{}, opts ...interface{}) *gomock.Call
RemoveUsersFromSlice indicates an expected call of RemoveUsersFromSlice.
func (*MockSliceAPIClientMockRecorder) SlicesConnection ¶
func (mr *MockSliceAPIClientMockRecorder) SlicesConnection(ctx, in interface{}, opts ...interface{}) *gomock.Call
SlicesConnection indicates an expected call of SlicesConnection.
func (*MockSliceAPIClientMockRecorder) Update ¶
func (mr *MockSliceAPIClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockSliceAPIServer ¶
type MockSliceAPIServer struct {
// contains filtered or unexported fields
}
MockSliceAPIServer is a mock of SliceAPIServer interface.
func NewMockSliceAPIServer ¶
func NewMockSliceAPIServer(ctrl *gomock.Controller) *MockSliceAPIServer
NewMockSliceAPIServer creates a new mock instance.
func (*MockSliceAPIServer) AcceptInvitation ¶
func (m *MockSliceAPIServer) AcceptInvitation(arg0 context.Context, arg1 *v1.AcceptInvitationRequest) (*v1.AcceptInvitationResponse, error)
AcceptInvitation mocks base method.
func (*MockSliceAPIServer) Create ¶
func (m *MockSliceAPIServer) Create(arg0 context.Context, arg1 *v1.CreateRequest) (*v1.CreateResponse, error)
Create mocks base method.
func (*MockSliceAPIServer) DeclineInvitation ¶
func (m *MockSliceAPIServer) DeclineInvitation(arg0 context.Context, arg1 *v1.DeclineInvitationRequest) (*v1.DeclineInvitationResponse, error)
DeclineInvitation mocks base method.
func (*MockSliceAPIServer) DeleteSlice ¶
func (m *MockSliceAPIServer) DeleteSlice(arg0 context.Context, arg1 *v1.DeleteSliceRequest) (*v1.Empty, error)
DeleteSlice mocks base method.
func (*MockSliceAPIServer) EXPECT ¶
func (m *MockSliceAPIServer) EXPECT() *MockSliceAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSliceAPIServer) GetByID ¶
func (m *MockSliceAPIServer) GetByID(arg0 context.Context, arg1 *v1.GetByIdRequest) (*v1.GetByIdResponse, error)
GetByID mocks base method.
func (*MockSliceAPIServer) GetMembers ¶
func (m *MockSliceAPIServer) GetMembers(arg0 context.Context, arg1 *v1.GetMembersRequest) (*v1.GetMembersResponse, error)
GetMembers mocks base method.
func (*MockSliceAPIServer) InviteUsersToSlice ¶
func (m *MockSliceAPIServer) InviteUsersToSlice(arg0 context.Context, arg1 *v1.InviteUsersToSliceRequest) (*v1.InviteUsersToSliceResponse, error)
InviteUsersToSlice mocks base method.
func (*MockSliceAPIServer) Join ¶
func (m *MockSliceAPIServer) Join(arg0 context.Context, arg1 *v1.JoinRequest) (*v1.Empty, error)
Join mocks base method.
func (*MockSliceAPIServer) Leave ¶
func (m *MockSliceAPIServer) Leave(arg0 context.Context, arg1 *v1.LeaveRequest) (*v1.Empty, error)
Leave mocks base method.
func (*MockSliceAPIServer) RemoveUsersFromSlice ¶
func (m *MockSliceAPIServer) RemoveUsersFromSlice(arg0 context.Context, arg1 *v1.RemoveUsersFromSliceRequest) (*v1.RemoveUsersFromSliceResponse, error)
RemoveUsersFromSlice mocks base method.
func (*MockSliceAPIServer) SlicesConnection ¶
func (m *MockSliceAPIServer) SlicesConnection(arg0 context.Context, arg1 *v1.SlicesConnectionRequest) (*v1.SlicesConnectionResponse, error)
SlicesConnection mocks base method.
func (*MockSliceAPIServer) Update ¶
func (m *MockSliceAPIServer) Update(arg0 context.Context, arg1 *v1.UpdateRequest) (*v1.UpdateResponse, error)
Update mocks base method.
type MockSliceAPIServerMockRecorder ¶
type MockSliceAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockSliceAPIServerMockRecorder is the mock recorder for MockSliceAPIServer.
func (*MockSliceAPIServerMockRecorder) AcceptInvitation ¶
func (mr *MockSliceAPIServerMockRecorder) AcceptInvitation(arg0, arg1 interface{}) *gomock.Call
AcceptInvitation indicates an expected call of AcceptInvitation.
func (*MockSliceAPIServerMockRecorder) Create ¶
func (mr *MockSliceAPIServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSliceAPIServerMockRecorder) DeclineInvitation ¶
func (mr *MockSliceAPIServerMockRecorder) DeclineInvitation(arg0, arg1 interface{}) *gomock.Call
DeclineInvitation indicates an expected call of DeclineInvitation.
func (*MockSliceAPIServerMockRecorder) DeleteSlice ¶
func (mr *MockSliceAPIServerMockRecorder) DeleteSlice(arg0, arg1 interface{}) *gomock.Call
DeleteSlice indicates an expected call of DeleteSlice.
func (*MockSliceAPIServerMockRecorder) GetByID ¶
func (mr *MockSliceAPIServerMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockSliceAPIServerMockRecorder) GetMembers ¶
func (mr *MockSliceAPIServerMockRecorder) GetMembers(arg0, arg1 interface{}) *gomock.Call
GetMembers indicates an expected call of GetMembers.
func (*MockSliceAPIServerMockRecorder) InviteUsersToSlice ¶
func (mr *MockSliceAPIServerMockRecorder) InviteUsersToSlice(arg0, arg1 interface{}) *gomock.Call
InviteUsersToSlice indicates an expected call of InviteUsersToSlice.
func (*MockSliceAPIServerMockRecorder) Join ¶
func (mr *MockSliceAPIServerMockRecorder) Join(arg0, arg1 interface{}) *gomock.Call
Join indicates an expected call of Join.
func (*MockSliceAPIServerMockRecorder) Leave ¶
func (mr *MockSliceAPIServerMockRecorder) Leave(arg0, arg1 interface{}) *gomock.Call
Leave indicates an expected call of Leave.
func (*MockSliceAPIServerMockRecorder) RemoveUsersFromSlice ¶
func (mr *MockSliceAPIServerMockRecorder) RemoveUsersFromSlice(arg0, arg1 interface{}) *gomock.Call
RemoveUsersFromSlice indicates an expected call of RemoveUsersFromSlice.
func (*MockSliceAPIServerMockRecorder) SlicesConnection ¶
func (mr *MockSliceAPIServerMockRecorder) SlicesConnection(arg0, arg1 interface{}) *gomock.Call
SlicesConnection indicates an expected call of SlicesConnection.
func (*MockSliceAPIServerMockRecorder) Update ¶
func (mr *MockSliceAPIServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockUnsafeSliceAPIServer ¶
type MockUnsafeSliceAPIServer struct {
// contains filtered or unexported fields
}
MockUnsafeSliceAPIServer is a mock of UnsafeSliceAPIServer interface.
func NewMockUnsafeSliceAPIServer ¶
func NewMockUnsafeSliceAPIServer(ctrl *gomock.Controller) *MockUnsafeSliceAPIServer
NewMockUnsafeSliceAPIServer creates a new mock instance.
func (*MockUnsafeSliceAPIServer) EXPECT ¶
func (m *MockUnsafeSliceAPIServer) EXPECT() *MockUnsafeSliceAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeSliceAPIServerMockRecorder ¶
type MockUnsafeSliceAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeSliceAPIServerMockRecorder is the mock recorder for MockUnsafeSliceAPIServer.