Documentation
¶
Index ¶
- type NestingClient
- func (_m *NestingClient) Create(ctx context.Context, in *proto.CreateRequest, opts ...grpc.CallOption) (*proto.CreateResponse, error)
- func (_m *NestingClient) Delete(ctx context.Context, in *proto.DeleteRequest, opts ...grpc.CallOption) (*proto.DeleteResponse, error)
- func (_m *NestingClient) EXPECT() *NestingClient_Expecter
- func (_m *NestingClient) Init(ctx context.Context, in *proto.InitRequest, opts ...grpc.CallOption) (*proto.InitResponse, error)
- func (_m *NestingClient) List(ctx context.Context, in *proto.ListRequest, opts ...grpc.CallOption) (*proto.ListResponse, error)
- func (_m *NestingClient) Shutdown(ctx context.Context, in *proto.ShutdownRequest, opts ...grpc.CallOption) (*proto.ShutdownResponse, error)
- type NestingClient_Create_Call
- type NestingClient_Delete_Call
- type NestingClient_Expecter
- func (_e *NestingClient_Expecter) Create(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Create_Call
- func (_e *NestingClient_Expecter) Delete(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Delete_Call
- func (_e *NestingClient_Expecter) Init(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Init_Call
- func (_e *NestingClient_Expecter) List(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_List_Call
- func (_e *NestingClient_Expecter) Shutdown(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Shutdown_Call
- type NestingClient_Init_Call
- func (_c *NestingClient_Init_Call) Return(_a0 *proto.InitResponse, _a1 error) *NestingClient_Init_Call
- func (_c *NestingClient_Init_Call) Run(run func(ctx context.Context, in *proto.InitRequest, opts ...grpc.CallOption)) *NestingClient_Init_Call
- func (_c *NestingClient_Init_Call) RunAndReturn(...) *NestingClient_Init_Call
- type NestingClient_List_Call
- func (_c *NestingClient_List_Call) Return(_a0 *proto.ListResponse, _a1 error) *NestingClient_List_Call
- func (_c *NestingClient_List_Call) Run(run func(ctx context.Context, in *proto.ListRequest, opts ...grpc.CallOption)) *NestingClient_List_Call
- func (_c *NestingClient_List_Call) RunAndReturn(...) *NestingClient_List_Call
- type NestingClient_Shutdown_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NestingClient ¶
NestingClient is an autogenerated mock type for the NestingClient type
func NewNestingClient ¶
func NewNestingClient(t interface {
mock.TestingT
Cleanup(func())
}) *NestingClient
NewNestingClient creates a new instance of NestingClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NestingClient) Create ¶
func (_m *NestingClient) Create(ctx context.Context, in *proto.CreateRequest, opts ...grpc.CallOption) (*proto.CreateResponse, error)
Create provides a mock function with given fields: ctx, in, opts
func (*NestingClient) Delete ¶
func (_m *NestingClient) Delete(ctx context.Context, in *proto.DeleteRequest, opts ...grpc.CallOption) (*proto.DeleteResponse, error)
Delete provides a mock function with given fields: ctx, in, opts
func (*NestingClient) EXPECT ¶
func (_m *NestingClient) EXPECT() *NestingClient_Expecter
func (*NestingClient) Init ¶
func (_m *NestingClient) Init(ctx context.Context, in *proto.InitRequest, opts ...grpc.CallOption) (*proto.InitResponse, error)
Init provides a mock function with given fields: ctx, in, opts
func (*NestingClient) List ¶
func (_m *NestingClient) List(ctx context.Context, in *proto.ListRequest, opts ...grpc.CallOption) (*proto.ListResponse, error)
List provides a mock function with given fields: ctx, in, opts
func (*NestingClient) Shutdown ¶
func (_m *NestingClient) Shutdown(ctx context.Context, in *proto.ShutdownRequest, opts ...grpc.CallOption) (*proto.ShutdownResponse, error)
Shutdown provides a mock function with given fields: ctx, in, opts
type NestingClient_Create_Call ¶
NestingClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*NestingClient_Create_Call) Return ¶
func (_c *NestingClient_Create_Call) Return(_a0 *proto.CreateResponse, _a1 error) *NestingClient_Create_Call
func (*NestingClient_Create_Call) Run ¶
func (_c *NestingClient_Create_Call) Run(run func(ctx context.Context, in *proto.CreateRequest, opts ...grpc.CallOption)) *NestingClient_Create_Call
func (*NestingClient_Create_Call) RunAndReturn ¶ added in v0.3.0
func (_c *NestingClient_Create_Call) RunAndReturn(run func(context.Context, *proto.CreateRequest, ...grpc.CallOption) (*proto.CreateResponse, error)) *NestingClient_Create_Call
type NestingClient_Delete_Call ¶
NestingClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*NestingClient_Delete_Call) Return ¶
func (_c *NestingClient_Delete_Call) Return(_a0 *proto.DeleteResponse, _a1 error) *NestingClient_Delete_Call
func (*NestingClient_Delete_Call) Run ¶
func (_c *NestingClient_Delete_Call) Run(run func(ctx context.Context, in *proto.DeleteRequest, opts ...grpc.CallOption)) *NestingClient_Delete_Call
func (*NestingClient_Delete_Call) RunAndReturn ¶ added in v0.3.0
func (_c *NestingClient_Delete_Call) RunAndReturn(run func(context.Context, *proto.DeleteRequest, ...grpc.CallOption) (*proto.DeleteResponse, error)) *NestingClient_Delete_Call
type NestingClient_Expecter ¶
type NestingClient_Expecter struct {
// contains filtered or unexported fields
}
func (*NestingClient_Expecter) Create ¶
func (_e *NestingClient_Expecter) Create(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- in *proto.CreateRequest
- opts ...grpc.CallOption
func (*NestingClient_Expecter) Delete ¶
func (_e *NestingClient_Expecter) Delete(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- in *proto.DeleteRequest
- opts ...grpc.CallOption
func (*NestingClient_Expecter) Init ¶
func (_e *NestingClient_Expecter) Init(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Init_Call
Init is a helper method to define mock.On call
- ctx context.Context
- in *proto.InitRequest
- opts ...grpc.CallOption
func (*NestingClient_Expecter) List ¶
func (_e *NestingClient_Expecter) List(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- in *proto.ListRequest
- opts ...grpc.CallOption
func (*NestingClient_Expecter) Shutdown ¶
func (_e *NestingClient_Expecter) Shutdown(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Shutdown_Call
Shutdown is a helper method to define mock.On call
- ctx context.Context
- in *proto.ShutdownRequest
- opts ...grpc.CallOption
type NestingClient_Init_Call ¶
NestingClient_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*NestingClient_Init_Call) Return ¶
func (_c *NestingClient_Init_Call) Return(_a0 *proto.InitResponse, _a1 error) *NestingClient_Init_Call
func (*NestingClient_Init_Call) Run ¶
func (_c *NestingClient_Init_Call) Run(run func(ctx context.Context, in *proto.InitRequest, opts ...grpc.CallOption)) *NestingClient_Init_Call
func (*NestingClient_Init_Call) RunAndReturn ¶ added in v0.3.0
func (_c *NestingClient_Init_Call) RunAndReturn(run func(context.Context, *proto.InitRequest, ...grpc.CallOption) (*proto.InitResponse, error)) *NestingClient_Init_Call
type NestingClient_List_Call ¶
NestingClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*NestingClient_List_Call) Return ¶
func (_c *NestingClient_List_Call) Return(_a0 *proto.ListResponse, _a1 error) *NestingClient_List_Call
func (*NestingClient_List_Call) Run ¶
func (_c *NestingClient_List_Call) Run(run func(ctx context.Context, in *proto.ListRequest, opts ...grpc.CallOption)) *NestingClient_List_Call
func (*NestingClient_List_Call) RunAndReturn ¶ added in v0.3.0
func (_c *NestingClient_List_Call) RunAndReturn(run func(context.Context, *proto.ListRequest, ...grpc.CallOption) (*proto.ListResponse, error)) *NestingClient_List_Call
type NestingClient_Shutdown_Call ¶
NestingClient_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*NestingClient_Shutdown_Call) Return ¶
func (_c *NestingClient_Shutdown_Call) Return(_a0 *proto.ShutdownResponse, _a1 error) *NestingClient_Shutdown_Call
func (*NestingClient_Shutdown_Call) Run ¶
func (_c *NestingClient_Shutdown_Call) Run(run func(ctx context.Context, in *proto.ShutdownRequest, opts ...grpc.CallOption)) *NestingClient_Shutdown_Call
func (*NestingClient_Shutdown_Call) RunAndReturn ¶ added in v0.3.0
func (_c *NestingClient_Shutdown_Call) RunAndReturn(run func(context.Context, *proto.ShutdownRequest, ...grpc.CallOption) (*proto.ShutdownResponse, error)) *NestingClient_Shutdown_Call