Documentation ¶
Index ¶
- type CakesServiceClient
- func (_m *CakesServiceClient) CreateCake(ctx context.Context, in *cakesv1.CreateCakeRequest, opts ...grpc.CallOption) (*cakesv1.CreateCakeResponse, error)
- func (_m *CakesServiceClient) DeleteCake(ctx context.Context, in *cakesv1.DeleteCakeRequest, opts ...grpc.CallOption) (*cakesv1.DeleteCakeResponse, error)
- func (_m *CakesServiceClient) GetCake(ctx context.Context, in *cakesv1.GetCakeRequest, opts ...grpc.CallOption) (*cakesv1.GetCakeResponse, error)
- func (_m *CakesServiceClient) ListCakes(ctx context.Context, in *cakesv1.ListCakesRequest, opts ...grpc.CallOption) (*cakesv1.ListCakesResponse, error)
- func (_m *CakesServiceClient) UpdateCake(ctx context.Context, in *cakesv1.UpdateCakeRequest, opts ...grpc.CallOption) (*cakesv1.UpdateCakeResponse, error)
- type CakesServiceServer
- func (_m *CakesServiceServer) CreateCake(_a0 context.Context, _a1 *cakesv1.CreateCakeRequest) (*cakesv1.CreateCakeResponse, error)
- func (_m *CakesServiceServer) DeleteCake(_a0 context.Context, _a1 *cakesv1.DeleteCakeRequest) (*cakesv1.DeleteCakeResponse, error)
- func (_m *CakesServiceServer) GetCake(_a0 context.Context, _a1 *cakesv1.GetCakeRequest) (*cakesv1.GetCakeResponse, error)
- func (_m *CakesServiceServer) ListCakes(_a0 context.Context, _a1 *cakesv1.ListCakesRequest) (*cakesv1.ListCakesResponse, error)
- func (_m *CakesServiceServer) UpdateCake(_a0 context.Context, _a1 *cakesv1.UpdateCakeRequest) (*cakesv1.UpdateCakeResponse, error)
- type UnsafeCakesServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CakesServiceClient ¶
CakesServiceClient is an autogenerated mock type for the CakesServiceClient type
func NewCakesServiceClient ¶
func NewCakesServiceClient(t mockConstructorTestingTNewCakesServiceClient) *CakesServiceClient
NewCakesServiceClient creates a new instance of CakesServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CakesServiceClient) CreateCake ¶
func (_m *CakesServiceClient) CreateCake(ctx context.Context, in *cakesv1.CreateCakeRequest, opts ...grpc.CallOption) (*cakesv1.CreateCakeResponse, error)
CreateCake provides a mock function with given fields: ctx, in, opts
func (*CakesServiceClient) DeleteCake ¶
func (_m *CakesServiceClient) DeleteCake(ctx context.Context, in *cakesv1.DeleteCakeRequest, opts ...grpc.CallOption) (*cakesv1.DeleteCakeResponse, error)
DeleteCake provides a mock function with given fields: ctx, in, opts
func (*CakesServiceClient) GetCake ¶
func (_m *CakesServiceClient) GetCake(ctx context.Context, in *cakesv1.GetCakeRequest, opts ...grpc.CallOption) (*cakesv1.GetCakeResponse, error)
GetCake provides a mock function with given fields: ctx, in, opts
func (*CakesServiceClient) ListCakes ¶
func (_m *CakesServiceClient) ListCakes(ctx context.Context, in *cakesv1.ListCakesRequest, opts ...grpc.CallOption) (*cakesv1.ListCakesResponse, error)
ListCakes provides a mock function with given fields: ctx, in, opts
func (*CakesServiceClient) UpdateCake ¶
func (_m *CakesServiceClient) UpdateCake(ctx context.Context, in *cakesv1.UpdateCakeRequest, opts ...grpc.CallOption) (*cakesv1.UpdateCakeResponse, error)
UpdateCake provides a mock function with given fields: ctx, in, opts
type CakesServiceServer ¶
CakesServiceServer is an autogenerated mock type for the CakesServiceServer type
func NewCakesServiceServer ¶
func NewCakesServiceServer(t mockConstructorTestingTNewCakesServiceServer) *CakesServiceServer
NewCakesServiceServer creates a new instance of CakesServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CakesServiceServer) CreateCake ¶
func (_m *CakesServiceServer) CreateCake(_a0 context.Context, _a1 *cakesv1.CreateCakeRequest) (*cakesv1.CreateCakeResponse, error)
CreateCake provides a mock function with given fields: _a0, _a1
func (*CakesServiceServer) DeleteCake ¶
func (_m *CakesServiceServer) DeleteCake(_a0 context.Context, _a1 *cakesv1.DeleteCakeRequest) (*cakesv1.DeleteCakeResponse, error)
DeleteCake provides a mock function with given fields: _a0, _a1
func (*CakesServiceServer) GetCake ¶
func (_m *CakesServiceServer) GetCake(_a0 context.Context, _a1 *cakesv1.GetCakeRequest) (*cakesv1.GetCakeResponse, error)
GetCake provides a mock function with given fields: _a0, _a1
func (*CakesServiceServer) ListCakes ¶
func (_m *CakesServiceServer) ListCakes(_a0 context.Context, _a1 *cakesv1.ListCakesRequest) (*cakesv1.ListCakesResponse, error)
ListCakes provides a mock function with given fields: _a0, _a1
func (*CakesServiceServer) UpdateCake ¶
func (_m *CakesServiceServer) UpdateCake(_a0 context.Context, _a1 *cakesv1.UpdateCakeRequest) (*cakesv1.UpdateCakeResponse, error)
UpdateCake provides a mock function with given fields: _a0, _a1
type UnsafeCakesServiceServer ¶
UnsafeCakesServiceServer is an autogenerated mock type for the UnsafeCakesServiceServer type
func NewUnsafeCakesServiceServer ¶
func NewUnsafeCakesServiceServer(t mockConstructorTestingTNewUnsafeCakesServiceServer) *UnsafeCakesServiceServer
NewUnsafeCakesServiceServer creates a new instance of UnsafeCakesServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.