Documentation
¶
Index ¶
- type QueryClient
- func (_m *QueryClient) Bid(ctx context.Context, in *v1beta5.QueryBidRequest, opts ...grpc.CallOption) (*v1beta5.QueryBidResponse, error)
- func (_m *QueryClient) Bids(ctx context.Context, in *v1beta5.QueryBidsRequest, opts ...grpc.CallOption) (*v1beta5.QueryBidsResponse, error)
- func (_m *QueryClient) EXPECT() *QueryClient_Expecter
- func (_m *QueryClient) Lease(ctx context.Context, in *v1beta5.QueryLeaseRequest, opts ...grpc.CallOption) (*v1beta5.QueryLeaseResponse, error)
- func (_m *QueryClient) Leases(ctx context.Context, in *v1beta5.QueryLeasesRequest, opts ...grpc.CallOption) (*v1beta5.QueryLeasesResponse, error)
- func (_m *QueryClient) Order(ctx context.Context, in *v1beta5.QueryOrderRequest, opts ...grpc.CallOption) (*v1beta5.QueryOrderResponse, error)
- func (_m *QueryClient) Orders(ctx context.Context, in *v1beta5.QueryOrdersRequest, opts ...grpc.CallOption) (*v1beta5.QueryOrdersResponse, error)
- func (_m *QueryClient) Params(ctx context.Context, in *v1beta5.QueryParamsRequest, opts ...grpc.CallOption) (*v1beta5.QueryParamsResponse, error)
- type QueryClient_Bid_Call
- type QueryClient_Bids_Call
- type QueryClient_Expecter
- func (_e *QueryClient_Expecter) Bid(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Bid_Call
- func (_e *QueryClient_Expecter) Bids(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Bids_Call
- func (_e *QueryClient_Expecter) Lease(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Lease_Call
- func (_e *QueryClient_Expecter) Leases(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Leases_Call
- func (_e *QueryClient_Expecter) Order(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Order_Call
- func (_e *QueryClient_Expecter) Orders(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Orders_Call
- func (_e *QueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Params_Call
- type QueryClient_Lease_Call
- type QueryClient_Leases_Call
- type QueryClient_Order_Call
- type QueryClient_Orders_Call
- type QueryClient_Params_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryClient ¶
QueryClient is an autogenerated mock type for the QueryClient type
func NewQueryClient ¶
func NewQueryClient(t interface {
mock.TestingT
Cleanup(func())
}) *QueryClient
NewQueryClient creates a new instance of QueryClient. 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 (*QueryClient) Bid ¶
func (_m *QueryClient) Bid(ctx context.Context, in *v1beta5.QueryBidRequest, opts ...grpc.CallOption) (*v1beta5.QueryBidResponse, error)
Bid provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Bids ¶
func (_m *QueryClient) Bids(ctx context.Context, in *v1beta5.QueryBidsRequest, opts ...grpc.CallOption) (*v1beta5.QueryBidsResponse, error)
Bids provides a mock function with given fields: ctx, in, opts
func (*QueryClient) EXPECT ¶
func (_m *QueryClient) EXPECT() *QueryClient_Expecter
func (*QueryClient) Lease ¶
func (_m *QueryClient) Lease(ctx context.Context, in *v1beta5.QueryLeaseRequest, opts ...grpc.CallOption) (*v1beta5.QueryLeaseResponse, error)
Lease provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Leases ¶
func (_m *QueryClient) Leases(ctx context.Context, in *v1beta5.QueryLeasesRequest, opts ...grpc.CallOption) (*v1beta5.QueryLeasesResponse, error)
Leases provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Order ¶
func (_m *QueryClient) Order(ctx context.Context, in *v1beta5.QueryOrderRequest, opts ...grpc.CallOption) (*v1beta5.QueryOrderResponse, error)
Order provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Orders ¶
func (_m *QueryClient) Orders(ctx context.Context, in *v1beta5.QueryOrdersRequest, opts ...grpc.CallOption) (*v1beta5.QueryOrdersResponse, error)
Orders provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Params ¶
func (_m *QueryClient) Params(ctx context.Context, in *v1beta5.QueryParamsRequest, opts ...grpc.CallOption) (*v1beta5.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
type QueryClient_Bid_Call ¶
QueryClient_Bid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bid'
func (*QueryClient_Bid_Call) Return ¶
func (_c *QueryClient_Bid_Call) Return(_a0 *v1beta5.QueryBidResponse, _a1 error) *QueryClient_Bid_Call
func (*QueryClient_Bid_Call) Run ¶
func (_c *QueryClient_Bid_Call) Run(run func(ctx context.Context, in *v1beta5.QueryBidRequest, opts ...grpc.CallOption)) *QueryClient_Bid_Call
func (*QueryClient_Bid_Call) RunAndReturn ¶
func (_c *QueryClient_Bid_Call) RunAndReturn(run func(context.Context, *v1beta5.QueryBidRequest, ...grpc.CallOption) (*v1beta5.QueryBidResponse, error)) *QueryClient_Bid_Call
type QueryClient_Bids_Call ¶
QueryClient_Bids_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bids'
func (*QueryClient_Bids_Call) Return ¶
func (_c *QueryClient_Bids_Call) Return(_a0 *v1beta5.QueryBidsResponse, _a1 error) *QueryClient_Bids_Call
func (*QueryClient_Bids_Call) Run ¶
func (_c *QueryClient_Bids_Call) Run(run func(ctx context.Context, in *v1beta5.QueryBidsRequest, opts ...grpc.CallOption)) *QueryClient_Bids_Call
func (*QueryClient_Bids_Call) RunAndReturn ¶
func (_c *QueryClient_Bids_Call) RunAndReturn(run func(context.Context, *v1beta5.QueryBidsRequest, ...grpc.CallOption) (*v1beta5.QueryBidsResponse, error)) *QueryClient_Bids_Call
type QueryClient_Expecter ¶
type QueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryClient_Expecter) Bid ¶
func (_e *QueryClient_Expecter) Bid(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Bid_Call
Bid is a helper method to define mock.On call
- ctx context.Context
- in *v1beta5.QueryBidRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Bids ¶
func (_e *QueryClient_Expecter) Bids(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Bids_Call
Bids is a helper method to define mock.On call
- ctx context.Context
- in *v1beta5.QueryBidsRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Lease ¶
func (_e *QueryClient_Expecter) Lease(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Lease_Call
Lease is a helper method to define mock.On call
- ctx context.Context
- in *v1beta5.QueryLeaseRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Leases ¶
func (_e *QueryClient_Expecter) Leases(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Leases_Call
Leases is a helper method to define mock.On call
- ctx context.Context
- in *v1beta5.QueryLeasesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Order ¶
func (_e *QueryClient_Expecter) Order(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Order_Call
Order is a helper method to define mock.On call
- ctx context.Context
- in *v1beta5.QueryOrderRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Orders ¶
func (_e *QueryClient_Expecter) Orders(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Orders_Call
Orders is a helper method to define mock.On call
- ctx context.Context
- in *v1beta5.QueryOrdersRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Params ¶
func (_e *QueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Params_Call
Params is a helper method to define mock.On call
- ctx context.Context
- in *v1beta5.QueryParamsRequest
- opts ...grpc.CallOption
type QueryClient_Lease_Call ¶
QueryClient_Lease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Lease'
func (*QueryClient_Lease_Call) Return ¶
func (_c *QueryClient_Lease_Call) Return(_a0 *v1beta5.QueryLeaseResponse, _a1 error) *QueryClient_Lease_Call
func (*QueryClient_Lease_Call) Run ¶
func (_c *QueryClient_Lease_Call) Run(run func(ctx context.Context, in *v1beta5.QueryLeaseRequest, opts ...grpc.CallOption)) *QueryClient_Lease_Call
func (*QueryClient_Lease_Call) RunAndReturn ¶
func (_c *QueryClient_Lease_Call) RunAndReturn(run func(context.Context, *v1beta5.QueryLeaseRequest, ...grpc.CallOption) (*v1beta5.QueryLeaseResponse, error)) *QueryClient_Lease_Call
type QueryClient_Leases_Call ¶
QueryClient_Leases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Leases'
func (*QueryClient_Leases_Call) Return ¶
func (_c *QueryClient_Leases_Call) Return(_a0 *v1beta5.QueryLeasesResponse, _a1 error) *QueryClient_Leases_Call
func (*QueryClient_Leases_Call) Run ¶
func (_c *QueryClient_Leases_Call) Run(run func(ctx context.Context, in *v1beta5.QueryLeasesRequest, opts ...grpc.CallOption)) *QueryClient_Leases_Call
func (*QueryClient_Leases_Call) RunAndReturn ¶
func (_c *QueryClient_Leases_Call) RunAndReturn(run func(context.Context, *v1beta5.QueryLeasesRequest, ...grpc.CallOption) (*v1beta5.QueryLeasesResponse, error)) *QueryClient_Leases_Call
type QueryClient_Order_Call ¶
QueryClient_Order_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Order'
func (*QueryClient_Order_Call) Return ¶
func (_c *QueryClient_Order_Call) Return(_a0 *v1beta5.QueryOrderResponse, _a1 error) *QueryClient_Order_Call
func (*QueryClient_Order_Call) Run ¶
func (_c *QueryClient_Order_Call) Run(run func(ctx context.Context, in *v1beta5.QueryOrderRequest, opts ...grpc.CallOption)) *QueryClient_Order_Call
func (*QueryClient_Order_Call) RunAndReturn ¶
func (_c *QueryClient_Order_Call) RunAndReturn(run func(context.Context, *v1beta5.QueryOrderRequest, ...grpc.CallOption) (*v1beta5.QueryOrderResponse, error)) *QueryClient_Order_Call
type QueryClient_Orders_Call ¶
QueryClient_Orders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Orders'
func (*QueryClient_Orders_Call) Return ¶
func (_c *QueryClient_Orders_Call) Return(_a0 *v1beta5.QueryOrdersResponse, _a1 error) *QueryClient_Orders_Call
func (*QueryClient_Orders_Call) Run ¶
func (_c *QueryClient_Orders_Call) Run(run func(ctx context.Context, in *v1beta5.QueryOrdersRequest, opts ...grpc.CallOption)) *QueryClient_Orders_Call
func (*QueryClient_Orders_Call) RunAndReturn ¶
func (_c *QueryClient_Orders_Call) RunAndReturn(run func(context.Context, *v1beta5.QueryOrdersRequest, ...grpc.CallOption) (*v1beta5.QueryOrdersResponse, error)) *QueryClient_Orders_Call
type QueryClient_Params_Call ¶
QueryClient_Params_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Params'
func (*QueryClient_Params_Call) Return ¶
func (_c *QueryClient_Params_Call) Return(_a0 *v1beta5.QueryParamsResponse, _a1 error) *QueryClient_Params_Call
func (*QueryClient_Params_Call) Run ¶
func (_c *QueryClient_Params_Call) Run(run func(ctx context.Context, in *v1beta5.QueryParamsRequest, opts ...grpc.CallOption)) *QueryClient_Params_Call
func (*QueryClient_Params_Call) RunAndReturn ¶
func (_c *QueryClient_Params_Call) RunAndReturn(run func(context.Context, *v1beta5.QueryParamsRequest, ...grpc.CallOption) (*v1beta5.QueryParamsResponse, error)) *QueryClient_Params_Call