mocks

package
v0.0.0-...-8f7c90a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CakesServiceClient

type CakesServiceClient struct {
	mock.Mock
}

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

CreateCake provides a mock function with given fields: ctx, in, opts

func (*CakesServiceClient) DeleteCake

DeleteCake provides a mock function with given fields: ctx, in, opts

func (*CakesServiceClient) GetCake

GetCake provides a mock function with given fields: ctx, in, opts

func (*CakesServiceClient) ListCakes

ListCakes provides a mock function with given fields: ctx, in, opts

func (*CakesServiceClient) UpdateCake

UpdateCake provides a mock function with given fields: ctx, in, opts

type CakesServiceServer

type CakesServiceServer struct {
	mock.Mock
}

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

CreateCake provides a mock function with given fields: _a0, _a1

func (*CakesServiceServer) DeleteCake

DeleteCake provides a mock function with given fields: _a0, _a1

func (*CakesServiceServer) GetCake

GetCake provides a mock function with given fields: _a0, _a1

func (*CakesServiceServer) ListCakes

ListCakes provides a mock function with given fields: _a0, _a1

func (*CakesServiceServer) UpdateCake

UpdateCake provides a mock function with given fields: _a0, _a1

type UnsafeCakesServiceServer

type UnsafeCakesServiceServer struct {
	mock.Mock
}

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.

Directories

Path Synopsis
cakes
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL