Documentation ¶
Overview ¶
Package languages_mock is a generated GoMock package.
Index ¶
- type MockLanguagesServiceClient
- func (m *MockLanguagesServiceClient) AddLanguage(ctx context.Context, in *v1.AddLanguageRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockLanguagesServiceClient) EXPECT() *MockLanguagesServiceClientMockRecorder
- func (m *MockLanguagesServiceClient) ListLanguages(ctx context.Context, in *v1.ListLanguagesRequest, opts ...grpc.CallOption) (*v1.ListLanguagesResponse, error)
- func (m *MockLanguagesServiceClient) UpdateLanguages(ctx context.Context, in *v1.UpdateLanguagesRequest, opts ...grpc.CallOption) (*v1.UpdateLanguagesResponse, error)
- type MockLanguagesServiceClientMockRecorder
- func (mr *MockLanguagesServiceClientMockRecorder) AddLanguage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockLanguagesServiceClientMockRecorder) ListLanguages(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockLanguagesServiceClientMockRecorder) UpdateLanguages(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockLanguagesServiceServer
- func (m *MockLanguagesServiceServer) AddLanguage(arg0 context.Context, arg1 *v1.AddLanguageRequest) (*v1.Empty, error)
- func (m *MockLanguagesServiceServer) EXPECT() *MockLanguagesServiceServerMockRecorder
- func (m *MockLanguagesServiceServer) ListLanguages(arg0 context.Context, arg1 *v1.ListLanguagesRequest) (*v1.ListLanguagesResponse, error)
- func (m *MockLanguagesServiceServer) UpdateLanguages(arg0 context.Context, arg1 *v1.UpdateLanguagesRequest) (*v1.UpdateLanguagesResponse, error)
- type MockLanguagesServiceServerMockRecorder
- func (mr *MockLanguagesServiceServerMockRecorder) AddLanguage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLanguagesServiceServerMockRecorder) ListLanguages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLanguagesServiceServerMockRecorder) UpdateLanguages(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeLanguagesServiceServer
- type MockUnsafeLanguagesServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLanguagesServiceClient ¶
type MockLanguagesServiceClient struct {
// contains filtered or unexported fields
}
MockLanguagesServiceClient is a mock of LanguagesServiceClient interface.
func NewMockLanguagesServiceClient ¶
func NewMockLanguagesServiceClient(ctrl *gomock.Controller) *MockLanguagesServiceClient
NewMockLanguagesServiceClient creates a new mock instance.
func (*MockLanguagesServiceClient) AddLanguage ¶
func (m *MockLanguagesServiceClient) AddLanguage(ctx context.Context, in *v1.AddLanguageRequest, opts ...grpc.CallOption) (*v1.Empty, error)
AddLanguage mocks base method.
func (*MockLanguagesServiceClient) EXPECT ¶
func (m *MockLanguagesServiceClient) EXPECT() *MockLanguagesServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLanguagesServiceClient) ListLanguages ¶
func (m *MockLanguagesServiceClient) ListLanguages(ctx context.Context, in *v1.ListLanguagesRequest, opts ...grpc.CallOption) (*v1.ListLanguagesResponse, error)
ListLanguages mocks base method.
func (*MockLanguagesServiceClient) UpdateLanguages ¶
func (m *MockLanguagesServiceClient) UpdateLanguages(ctx context.Context, in *v1.UpdateLanguagesRequest, opts ...grpc.CallOption) (*v1.UpdateLanguagesResponse, error)
UpdateLanguages mocks base method.
type MockLanguagesServiceClientMockRecorder ¶
type MockLanguagesServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLanguagesServiceClientMockRecorder is the mock recorder for MockLanguagesServiceClient.
func (*MockLanguagesServiceClientMockRecorder) AddLanguage ¶
func (mr *MockLanguagesServiceClientMockRecorder) AddLanguage(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddLanguage indicates an expected call of AddLanguage.
func (*MockLanguagesServiceClientMockRecorder) ListLanguages ¶
func (mr *MockLanguagesServiceClientMockRecorder) ListLanguages(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListLanguages indicates an expected call of ListLanguages.
func (*MockLanguagesServiceClientMockRecorder) UpdateLanguages ¶
func (mr *MockLanguagesServiceClientMockRecorder) UpdateLanguages(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateLanguages indicates an expected call of UpdateLanguages.
type MockLanguagesServiceServer ¶
type MockLanguagesServiceServer struct {
// contains filtered or unexported fields
}
MockLanguagesServiceServer is a mock of LanguagesServiceServer interface.
func NewMockLanguagesServiceServer ¶
func NewMockLanguagesServiceServer(ctrl *gomock.Controller) *MockLanguagesServiceServer
NewMockLanguagesServiceServer creates a new mock instance.
func (*MockLanguagesServiceServer) AddLanguage ¶
func (m *MockLanguagesServiceServer) AddLanguage(arg0 context.Context, arg1 *v1.AddLanguageRequest) (*v1.Empty, error)
AddLanguage mocks base method.
func (*MockLanguagesServiceServer) EXPECT ¶
func (m *MockLanguagesServiceServer) EXPECT() *MockLanguagesServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLanguagesServiceServer) ListLanguages ¶
func (m *MockLanguagesServiceServer) ListLanguages(arg0 context.Context, arg1 *v1.ListLanguagesRequest) (*v1.ListLanguagesResponse, error)
ListLanguages mocks base method.
func (*MockLanguagesServiceServer) UpdateLanguages ¶
func (m *MockLanguagesServiceServer) UpdateLanguages(arg0 context.Context, arg1 *v1.UpdateLanguagesRequest) (*v1.UpdateLanguagesResponse, error)
UpdateLanguages mocks base method.
type MockLanguagesServiceServerMockRecorder ¶
type MockLanguagesServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockLanguagesServiceServerMockRecorder is the mock recorder for MockLanguagesServiceServer.
func (*MockLanguagesServiceServerMockRecorder) AddLanguage ¶
func (mr *MockLanguagesServiceServerMockRecorder) AddLanguage(arg0, arg1 interface{}) *gomock.Call
AddLanguage indicates an expected call of AddLanguage.
func (*MockLanguagesServiceServerMockRecorder) ListLanguages ¶
func (mr *MockLanguagesServiceServerMockRecorder) ListLanguages(arg0, arg1 interface{}) *gomock.Call
ListLanguages indicates an expected call of ListLanguages.
func (*MockLanguagesServiceServerMockRecorder) UpdateLanguages ¶
func (mr *MockLanguagesServiceServerMockRecorder) UpdateLanguages(arg0, arg1 interface{}) *gomock.Call
UpdateLanguages indicates an expected call of UpdateLanguages.
type MockUnsafeLanguagesServiceServer ¶
type MockUnsafeLanguagesServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeLanguagesServiceServer is a mock of UnsafeLanguagesServiceServer interface.
func NewMockUnsafeLanguagesServiceServer ¶
func NewMockUnsafeLanguagesServiceServer(ctrl *gomock.Controller) *MockUnsafeLanguagesServiceServer
NewMockUnsafeLanguagesServiceServer creates a new mock instance.
func (*MockUnsafeLanguagesServiceServer) EXPECT ¶
func (m *MockUnsafeLanguagesServiceServer) EXPECT() *MockUnsafeLanguagesServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeLanguagesServiceServerMockRecorder ¶
type MockUnsafeLanguagesServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeLanguagesServiceServerMockRecorder is the mock recorder for MockUnsafeLanguagesServiceServer.