Documentation ¶
Index ¶
- type Client
- type Client_Expecter
- type Client_Node_Call
- type Client_Query_Call
- type Client_Tx_Call
- type Node
- type Node_Expecter
- type Node_SyncInfo_Call
- type Query
- func (_m *Query) AllProvidersAttributes(ctx context.Context, in *v1beta3.QueryAllProvidersAttributesRequest, ...) (*v1beta3.QueryProvidersResponse, error)
- func (_m *Query) AuditorAttributes(ctx context.Context, in *v1beta3.QueryAuditorAttributesRequest, ...) (*v1beta3.QueryProvidersResponse, error)
- func (_m *Query) Bid(ctx context.Context, in *marketv1beta3.QueryBidRequest, ...) (*marketv1beta3.QueryBidResponse, error)
- func (_m *Query) Bids(ctx context.Context, in *marketv1beta3.QueryBidsRequest, ...) (*marketv1beta3.QueryBidsResponse, error)
- func (_m *Query) Certificates(ctx context.Context, in *certv1beta3.QueryCertificatesRequest, ...) (*certv1beta3.QueryCertificatesResponse, error)
- func (_m *Query) Deployment(ctx context.Context, in *deploymentv1beta3.QueryDeploymentRequest, ...) (*deploymentv1beta3.QueryDeploymentResponse, error)
- func (_m *Query) Deployments(ctx context.Context, in *deploymentv1beta3.QueryDeploymentsRequest, ...) (*deploymentv1beta3.QueryDeploymentsResponse, error)
- func (_m *Query) EXPECT() *Query_Expecter
- func (_m *Query) Group(ctx context.Context, in *deploymentv1beta3.QueryGroupRequest, ...) (*deploymentv1beta3.QueryGroupResponse, error)
- func (_m *Query) Lease(ctx context.Context, in *marketv1beta3.QueryLeaseRequest, ...) (*marketv1beta3.QueryLeaseResponse, error)
- func (_m *Query) Leases(ctx context.Context, in *marketv1beta3.QueryLeasesRequest, ...) (*marketv1beta3.QueryLeasesResponse, error)
- func (_m *Query) Order(ctx context.Context, in *marketv1beta3.QueryOrderRequest, ...) (*marketv1beta3.QueryOrderResponse, error)
- func (_m *Query) Orders(ctx context.Context, in *marketv1beta3.QueryOrdersRequest, ...) (*marketv1beta3.QueryOrdersResponse, error)
- func (_m *Query) Provider(ctx context.Context, in *providerv1beta3.QueryProviderRequest, ...) (*providerv1beta3.QueryProviderResponse, error)
- func (_m *Query) ProviderAttributes(ctx context.Context, in *v1beta3.QueryProviderAttributesRequest, ...) (*v1beta3.QueryProvidersResponse, error)
- func (_m *Query) ProviderAuditorAttributes(ctx context.Context, in *v1beta3.QueryProviderAuditorRequest, ...) (*v1beta3.QueryProvidersResponse, error)
- func (_m *Query) Providers(ctx context.Context, in *providerv1beta3.QueryProvidersRequest, ...) (*providerv1beta3.QueryProvidersResponse, error)
- type Query_AllProvidersAttributes_Call
- func (_c *Query_AllProvidersAttributes_Call) Return(_a0 *v1beta3.QueryProvidersResponse, _a1 error) *Query_AllProvidersAttributes_Call
- func (_c *Query_AllProvidersAttributes_Call) Run(...) *Query_AllProvidersAttributes_Call
- func (_c *Query_AllProvidersAttributes_Call) RunAndReturn(...) *Query_AllProvidersAttributes_Call
- type Query_AuditorAttributes_Call
- func (_c *Query_AuditorAttributes_Call) Return(_a0 *v1beta3.QueryProvidersResponse, _a1 error) *Query_AuditorAttributes_Call
- func (_c *Query_AuditorAttributes_Call) Run(run func(ctx context.Context, in *v1beta3.QueryAuditorAttributesRequest, ...)) *Query_AuditorAttributes_Call
- func (_c *Query_AuditorAttributes_Call) RunAndReturn(...) *Query_AuditorAttributes_Call
- type Query_Bid_Call
- type Query_Bids_Call
- type Query_Certificates_Call
- func (_c *Query_Certificates_Call) Return(_a0 *certv1beta3.QueryCertificatesResponse, _a1 error) *Query_Certificates_Call
- func (_c *Query_Certificates_Call) Run(run func(ctx context.Context, in *certv1beta3.QueryCertificatesRequest, ...)) *Query_Certificates_Call
- func (_c *Query_Certificates_Call) RunAndReturn(...) *Query_Certificates_Call
- type Query_Deployment_Call
- type Query_Deployments_Call
- type Query_Expecter
- func (_e *Query_Expecter) AllProvidersAttributes(ctx interface{}, in interface{}, opts ...interface{}) *Query_AllProvidersAttributes_Call
- func (_e *Query_Expecter) AuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *Query_AuditorAttributes_Call
- func (_e *Query_Expecter) Bid(ctx interface{}, in interface{}, opts ...interface{}) *Query_Bid_Call
- func (_e *Query_Expecter) Bids(ctx interface{}, in interface{}, opts ...interface{}) *Query_Bids_Call
- func (_e *Query_Expecter) Certificates(ctx interface{}, in interface{}, opts ...interface{}) *Query_Certificates_Call
- func (_e *Query_Expecter) Deployment(ctx interface{}, in interface{}, opts ...interface{}) *Query_Deployment_Call
- func (_e *Query_Expecter) Deployments(ctx interface{}, in interface{}, opts ...interface{}) *Query_Deployments_Call
- func (_e *Query_Expecter) Group(ctx interface{}, in interface{}, opts ...interface{}) *Query_Group_Call
- func (_e *Query_Expecter) Lease(ctx interface{}, in interface{}, opts ...interface{}) *Query_Lease_Call
- func (_e *Query_Expecter) Leases(ctx interface{}, in interface{}, opts ...interface{}) *Query_Leases_Call
- func (_e *Query_Expecter) Order(ctx interface{}, in interface{}, opts ...interface{}) *Query_Order_Call
- func (_e *Query_Expecter) Orders(ctx interface{}, in interface{}, opts ...interface{}) *Query_Orders_Call
- func (_e *Query_Expecter) Provider(ctx interface{}, in interface{}, opts ...interface{}) *Query_Provider_Call
- func (_e *Query_Expecter) ProviderAttributes(ctx interface{}, in interface{}, opts ...interface{}) *Query_ProviderAttributes_Call
- func (_e *Query_Expecter) ProviderAuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *Query_ProviderAuditorAttributes_Call
- func (_e *Query_Expecter) Providers(ctx interface{}, in interface{}, opts ...interface{}) *Query_Providers_Call
- type Query_Group_Call
- type Query_Lease_Call
- type Query_Leases_Call
- type Query_Order_Call
- type Query_Orders_Call
- type Query_ProviderAttributes_Call
- func (_c *Query_ProviderAttributes_Call) Return(_a0 *v1beta3.QueryProvidersResponse, _a1 error) *Query_ProviderAttributes_Call
- func (_c *Query_ProviderAttributes_Call) Run(run func(ctx context.Context, in *v1beta3.QueryProviderAttributesRequest, ...)) *Query_ProviderAttributes_Call
- func (_c *Query_ProviderAttributes_Call) RunAndReturn(...) *Query_ProviderAttributes_Call
- type Query_ProviderAuditorAttributes_Call
- func (_c *Query_ProviderAuditorAttributes_Call) Return(_a0 *v1beta3.QueryProvidersResponse, _a1 error) *Query_ProviderAuditorAttributes_Call
- func (_c *Query_ProviderAuditorAttributes_Call) Run(run func(ctx context.Context, in *v1beta3.QueryProviderAuditorRequest, ...)) *Query_ProviderAuditorAttributes_Call
- func (_c *Query_ProviderAuditorAttributes_Call) RunAndReturn(...) *Query_ProviderAuditorAttributes_Call
- type Query_Provider_Call
- func (_c *Query_Provider_Call) Return(_a0 *providerv1beta3.QueryProviderResponse, _a1 error) *Query_Provider_Call
- func (_c *Query_Provider_Call) Run(run func(ctx context.Context, in *providerv1beta3.QueryProviderRequest, ...)) *Query_Provider_Call
- func (_c *Query_Provider_Call) RunAndReturn(...) *Query_Provider_Call
- type Query_Providers_Call
- func (_c *Query_Providers_Call) Return(_a0 *providerv1beta3.QueryProvidersResponse, _a1 error) *Query_Providers_Call
- func (_c *Query_Providers_Call) Run(run func(ctx context.Context, in *providerv1beta3.QueryProvidersRequest, ...)) *Query_Providers_Call
- func (_c *Query_Providers_Call) RunAndReturn(...) *Query_Providers_Call
- type Tx
- type Tx_Broadcast_Call
- type Tx_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) Node ¶
func (_e *Client_Expecter) Node() *Client_Node_Call
Node is a helper method to define mock.On call
func (*Client_Expecter) Query ¶
func (_e *Client_Expecter) Query() *Client_Query_Call
Query is a helper method to define mock.On call
func (*Client_Expecter) Tx ¶
func (_e *Client_Expecter) Tx() *Client_Tx_Call
Tx is a helper method to define mock.On call
type Client_Node_Call ¶
Client_Node_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Node'
func (*Client_Node_Call) Return ¶
func (_c *Client_Node_Call) Return(_a0 v1beta1.Node) *Client_Node_Call
func (*Client_Node_Call) Run ¶
func (_c *Client_Node_Call) Run(run func()) *Client_Node_Call
func (*Client_Node_Call) RunAndReturn ¶
func (_c *Client_Node_Call) RunAndReturn(run func() v1beta1.Node) *Client_Node_Call
type Client_Query_Call ¶
Client_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*Client_Query_Call) Return ¶
func (_c *Client_Query_Call) Return(_a0 v1beta1.Query) *Client_Query_Call
func (*Client_Query_Call) Run ¶
func (_c *Client_Query_Call) Run(run func()) *Client_Query_Call
func (*Client_Query_Call) RunAndReturn ¶
func (_c *Client_Query_Call) RunAndReturn(run func() v1beta1.Query) *Client_Query_Call
type Client_Tx_Call ¶
Client_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'
func (*Client_Tx_Call) Return ¶
func (_c *Client_Tx_Call) Return(_a0 v1beta1.Tx) *Client_Tx_Call
func (*Client_Tx_Call) Run ¶
func (_c *Client_Tx_Call) Run(run func()) *Client_Tx_Call
func (*Client_Tx_Call) RunAndReturn ¶
func (_c *Client_Tx_Call) RunAndReturn(run func() v1beta1.Tx) *Client_Tx_Call
type Node ¶
Node is an autogenerated mock type for the Node type
func NewNode ¶
NewNode creates a new instance of Node. 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 (*Node) EXPECT ¶
func (_m *Node) EXPECT() *Node_Expecter
type Node_Expecter ¶
type Node_Expecter struct {
// contains filtered or unexported fields
}
func (*Node_Expecter) SyncInfo ¶
func (_e *Node_Expecter) SyncInfo(ctx interface{}) *Node_SyncInfo_Call
SyncInfo is a helper method to define mock.On call
- ctx context.Context
type Node_SyncInfo_Call ¶
Node_SyncInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncInfo'
func (*Node_SyncInfo_Call) Return ¶
func (_c *Node_SyncInfo_Call) Return(_a0 *coretypes.SyncInfo, _a1 error) *Node_SyncInfo_Call
func (*Node_SyncInfo_Call) Run ¶
func (_c *Node_SyncInfo_Call) Run(run func(ctx context.Context)) *Node_SyncInfo_Call
func (*Node_SyncInfo_Call) RunAndReturn ¶
func (_c *Node_SyncInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.SyncInfo, error)) *Node_SyncInfo_Call
type Query ¶
Query is an autogenerated mock type for the Query type
func NewQuery ¶
NewQuery creates a new instance of Query. 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 (*Query) AllProvidersAttributes ¶
func (_m *Query) AllProvidersAttributes(ctx context.Context, in *v1beta3.QueryAllProvidersAttributesRequest, opts ...grpc.CallOption) (*v1beta3.QueryProvidersResponse, error)
AllProvidersAttributes provides a mock function with given fields: ctx, in, opts
func (*Query) AuditorAttributes ¶
func (_m *Query) AuditorAttributes(ctx context.Context, in *v1beta3.QueryAuditorAttributesRequest, opts ...grpc.CallOption) (*v1beta3.QueryProvidersResponse, error)
AuditorAttributes provides a mock function with given fields: ctx, in, opts
func (*Query) Bid ¶
func (_m *Query) Bid(ctx context.Context, in *marketv1beta3.QueryBidRequest, opts ...grpc.CallOption) (*marketv1beta3.QueryBidResponse, error)
Bid provides a mock function with given fields: ctx, in, opts
func (*Query) Bids ¶
func (_m *Query) Bids(ctx context.Context, in *marketv1beta3.QueryBidsRequest, opts ...grpc.CallOption) (*marketv1beta3.QueryBidsResponse, error)
Bids provides a mock function with given fields: ctx, in, opts
func (*Query) Certificates ¶
func (_m *Query) Certificates(ctx context.Context, in *certv1beta3.QueryCertificatesRequest, opts ...grpc.CallOption) (*certv1beta3.QueryCertificatesResponse, error)
Certificates provides a mock function with given fields: ctx, in, opts
func (*Query) Deployment ¶
func (_m *Query) Deployment(ctx context.Context, in *deploymentv1beta3.QueryDeploymentRequest, opts ...grpc.CallOption) (*deploymentv1beta3.QueryDeploymentResponse, error)
Deployment provides a mock function with given fields: ctx, in, opts
func (*Query) Deployments ¶
func (_m *Query) Deployments(ctx context.Context, in *deploymentv1beta3.QueryDeploymentsRequest, opts ...grpc.CallOption) (*deploymentv1beta3.QueryDeploymentsResponse, error)
Deployments provides a mock function with given fields: ctx, in, opts
func (*Query) EXPECT ¶
func (_m *Query) EXPECT() *Query_Expecter
func (*Query) Group ¶
func (_m *Query) Group(ctx context.Context, in *deploymentv1beta3.QueryGroupRequest, opts ...grpc.CallOption) (*deploymentv1beta3.QueryGroupResponse, error)
Group provides a mock function with given fields: ctx, in, opts
func (*Query) Lease ¶
func (_m *Query) Lease(ctx context.Context, in *marketv1beta3.QueryLeaseRequest, opts ...grpc.CallOption) (*marketv1beta3.QueryLeaseResponse, error)
Lease provides a mock function with given fields: ctx, in, opts
func (*Query) Leases ¶
func (_m *Query) Leases(ctx context.Context, in *marketv1beta3.QueryLeasesRequest, opts ...grpc.CallOption) (*marketv1beta3.QueryLeasesResponse, error)
Leases provides a mock function with given fields: ctx, in, opts
func (*Query) Order ¶
func (_m *Query) Order(ctx context.Context, in *marketv1beta3.QueryOrderRequest, opts ...grpc.CallOption) (*marketv1beta3.QueryOrderResponse, error)
Order provides a mock function with given fields: ctx, in, opts
func (*Query) Orders ¶
func (_m *Query) Orders(ctx context.Context, in *marketv1beta3.QueryOrdersRequest, opts ...grpc.CallOption) (*marketv1beta3.QueryOrdersResponse, error)
Orders provides a mock function with given fields: ctx, in, opts
func (*Query) Provider ¶
func (_m *Query) Provider(ctx context.Context, in *providerv1beta3.QueryProviderRequest, opts ...grpc.CallOption) (*providerv1beta3.QueryProviderResponse, error)
Provider provides a mock function with given fields: ctx, in, opts
func (*Query) ProviderAttributes ¶
func (_m *Query) ProviderAttributes(ctx context.Context, in *v1beta3.QueryProviderAttributesRequest, opts ...grpc.CallOption) (*v1beta3.QueryProvidersResponse, error)
ProviderAttributes provides a mock function with given fields: ctx, in, opts
func (*Query) ProviderAuditorAttributes ¶
func (_m *Query) ProviderAuditorAttributes(ctx context.Context, in *v1beta3.QueryProviderAuditorRequest, opts ...grpc.CallOption) (*v1beta3.QueryProvidersResponse, error)
ProviderAuditorAttributes provides a mock function with given fields: ctx, in, opts
func (*Query) Providers ¶
func (_m *Query) Providers(ctx context.Context, in *providerv1beta3.QueryProvidersRequest, opts ...grpc.CallOption) (*providerv1beta3.QueryProvidersResponse, error)
Providers provides a mock function with given fields: ctx, in, opts
type Query_AllProvidersAttributes_Call ¶
Query_AllProvidersAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllProvidersAttributes'
func (*Query_AllProvidersAttributes_Call) Return ¶
func (_c *Query_AllProvidersAttributes_Call) Return(_a0 *v1beta3.QueryProvidersResponse, _a1 error) *Query_AllProvidersAttributes_Call
func (*Query_AllProvidersAttributes_Call) Run ¶
func (_c *Query_AllProvidersAttributes_Call) Run(run func(ctx context.Context, in *v1beta3.QueryAllProvidersAttributesRequest, opts ...grpc.CallOption)) *Query_AllProvidersAttributes_Call
func (*Query_AllProvidersAttributes_Call) RunAndReturn ¶
func (_c *Query_AllProvidersAttributes_Call) RunAndReturn(run func(context.Context, *v1beta3.QueryAllProvidersAttributesRequest, ...grpc.CallOption) (*v1beta3.QueryProvidersResponse, error)) *Query_AllProvidersAttributes_Call
type Query_AuditorAttributes_Call ¶
Query_AuditorAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuditorAttributes'
func (*Query_AuditorAttributes_Call) Return ¶
func (_c *Query_AuditorAttributes_Call) Return(_a0 *v1beta3.QueryProvidersResponse, _a1 error) *Query_AuditorAttributes_Call
func (*Query_AuditorAttributes_Call) Run ¶
func (_c *Query_AuditorAttributes_Call) Run(run func(ctx context.Context, in *v1beta3.QueryAuditorAttributesRequest, opts ...grpc.CallOption)) *Query_AuditorAttributes_Call
func (*Query_AuditorAttributes_Call) RunAndReturn ¶
func (_c *Query_AuditorAttributes_Call) RunAndReturn(run func(context.Context, *v1beta3.QueryAuditorAttributesRequest, ...grpc.CallOption) (*v1beta3.QueryProvidersResponse, error)) *Query_AuditorAttributes_Call
type Query_Bid_Call ¶
Query_Bid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bid'
func (*Query_Bid_Call) Return ¶
func (_c *Query_Bid_Call) Return(_a0 *marketv1beta3.QueryBidResponse, _a1 error) *Query_Bid_Call
func (*Query_Bid_Call) Run ¶
func (_c *Query_Bid_Call) Run(run func(ctx context.Context, in *marketv1beta3.QueryBidRequest, opts ...grpc.CallOption)) *Query_Bid_Call
func (*Query_Bid_Call) RunAndReturn ¶
func (_c *Query_Bid_Call) RunAndReturn(run func(context.Context, *marketv1beta3.QueryBidRequest, ...grpc.CallOption) (*marketv1beta3.QueryBidResponse, error)) *Query_Bid_Call
type Query_Bids_Call ¶
Query_Bids_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bids'
func (*Query_Bids_Call) Return ¶
func (_c *Query_Bids_Call) Return(_a0 *marketv1beta3.QueryBidsResponse, _a1 error) *Query_Bids_Call
func (*Query_Bids_Call) Run ¶
func (_c *Query_Bids_Call) Run(run func(ctx context.Context, in *marketv1beta3.QueryBidsRequest, opts ...grpc.CallOption)) *Query_Bids_Call
func (*Query_Bids_Call) RunAndReturn ¶
func (_c *Query_Bids_Call) RunAndReturn(run func(context.Context, *marketv1beta3.QueryBidsRequest, ...grpc.CallOption) (*marketv1beta3.QueryBidsResponse, error)) *Query_Bids_Call
type Query_Certificates_Call ¶
Query_Certificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Certificates'
func (*Query_Certificates_Call) Return ¶
func (_c *Query_Certificates_Call) Return(_a0 *certv1beta3.QueryCertificatesResponse, _a1 error) *Query_Certificates_Call
func (*Query_Certificates_Call) Run ¶
func (_c *Query_Certificates_Call) Run(run func(ctx context.Context, in *certv1beta3.QueryCertificatesRequest, opts ...grpc.CallOption)) *Query_Certificates_Call
func (*Query_Certificates_Call) RunAndReturn ¶
func (_c *Query_Certificates_Call) RunAndReturn(run func(context.Context, *certv1beta3.QueryCertificatesRequest, ...grpc.CallOption) (*certv1beta3.QueryCertificatesResponse, error)) *Query_Certificates_Call
type Query_Deployment_Call ¶
Query_Deployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deployment'
func (*Query_Deployment_Call) Return ¶
func (_c *Query_Deployment_Call) Return(_a0 *deploymentv1beta3.QueryDeploymentResponse, _a1 error) *Query_Deployment_Call
func (*Query_Deployment_Call) Run ¶
func (_c *Query_Deployment_Call) Run(run func(ctx context.Context, in *deploymentv1beta3.QueryDeploymentRequest, opts ...grpc.CallOption)) *Query_Deployment_Call
func (*Query_Deployment_Call) RunAndReturn ¶
func (_c *Query_Deployment_Call) RunAndReturn(run func(context.Context, *deploymentv1beta3.QueryDeploymentRequest, ...grpc.CallOption) (*deploymentv1beta3.QueryDeploymentResponse, error)) *Query_Deployment_Call
type Query_Deployments_Call ¶
Query_Deployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deployments'
func (*Query_Deployments_Call) Return ¶
func (_c *Query_Deployments_Call) Return(_a0 *deploymentv1beta3.QueryDeploymentsResponse, _a1 error) *Query_Deployments_Call
func (*Query_Deployments_Call) Run ¶
func (_c *Query_Deployments_Call) Run(run func(ctx context.Context, in *deploymentv1beta3.QueryDeploymentsRequest, opts ...grpc.CallOption)) *Query_Deployments_Call
func (*Query_Deployments_Call) RunAndReturn ¶
func (_c *Query_Deployments_Call) RunAndReturn(run func(context.Context, *deploymentv1beta3.QueryDeploymentsRequest, ...grpc.CallOption) (*deploymentv1beta3.QueryDeploymentsResponse, error)) *Query_Deployments_Call
type Query_Expecter ¶
type Query_Expecter struct {
// contains filtered or unexported fields
}
func (*Query_Expecter) AllProvidersAttributes ¶
func (_e *Query_Expecter) AllProvidersAttributes(ctx interface{}, in interface{}, opts ...interface{}) *Query_AllProvidersAttributes_Call
AllProvidersAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1beta3.QueryAllProvidersAttributesRequest
- opts ...grpc.CallOption
func (*Query_Expecter) AuditorAttributes ¶
func (_e *Query_Expecter) AuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *Query_AuditorAttributes_Call
AuditorAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1beta3.QueryAuditorAttributesRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Bid ¶
func (_e *Query_Expecter) Bid(ctx interface{}, in interface{}, opts ...interface{}) *Query_Bid_Call
Bid is a helper method to define mock.On call
- ctx context.Context
- in *marketv1beta3.QueryBidRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Bids ¶
func (_e *Query_Expecter) Bids(ctx interface{}, in interface{}, opts ...interface{}) *Query_Bids_Call
Bids is a helper method to define mock.On call
- ctx context.Context
- in *marketv1beta3.QueryBidsRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Certificates ¶
func (_e *Query_Expecter) Certificates(ctx interface{}, in interface{}, opts ...interface{}) *Query_Certificates_Call
Certificates is a helper method to define mock.On call
- ctx context.Context
- in *certv1beta3.QueryCertificatesRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Deployment ¶
func (_e *Query_Expecter) Deployment(ctx interface{}, in interface{}, opts ...interface{}) *Query_Deployment_Call
Deployment is a helper method to define mock.On call
- ctx context.Context
- in *deploymentv1beta3.QueryDeploymentRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Deployments ¶
func (_e *Query_Expecter) Deployments(ctx interface{}, in interface{}, opts ...interface{}) *Query_Deployments_Call
Deployments is a helper method to define mock.On call
- ctx context.Context
- in *deploymentv1beta3.QueryDeploymentsRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Group ¶
func (_e *Query_Expecter) Group(ctx interface{}, in interface{}, opts ...interface{}) *Query_Group_Call
Group is a helper method to define mock.On call
- ctx context.Context
- in *deploymentv1beta3.QueryGroupRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Lease ¶
func (_e *Query_Expecter) Lease(ctx interface{}, in interface{}, opts ...interface{}) *Query_Lease_Call
Lease is a helper method to define mock.On call
- ctx context.Context
- in *marketv1beta3.QueryLeaseRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Leases ¶
func (_e *Query_Expecter) Leases(ctx interface{}, in interface{}, opts ...interface{}) *Query_Leases_Call
Leases is a helper method to define mock.On call
- ctx context.Context
- in *marketv1beta3.QueryLeasesRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Order ¶
func (_e *Query_Expecter) Order(ctx interface{}, in interface{}, opts ...interface{}) *Query_Order_Call
Order is a helper method to define mock.On call
- ctx context.Context
- in *marketv1beta3.QueryOrderRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Orders ¶
func (_e *Query_Expecter) Orders(ctx interface{}, in interface{}, opts ...interface{}) *Query_Orders_Call
Orders is a helper method to define mock.On call
- ctx context.Context
- in *marketv1beta3.QueryOrdersRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Provider ¶
func (_e *Query_Expecter) Provider(ctx interface{}, in interface{}, opts ...interface{}) *Query_Provider_Call
Provider is a helper method to define mock.On call
- ctx context.Context
- in *providerv1beta3.QueryProviderRequest
- opts ...grpc.CallOption
func (*Query_Expecter) ProviderAttributes ¶
func (_e *Query_Expecter) ProviderAttributes(ctx interface{}, in interface{}, opts ...interface{}) *Query_ProviderAttributes_Call
ProviderAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1beta3.QueryProviderAttributesRequest
- opts ...grpc.CallOption
func (*Query_Expecter) ProviderAuditorAttributes ¶
func (_e *Query_Expecter) ProviderAuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *Query_ProviderAuditorAttributes_Call
ProviderAuditorAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1beta3.QueryProviderAuditorRequest
- opts ...grpc.CallOption
func (*Query_Expecter) Providers ¶
func (_e *Query_Expecter) Providers(ctx interface{}, in interface{}, opts ...interface{}) *Query_Providers_Call
Providers is a helper method to define mock.On call
- ctx context.Context
- in *providerv1beta3.QueryProvidersRequest
- opts ...grpc.CallOption
type Query_Group_Call ¶
Query_Group_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Group'
func (*Query_Group_Call) Return ¶
func (_c *Query_Group_Call) Return(_a0 *deploymentv1beta3.QueryGroupResponse, _a1 error) *Query_Group_Call
func (*Query_Group_Call) Run ¶
func (_c *Query_Group_Call) Run(run func(ctx context.Context, in *deploymentv1beta3.QueryGroupRequest, opts ...grpc.CallOption)) *Query_Group_Call
func (*Query_Group_Call) RunAndReturn ¶
func (_c *Query_Group_Call) RunAndReturn(run func(context.Context, *deploymentv1beta3.QueryGroupRequest, ...grpc.CallOption) (*deploymentv1beta3.QueryGroupResponse, error)) *Query_Group_Call
type Query_Lease_Call ¶
Query_Lease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Lease'
func (*Query_Lease_Call) Return ¶
func (_c *Query_Lease_Call) Return(_a0 *marketv1beta3.QueryLeaseResponse, _a1 error) *Query_Lease_Call
func (*Query_Lease_Call) Run ¶
func (_c *Query_Lease_Call) Run(run func(ctx context.Context, in *marketv1beta3.QueryLeaseRequest, opts ...grpc.CallOption)) *Query_Lease_Call
func (*Query_Lease_Call) RunAndReturn ¶
func (_c *Query_Lease_Call) RunAndReturn(run func(context.Context, *marketv1beta3.QueryLeaseRequest, ...grpc.CallOption) (*marketv1beta3.QueryLeaseResponse, error)) *Query_Lease_Call
type Query_Leases_Call ¶
Query_Leases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Leases'
func (*Query_Leases_Call) Return ¶
func (_c *Query_Leases_Call) Return(_a0 *marketv1beta3.QueryLeasesResponse, _a1 error) *Query_Leases_Call
func (*Query_Leases_Call) Run ¶
func (_c *Query_Leases_Call) Run(run func(ctx context.Context, in *marketv1beta3.QueryLeasesRequest, opts ...grpc.CallOption)) *Query_Leases_Call
func (*Query_Leases_Call) RunAndReturn ¶
func (_c *Query_Leases_Call) RunAndReturn(run func(context.Context, *marketv1beta3.QueryLeasesRequest, ...grpc.CallOption) (*marketv1beta3.QueryLeasesResponse, error)) *Query_Leases_Call
type Query_Order_Call ¶
Query_Order_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Order'
func (*Query_Order_Call) Return ¶
func (_c *Query_Order_Call) Return(_a0 *marketv1beta3.QueryOrderResponse, _a1 error) *Query_Order_Call
func (*Query_Order_Call) Run ¶
func (_c *Query_Order_Call) Run(run func(ctx context.Context, in *marketv1beta3.QueryOrderRequest, opts ...grpc.CallOption)) *Query_Order_Call
func (*Query_Order_Call) RunAndReturn ¶
func (_c *Query_Order_Call) RunAndReturn(run func(context.Context, *marketv1beta3.QueryOrderRequest, ...grpc.CallOption) (*marketv1beta3.QueryOrderResponse, error)) *Query_Order_Call
type Query_Orders_Call ¶
Query_Orders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Orders'
func (*Query_Orders_Call) Return ¶
func (_c *Query_Orders_Call) Return(_a0 *marketv1beta3.QueryOrdersResponse, _a1 error) *Query_Orders_Call
func (*Query_Orders_Call) Run ¶
func (_c *Query_Orders_Call) Run(run func(ctx context.Context, in *marketv1beta3.QueryOrdersRequest, opts ...grpc.CallOption)) *Query_Orders_Call
func (*Query_Orders_Call) RunAndReturn ¶
func (_c *Query_Orders_Call) RunAndReturn(run func(context.Context, *marketv1beta3.QueryOrdersRequest, ...grpc.CallOption) (*marketv1beta3.QueryOrdersResponse, error)) *Query_Orders_Call
type Query_ProviderAttributes_Call ¶
Query_ProviderAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProviderAttributes'
func (*Query_ProviderAttributes_Call) Return ¶
func (_c *Query_ProviderAttributes_Call) Return(_a0 *v1beta3.QueryProvidersResponse, _a1 error) *Query_ProviderAttributes_Call
func (*Query_ProviderAttributes_Call) Run ¶
func (_c *Query_ProviderAttributes_Call) Run(run func(ctx context.Context, in *v1beta3.QueryProviderAttributesRequest, opts ...grpc.CallOption)) *Query_ProviderAttributes_Call
func (*Query_ProviderAttributes_Call) RunAndReturn ¶
func (_c *Query_ProviderAttributes_Call) RunAndReturn(run func(context.Context, *v1beta3.QueryProviderAttributesRequest, ...grpc.CallOption) (*v1beta3.QueryProvidersResponse, error)) *Query_ProviderAttributes_Call
type Query_ProviderAuditorAttributes_Call ¶
Query_ProviderAuditorAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProviderAuditorAttributes'
func (*Query_ProviderAuditorAttributes_Call) Return ¶
func (_c *Query_ProviderAuditorAttributes_Call) Return(_a0 *v1beta3.QueryProvidersResponse, _a1 error) *Query_ProviderAuditorAttributes_Call
func (*Query_ProviderAuditorAttributes_Call) Run ¶
func (_c *Query_ProviderAuditorAttributes_Call) Run(run func(ctx context.Context, in *v1beta3.QueryProviderAuditorRequest, opts ...grpc.CallOption)) *Query_ProviderAuditorAttributes_Call
func (*Query_ProviderAuditorAttributes_Call) RunAndReturn ¶
func (_c *Query_ProviderAuditorAttributes_Call) RunAndReturn(run func(context.Context, *v1beta3.QueryProviderAuditorRequest, ...grpc.CallOption) (*v1beta3.QueryProvidersResponse, error)) *Query_ProviderAuditorAttributes_Call
type Query_Provider_Call ¶
Query_Provider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Provider'
func (*Query_Provider_Call) Return ¶
func (_c *Query_Provider_Call) Return(_a0 *providerv1beta3.QueryProviderResponse, _a1 error) *Query_Provider_Call
func (*Query_Provider_Call) Run ¶
func (_c *Query_Provider_Call) Run(run func(ctx context.Context, in *providerv1beta3.QueryProviderRequest, opts ...grpc.CallOption)) *Query_Provider_Call
func (*Query_Provider_Call) RunAndReturn ¶
func (_c *Query_Provider_Call) RunAndReturn(run func(context.Context, *providerv1beta3.QueryProviderRequest, ...grpc.CallOption) (*providerv1beta3.QueryProviderResponse, error)) *Query_Provider_Call
type Query_Providers_Call ¶
Query_Providers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Providers'
func (*Query_Providers_Call) Return ¶
func (_c *Query_Providers_Call) Return(_a0 *providerv1beta3.QueryProvidersResponse, _a1 error) *Query_Providers_Call
func (*Query_Providers_Call) Run ¶
func (_c *Query_Providers_Call) Run(run func(ctx context.Context, in *providerv1beta3.QueryProvidersRequest, opts ...grpc.CallOption)) *Query_Providers_Call
func (*Query_Providers_Call) RunAndReturn ¶
func (_c *Query_Providers_Call) RunAndReturn(run func(context.Context, *providerv1beta3.QueryProvidersRequest, ...grpc.CallOption) (*providerv1beta3.QueryProvidersResponse, error)) *Query_Providers_Call
type Tx ¶
Tx is an autogenerated mock type for the Tx type
func NewTx ¶
NewTx creates a new instance of Tx. 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 (*Tx) EXPECT ¶
func (_m *Tx) EXPECT() *Tx_Expecter
type Tx_Broadcast_Call ¶
Tx_Broadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Broadcast'
func (*Tx_Broadcast_Call) Return ¶
func (_c *Tx_Broadcast_Call) Return(_a0 error) *Tx_Broadcast_Call
func (*Tx_Broadcast_Call) Run ¶
func (_c *Tx_Broadcast_Call) Run(run func(_a0 context.Context, _a1 ...types.Msg)) *Tx_Broadcast_Call
func (*Tx_Broadcast_Call) RunAndReturn ¶
func (_c *Tx_Broadcast_Call) RunAndReturn(run func(context.Context, ...types.Msg) error) *Tx_Broadcast_Call
type Tx_Expecter ¶
type Tx_Expecter struct {
// contains filtered or unexported fields
}
func (*Tx_Expecter) Broadcast ¶
func (_e *Tx_Expecter) Broadcast(_a0 interface{}, _a1 ...interface{}) *Tx_Broadcast_Call
Broadcast is a helper method to define mock.On call
- _a0 context.Context
- _a1 ...types.Msg