Documentation
¶
Overview ¶
Package mockitem is a generated GoMock package.
Index ¶
- type MockCatalogServiceClient
- func (m *MockCatalogServiceClient) EXPECT() *MockCatalogServiceClientMockRecorder
- func (m *MockCatalogServiceClient) Get(ctx context.Context, in *item.GetRequest, opts ...grpc.CallOption) (*item.GetResponse, error)
- func (m *MockCatalogServiceClient) List(ctx context.Context, in *item.ListRequest, opts ...grpc.CallOption) (*item.ListResponse, error)
- func (m *MockCatalogServiceClient) ListAvailable(ctx context.Context, in *item.ListAvailableRequest, opts ...grpc.CallOption) (*item.ListAvailableResponse, error)
- func (m *MockCatalogServiceClient) UpdateItem(ctx context.Context, in *item.UpdateItemRequest, opts ...grpc.CallOption) (*item.UpdateItemResponse, error)
- type MockCatalogServiceClientMockRecorder
- func (mr *MockCatalogServiceClientMockRecorder) Get(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockCatalogServiceClientMockRecorder) List(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockCatalogServiceClientMockRecorder) ListAvailable(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockCatalogServiceClientMockRecorder) UpdateItem(ctx, in any, opts ...any) *gomock.Call
- type MockCatalogServiceServer
- func (m *MockCatalogServiceServer) EXPECT() *MockCatalogServiceServerMockRecorder
- func (m *MockCatalogServiceServer) Get(arg0 context.Context, arg1 *item.GetRequest) (*item.GetResponse, error)
- func (m *MockCatalogServiceServer) List(arg0 context.Context, arg1 *item.ListRequest) (*item.ListResponse, error)
- func (m *MockCatalogServiceServer) ListAvailable(arg0 context.Context, arg1 *item.ListAvailableRequest) (*item.ListAvailableResponse, error)
- func (m *MockCatalogServiceServer) UpdateItem(arg0 context.Context, arg1 *item.UpdateItemRequest) (*item.UpdateItemResponse, error)
- type MockCatalogServiceServerMockRecorder
- func (mr *MockCatalogServiceServerMockRecorder) Get(arg0, arg1 any) *gomock.Call
- func (mr *MockCatalogServiceServerMockRecorder) List(arg0, arg1 any) *gomock.Call
- func (mr *MockCatalogServiceServerMockRecorder) ListAvailable(arg0, arg1 any) *gomock.Call
- func (mr *MockCatalogServiceServerMockRecorder) UpdateItem(arg0, arg1 any) *gomock.Call
- type MockUnsafeCatalogServiceServer
- type MockUnsafeCatalogServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCatalogServiceClient ¶
type MockCatalogServiceClient struct {
// contains filtered or unexported fields
}
MockCatalogServiceClient is a mock of CatalogServiceClient interface.
func NewMockCatalogServiceClient ¶
func NewMockCatalogServiceClient(ctrl *gomock.Controller) *MockCatalogServiceClient
NewMockCatalogServiceClient creates a new mock instance.
func (*MockCatalogServiceClient) EXPECT ¶
func (m *MockCatalogServiceClient) EXPECT() *MockCatalogServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCatalogServiceClient) Get ¶
func (m *MockCatalogServiceClient) Get(ctx context.Context, in *item.GetRequest, opts ...grpc.CallOption) (*item.GetResponse, error)
Get mocks base method.
func (*MockCatalogServiceClient) List ¶
func (m *MockCatalogServiceClient) List(ctx context.Context, in *item.ListRequest, opts ...grpc.CallOption) (*item.ListResponse, error)
List mocks base method.
func (*MockCatalogServiceClient) ListAvailable ¶
func (m *MockCatalogServiceClient) ListAvailable(ctx context.Context, in *item.ListAvailableRequest, opts ...grpc.CallOption) (*item.ListAvailableResponse, error)
ListAvailable mocks base method.
func (*MockCatalogServiceClient) UpdateItem ¶
func (m *MockCatalogServiceClient) UpdateItem(ctx context.Context, in *item.UpdateItemRequest, opts ...grpc.CallOption) (*item.UpdateItemResponse, error)
UpdateItem mocks base method.
type MockCatalogServiceClientMockRecorder ¶
type MockCatalogServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCatalogServiceClientMockRecorder is the mock recorder for MockCatalogServiceClient.
func (*MockCatalogServiceClientMockRecorder) Get ¶
func (mr *MockCatalogServiceClientMockRecorder) Get(ctx, in any, opts ...any) *gomock.Call
Get indicates an expected call of Get.
func (*MockCatalogServiceClientMockRecorder) List ¶
func (mr *MockCatalogServiceClientMockRecorder) List(ctx, in any, opts ...any) *gomock.Call
List indicates an expected call of List.
func (*MockCatalogServiceClientMockRecorder) ListAvailable ¶
func (mr *MockCatalogServiceClientMockRecorder) ListAvailable(ctx, in any, opts ...any) *gomock.Call
ListAvailable indicates an expected call of ListAvailable.
func (*MockCatalogServiceClientMockRecorder) UpdateItem ¶
func (mr *MockCatalogServiceClientMockRecorder) UpdateItem(ctx, in any, opts ...any) *gomock.Call
UpdateItem indicates an expected call of UpdateItem.
type MockCatalogServiceServer ¶
type MockCatalogServiceServer struct {
// contains filtered or unexported fields
}
MockCatalogServiceServer is a mock of CatalogServiceServer interface.
func NewMockCatalogServiceServer ¶
func NewMockCatalogServiceServer(ctrl *gomock.Controller) *MockCatalogServiceServer
NewMockCatalogServiceServer creates a new mock instance.
func (*MockCatalogServiceServer) EXPECT ¶
func (m *MockCatalogServiceServer) EXPECT() *MockCatalogServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCatalogServiceServer) Get ¶
func (m *MockCatalogServiceServer) Get(arg0 context.Context, arg1 *item.GetRequest) (*item.GetResponse, error)
Get mocks base method.
func (*MockCatalogServiceServer) List ¶
func (m *MockCatalogServiceServer) List(arg0 context.Context, arg1 *item.ListRequest) (*item.ListResponse, error)
List mocks base method.
func (*MockCatalogServiceServer) ListAvailable ¶
func (m *MockCatalogServiceServer) ListAvailable(arg0 context.Context, arg1 *item.ListAvailableRequest) (*item.ListAvailableResponse, error)
ListAvailable mocks base method.
func (*MockCatalogServiceServer) UpdateItem ¶
func (m *MockCatalogServiceServer) UpdateItem(arg0 context.Context, arg1 *item.UpdateItemRequest) (*item.UpdateItemResponse, error)
UpdateItem mocks base method.
type MockCatalogServiceServerMockRecorder ¶
type MockCatalogServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockCatalogServiceServerMockRecorder is the mock recorder for MockCatalogServiceServer.
func (*MockCatalogServiceServerMockRecorder) Get ¶
func (mr *MockCatalogServiceServerMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockCatalogServiceServerMockRecorder) List ¶
func (mr *MockCatalogServiceServerMockRecorder) List(arg0, arg1 any) *gomock.Call
List indicates an expected call of List.
func (*MockCatalogServiceServerMockRecorder) ListAvailable ¶
func (mr *MockCatalogServiceServerMockRecorder) ListAvailable(arg0, arg1 any) *gomock.Call
ListAvailable indicates an expected call of ListAvailable.
func (*MockCatalogServiceServerMockRecorder) UpdateItem ¶
func (mr *MockCatalogServiceServerMockRecorder) UpdateItem(arg0, arg1 any) *gomock.Call
UpdateItem indicates an expected call of UpdateItem.
type MockUnsafeCatalogServiceServer ¶
type MockUnsafeCatalogServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeCatalogServiceServer is a mock of UnsafeCatalogServiceServer interface.
func NewMockUnsafeCatalogServiceServer ¶
func NewMockUnsafeCatalogServiceServer(ctrl *gomock.Controller) *MockUnsafeCatalogServiceServer
NewMockUnsafeCatalogServiceServer creates a new mock instance.
func (*MockUnsafeCatalogServiceServer) EXPECT ¶
func (m *MockUnsafeCatalogServiceServer) EXPECT() *MockUnsafeCatalogServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeCatalogServiceServerMockRecorder ¶
type MockUnsafeCatalogServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeCatalogServiceServerMockRecorder is the mock recorder for MockUnsafeCatalogServiceServer.