Documentation ¶
Index ¶
- type Client
- type Client_ClientContext_Call
- type Client_Expecter
- func (_e *Client_Expecter) ClientContext() *Client_ClientContext_Call
- func (_e *Client_Expecter) Node() *Client_Node_Call
- func (_e *Client_Expecter) PrintMessage(_a0 interface{}) *Client_PrintMessage_Call
- func (_e *Client_Expecter) Query() *Client_Query_Call
- func (_e *Client_Expecter) Tx() *Client_Tx_Call
- type Client_Node_Call
- type Client_PrintMessage_Call
- type Client_Query_Call
- type Client_Tx_Call
- type NodeClient
- type NodeClient_Expecter
- type NodeClient_SyncInfo_Call
- func (_c *NodeClient_SyncInfo_Call) Return(_a0 *coretypes.SyncInfo, _a1 error) *NodeClient_SyncInfo_Call
- func (_c *NodeClient_SyncInfo_Call) Run(run func(ctx context.Context)) *NodeClient_SyncInfo_Call
- func (_c *NodeClient_SyncInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.SyncInfo, error)) *NodeClient_SyncInfo_Call
- type QueryClient
- func (_m *QueryClient) AllProvidersAttributes(ctx context.Context, in *v1.QueryAllProvidersAttributesRequest, ...) (*v1.QueryProvidersResponse, error)
- func (_m *QueryClient) AuditorAttributes(ctx context.Context, in *v1.QueryAuditorAttributesRequest, ...) (*v1.QueryProvidersResponse, error)
- func (_m *QueryClient) Auth() types.QueryClient
- func (_m *QueryClient) Authz() authz.QueryClient
- func (_m *QueryClient) Bank() banktypes.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) Certificates(ctx context.Context, in *certv1.QueryCertificatesRequest, ...) (*certv1.QueryCertificatesResponse, error)
- func (_m *QueryClient) ClientContext() client.Context
- func (_m *QueryClient) Deployment(ctx context.Context, in *v1beta4.QueryDeploymentRequest, ...) (*v1beta4.QueryDeploymentResponse, error)
- func (_m *QueryClient) Deployments(ctx context.Context, in *v1beta4.QueryDeploymentsRequest, ...) (*v1beta4.QueryDeploymentsResponse, error)
- func (_m *QueryClient) Distribution() distributiontypes.QueryClient
- func (_m *QueryClient) EXPECT() *QueryClient_Expecter
- func (_m *QueryClient) Evidence() evidencetypes.QueryClient
- func (_m *QueryClient) Feegrant() feegrant.QueryClient
- func (_m *QueryClient) Gov() v1beta1.QueryClient
- func (_m *QueryClient) Group(ctx context.Context, in *v1beta4.QueryGroupRequest, opts ...grpc.CallOption) (*v1beta4.QueryGroupResponse, error)
- 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) Mint() minttypes.QueryClient
- 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() proposal.QueryClient
- func (_m *QueryClient) Provider(ctx context.Context, in *providerv1beta4.QueryProviderRequest, ...) (*providerv1beta4.QueryProviderResponse, error)
- func (_m *QueryClient) ProviderAttributes(ctx context.Context, in *v1.QueryProviderAttributesRequest, ...) (*v1.QueryProvidersResponse, error)
- func (_m *QueryClient) ProviderAuditorAttributes(ctx context.Context, in *v1.QueryProviderAuditorRequest, ...) (*v1.QueryProvidersResponse, error)
- func (_m *QueryClient) Providers(ctx context.Context, in *providerv1beta4.QueryProvidersRequest, ...) (*providerv1beta4.QueryProvidersResponse, error)
- func (_m *QueryClient) Slashing() slashingtypes.QueryClient
- func (_m *QueryClient) Staking() stakingtypes.QueryClient
- func (_m *QueryClient) Upgrade() upgradetypes.QueryClient
- type QueryClient_AllProvidersAttributes_Call
- func (_c *QueryClient_AllProvidersAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_AllProvidersAttributes_Call
- func (_c *QueryClient_AllProvidersAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryAllProvidersAttributesRequest, ...)) *QueryClient_AllProvidersAttributes_Call
- func (_c *QueryClient_AllProvidersAttributes_Call) RunAndReturn(...) *QueryClient_AllProvidersAttributes_Call
- type QueryClient_AuditorAttributes_Call
- func (_c *QueryClient_AuditorAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_AuditorAttributes_Call
- func (_c *QueryClient_AuditorAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryAuditorAttributesRequest, ...)) *QueryClient_AuditorAttributes_Call
- func (_c *QueryClient_AuditorAttributes_Call) RunAndReturn(...) *QueryClient_AuditorAttributes_Call
- type QueryClient_Auth_Call
- type QueryClient_Authz_Call
- type QueryClient_Bank_Call
- type QueryClient_Bid_Call
- type QueryClient_Bids_Call
- type QueryClient_Certificates_Call
- func (_c *QueryClient_Certificates_Call) Return(_a0 *certv1.QueryCertificatesResponse, _a1 error) *QueryClient_Certificates_Call
- func (_c *QueryClient_Certificates_Call) Run(run func(ctx context.Context, in *certv1.QueryCertificatesRequest, ...)) *QueryClient_Certificates_Call
- func (_c *QueryClient_Certificates_Call) RunAndReturn(...) *QueryClient_Certificates_Call
- type QueryClient_ClientContext_Call
- func (_c *QueryClient_ClientContext_Call) Return(_a0 client.Context) *QueryClient_ClientContext_Call
- func (_c *QueryClient_ClientContext_Call) Run(run func()) *QueryClient_ClientContext_Call
- func (_c *QueryClient_ClientContext_Call) RunAndReturn(run func() client.Context) *QueryClient_ClientContext_Call
- type QueryClient_Deployment_Call
- func (_c *QueryClient_Deployment_Call) Return(_a0 *v1beta4.QueryDeploymentResponse, _a1 error) *QueryClient_Deployment_Call
- func (_c *QueryClient_Deployment_Call) Run(run func(ctx context.Context, in *v1beta4.QueryDeploymentRequest, ...)) *QueryClient_Deployment_Call
- func (_c *QueryClient_Deployment_Call) RunAndReturn(...) *QueryClient_Deployment_Call
- type QueryClient_Deployments_Call
- func (_c *QueryClient_Deployments_Call) Return(_a0 *v1beta4.QueryDeploymentsResponse, _a1 error) *QueryClient_Deployments_Call
- func (_c *QueryClient_Deployments_Call) Run(run func(ctx context.Context, in *v1beta4.QueryDeploymentsRequest, ...)) *QueryClient_Deployments_Call
- func (_c *QueryClient_Deployments_Call) RunAndReturn(...) *QueryClient_Deployments_Call
- type QueryClient_Distribution_Call
- func (_c *QueryClient_Distribution_Call) Return(_a0 distributiontypes.QueryClient) *QueryClient_Distribution_Call
- func (_c *QueryClient_Distribution_Call) Run(run func()) *QueryClient_Distribution_Call
- func (_c *QueryClient_Distribution_Call) RunAndReturn(run func() distributiontypes.QueryClient) *QueryClient_Distribution_Call
- type QueryClient_Evidence_Call
- type QueryClient_Expecter
- func (_e *QueryClient_Expecter) AllProvidersAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AllProvidersAttributes_Call
- func (_e *QueryClient_Expecter) AuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AuditorAttributes_Call
- func (_e *QueryClient_Expecter) Auth() *QueryClient_Auth_Call
- func (_e *QueryClient_Expecter) Authz() *QueryClient_Authz_Call
- func (_e *QueryClient_Expecter) Bank() *QueryClient_Bank_Call
- 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) Certificates(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Certificates_Call
- func (_e *QueryClient_Expecter) ClientContext() *QueryClient_ClientContext_Call
- func (_e *QueryClient_Expecter) Deployment(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Deployment_Call
- func (_e *QueryClient_Expecter) Deployments(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Deployments_Call
- func (_e *QueryClient_Expecter) Distribution() *QueryClient_Distribution_Call
- func (_e *QueryClient_Expecter) Evidence() *QueryClient_Evidence_Call
- func (_e *QueryClient_Expecter) Feegrant() *QueryClient_Feegrant_Call
- func (_e *QueryClient_Expecter) Gov() *QueryClient_Gov_Call
- func (_e *QueryClient_Expecter) Group(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Group_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) Mint() *QueryClient_Mint_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() *QueryClient_Params_Call
- func (_e *QueryClient_Expecter) Provider(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Provider_Call
- func (_e *QueryClient_Expecter) ProviderAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_ProviderAttributes_Call
- func (_e *QueryClient_Expecter) ProviderAuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_ProviderAuditorAttributes_Call
- func (_e *QueryClient_Expecter) Providers(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Providers_Call
- func (_e *QueryClient_Expecter) Slashing() *QueryClient_Slashing_Call
- func (_e *QueryClient_Expecter) Staking() *QueryClient_Staking_Call
- func (_e *QueryClient_Expecter) Upgrade() *QueryClient_Upgrade_Call
- type QueryClient_Feegrant_Call
- type QueryClient_Gov_Call
- type QueryClient_Group_Call
- type QueryClient_Lease_Call
- type QueryClient_Leases_Call
- type QueryClient_Mint_Call
- type QueryClient_Order_Call
- type QueryClient_Orders_Call
- type QueryClient_Params_Call
- type QueryClient_ProviderAttributes_Call
- func (_c *QueryClient_ProviderAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_ProviderAttributes_Call
- func (_c *QueryClient_ProviderAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryProviderAttributesRequest, ...)) *QueryClient_ProviderAttributes_Call
- func (_c *QueryClient_ProviderAttributes_Call) RunAndReturn(...) *QueryClient_ProviderAttributes_Call
- type QueryClient_ProviderAuditorAttributes_Call
- func (_c *QueryClient_ProviderAuditorAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_ProviderAuditorAttributes_Call
- func (_c *QueryClient_ProviderAuditorAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryProviderAuditorRequest, ...)) *QueryClient_ProviderAuditorAttributes_Call
- func (_c *QueryClient_ProviderAuditorAttributes_Call) RunAndReturn(...) *QueryClient_ProviderAuditorAttributes_Call
- type QueryClient_Provider_Call
- func (_c *QueryClient_Provider_Call) Return(_a0 *providerv1beta4.QueryProviderResponse, _a1 error) *QueryClient_Provider_Call
- func (_c *QueryClient_Provider_Call) Run(run func(ctx context.Context, in *providerv1beta4.QueryProviderRequest, ...)) *QueryClient_Provider_Call
- func (_c *QueryClient_Provider_Call) RunAndReturn(...) *QueryClient_Provider_Call
- type QueryClient_Providers_Call
- func (_c *QueryClient_Providers_Call) Return(_a0 *providerv1beta4.QueryProvidersResponse, _a1 error) *QueryClient_Providers_Call
- func (_c *QueryClient_Providers_Call) Run(run func(ctx context.Context, in *providerv1beta4.QueryProvidersRequest, ...)) *QueryClient_Providers_Call
- func (_c *QueryClient_Providers_Call) RunAndReturn(...) *QueryClient_Providers_Call
- type QueryClient_Slashing_Call
- type QueryClient_Staking_Call
- type QueryClient_Upgrade_Call
- type TxClient
- type TxClient_Broadcast_Call
- func (_c *TxClient_Broadcast_Call) Return(_a0 interface{}, _a1 error) *TxClient_Broadcast_Call
- func (_c *TxClient_Broadcast_Call) Run(run func(_a0 context.Context, _a1 []types.Msg, _a2 ...v1beta3.BroadcastOption)) *TxClient_Broadcast_Call
- func (_c *TxClient_Broadcast_Call) RunAndReturn(...) *TxClient_Broadcast_Call
- type TxClient_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) ClientContext ¶
ClientContext provides a mock function with given fields:
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) Node ¶
func (_m *Client) Node() v1beta3.NodeClient
Node provides a mock function with given fields:
func (*Client) PrintMessage ¶
PrintMessage provides a mock function with given fields: _a0
func (*Client) Query ¶
func (_m *Client) Query() v1beta3.QueryClient
Query provides a mock function with given fields:
type Client_ClientContext_Call ¶
Client_ClientContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientContext'
func (*Client_ClientContext_Call) Return ¶
func (_c *Client_ClientContext_Call) Return(_a0 client.Context) *Client_ClientContext_Call
func (*Client_ClientContext_Call) Run ¶
func (_c *Client_ClientContext_Call) Run(run func()) *Client_ClientContext_Call
func (*Client_ClientContext_Call) RunAndReturn ¶
func (_c *Client_ClientContext_Call) RunAndReturn(run func() client.Context) *Client_ClientContext_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) ClientContext ¶
func (_e *Client_Expecter) ClientContext() *Client_ClientContext_Call
ClientContext is a helper method to define mock.On call
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) PrintMessage ¶
func (_e *Client_Expecter) PrintMessage(_a0 interface{}) *Client_PrintMessage_Call
PrintMessage is a helper method to define mock.On call
- _a0 interface{}
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 v1beta3.NodeClient) *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() v1beta3.NodeClient) *Client_Node_Call
type Client_PrintMessage_Call ¶
Client_PrintMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrintMessage'
func (*Client_PrintMessage_Call) Return ¶
func (_c *Client_PrintMessage_Call) Return(_a0 error) *Client_PrintMessage_Call
func (*Client_PrintMessage_Call) Run ¶
func (_c *Client_PrintMessage_Call) Run(run func(_a0 interface{})) *Client_PrintMessage_Call
func (*Client_PrintMessage_Call) RunAndReturn ¶
func (_c *Client_PrintMessage_Call) RunAndReturn(run func(interface{}) error) *Client_PrintMessage_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 v1beta3.QueryClient) *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() v1beta3.QueryClient) *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 v1beta3.TxClient) *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() v1beta3.TxClient) *Client_Tx_Call
type NodeClient ¶
NodeClient is an autogenerated mock type for the NodeClient type
func NewNodeClient ¶
func NewNodeClient(t interface { mock.TestingT Cleanup(func()) }) *NodeClient
NewNodeClient creates a new instance of NodeClient. 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 (*NodeClient) EXPECT ¶
func (_m *NodeClient) EXPECT() *NodeClient_Expecter
type NodeClient_Expecter ¶
type NodeClient_Expecter struct {
// contains filtered or unexported fields
}
func (*NodeClient_Expecter) SyncInfo ¶
func (_e *NodeClient_Expecter) SyncInfo(ctx interface{}) *NodeClient_SyncInfo_Call
SyncInfo is a helper method to define mock.On call
- ctx context.Context
type NodeClient_SyncInfo_Call ¶
NodeClient_SyncInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncInfo'
func (*NodeClient_SyncInfo_Call) Return ¶
func (_c *NodeClient_SyncInfo_Call) Return(_a0 *coretypes.SyncInfo, _a1 error) *NodeClient_SyncInfo_Call
func (*NodeClient_SyncInfo_Call) Run ¶
func (_c *NodeClient_SyncInfo_Call) Run(run func(ctx context.Context)) *NodeClient_SyncInfo_Call
func (*NodeClient_SyncInfo_Call) RunAndReturn ¶
func (_c *NodeClient_SyncInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.SyncInfo, error)) *NodeClient_SyncInfo_Call
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) AllProvidersAttributes ¶
func (_m *QueryClient) AllProvidersAttributes(ctx context.Context, in *v1.QueryAllProvidersAttributesRequest, opts ...grpc.CallOption) (*v1.QueryProvidersResponse, error)
AllProvidersAttributes provides a mock function with given fields: ctx, in, opts
func (*QueryClient) AuditorAttributes ¶
func (_m *QueryClient) AuditorAttributes(ctx context.Context, in *v1.QueryAuditorAttributesRequest, opts ...grpc.CallOption) (*v1.QueryProvidersResponse, error)
AuditorAttributes provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Auth ¶
func (_m *QueryClient) Auth() types.QueryClient
Auth provides a mock function with given fields:
func (*QueryClient) Authz ¶
func (_m *QueryClient) Authz() authz.QueryClient
Authz provides a mock function with given fields:
func (*QueryClient) Bank ¶
func (_m *QueryClient) Bank() banktypes.QueryClient
Bank provides a mock function with given fields:
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) Certificates ¶
func (_m *QueryClient) Certificates(ctx context.Context, in *certv1.QueryCertificatesRequest, opts ...grpc.CallOption) (*certv1.QueryCertificatesResponse, error)
Certificates provides a mock function with given fields: ctx, in, opts
func (*QueryClient) ClientContext ¶
func (_m *QueryClient) ClientContext() client.Context
ClientContext provides a mock function with given fields:
func (*QueryClient) Deployment ¶
func (_m *QueryClient) Deployment(ctx context.Context, in *v1beta4.QueryDeploymentRequest, opts ...grpc.CallOption) (*v1beta4.QueryDeploymentResponse, error)
Deployment provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Deployments ¶
func (_m *QueryClient) Deployments(ctx context.Context, in *v1beta4.QueryDeploymentsRequest, opts ...grpc.CallOption) (*v1beta4.QueryDeploymentsResponse, error)
Deployments provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Distribution ¶
func (_m *QueryClient) Distribution() distributiontypes.QueryClient
Distribution provides a mock function with given fields:
func (*QueryClient) EXPECT ¶
func (_m *QueryClient) EXPECT() *QueryClient_Expecter
func (*QueryClient) Evidence ¶
func (_m *QueryClient) Evidence() evidencetypes.QueryClient
Evidence provides a mock function with given fields:
func (*QueryClient) Feegrant ¶
func (_m *QueryClient) Feegrant() feegrant.QueryClient
Feegrant provides a mock function with given fields:
func (*QueryClient) Gov ¶
func (_m *QueryClient) Gov() v1beta1.QueryClient
Gov provides a mock function with given fields:
func (*QueryClient) Group ¶
func (_m *QueryClient) Group(ctx context.Context, in *v1beta4.QueryGroupRequest, opts ...grpc.CallOption) (*v1beta4.QueryGroupResponse, error)
Group provides a mock function with given fields: ctx, in, opts
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) Mint ¶
func (_m *QueryClient) Mint() minttypes.QueryClient
Mint provides a mock function with given fields:
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() proposal.QueryClient
Params provides a mock function with given fields:
func (*QueryClient) Provider ¶
func (_m *QueryClient) Provider(ctx context.Context, in *providerv1beta4.QueryProviderRequest, opts ...grpc.CallOption) (*providerv1beta4.QueryProviderResponse, error)
Provider provides a mock function with given fields: ctx, in, opts
func (*QueryClient) ProviderAttributes ¶
func (_m *QueryClient) ProviderAttributes(ctx context.Context, in *v1.QueryProviderAttributesRequest, opts ...grpc.CallOption) (*v1.QueryProvidersResponse, error)
ProviderAttributes provides a mock function with given fields: ctx, in, opts
func (*QueryClient) ProviderAuditorAttributes ¶
func (_m *QueryClient) ProviderAuditorAttributes(ctx context.Context, in *v1.QueryProviderAuditorRequest, opts ...grpc.CallOption) (*v1.QueryProvidersResponse, error)
ProviderAuditorAttributes provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Providers ¶
func (_m *QueryClient) Providers(ctx context.Context, in *providerv1beta4.QueryProvidersRequest, opts ...grpc.CallOption) (*providerv1beta4.QueryProvidersResponse, error)
Providers provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Slashing ¶
func (_m *QueryClient) Slashing() slashingtypes.QueryClient
Slashing provides a mock function with given fields:
func (*QueryClient) Staking ¶
func (_m *QueryClient) Staking() stakingtypes.QueryClient
Staking provides a mock function with given fields:
func (*QueryClient) Upgrade ¶
func (_m *QueryClient) Upgrade() upgradetypes.QueryClient
Upgrade provides a mock function with given fields:
type QueryClient_AllProvidersAttributes_Call ¶
QueryClient_AllProvidersAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllProvidersAttributes'
func (*QueryClient_AllProvidersAttributes_Call) Return ¶
func (_c *QueryClient_AllProvidersAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_AllProvidersAttributes_Call
func (*QueryClient_AllProvidersAttributes_Call) Run ¶
func (_c *QueryClient_AllProvidersAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryAllProvidersAttributesRequest, opts ...grpc.CallOption)) *QueryClient_AllProvidersAttributes_Call
func (*QueryClient_AllProvidersAttributes_Call) RunAndReturn ¶
func (_c *QueryClient_AllProvidersAttributes_Call) RunAndReturn(run func(context.Context, *v1.QueryAllProvidersAttributesRequest, ...grpc.CallOption) (*v1.QueryProvidersResponse, error)) *QueryClient_AllProvidersAttributes_Call
type QueryClient_AuditorAttributes_Call ¶
QueryClient_AuditorAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuditorAttributes'
func (*QueryClient_AuditorAttributes_Call) Return ¶
func (_c *QueryClient_AuditorAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_AuditorAttributes_Call
func (*QueryClient_AuditorAttributes_Call) Run ¶
func (_c *QueryClient_AuditorAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryAuditorAttributesRequest, opts ...grpc.CallOption)) *QueryClient_AuditorAttributes_Call
func (*QueryClient_AuditorAttributes_Call) RunAndReturn ¶
func (_c *QueryClient_AuditorAttributes_Call) RunAndReturn(run func(context.Context, *v1.QueryAuditorAttributesRequest, ...grpc.CallOption) (*v1.QueryProvidersResponse, error)) *QueryClient_AuditorAttributes_Call
type QueryClient_Auth_Call ¶
QueryClient_Auth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Auth'
func (*QueryClient_Auth_Call) Return ¶
func (_c *QueryClient_Auth_Call) Return(_a0 types.QueryClient) *QueryClient_Auth_Call
func (*QueryClient_Auth_Call) Run ¶
func (_c *QueryClient_Auth_Call) Run(run func()) *QueryClient_Auth_Call
func (*QueryClient_Auth_Call) RunAndReturn ¶
func (_c *QueryClient_Auth_Call) RunAndReturn(run func() types.QueryClient) *QueryClient_Auth_Call
type QueryClient_Authz_Call ¶
QueryClient_Authz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Authz'
func (*QueryClient_Authz_Call) Return ¶
func (_c *QueryClient_Authz_Call) Return(_a0 authz.QueryClient) *QueryClient_Authz_Call
func (*QueryClient_Authz_Call) Run ¶
func (_c *QueryClient_Authz_Call) Run(run func()) *QueryClient_Authz_Call
func (*QueryClient_Authz_Call) RunAndReturn ¶
func (_c *QueryClient_Authz_Call) RunAndReturn(run func() authz.QueryClient) *QueryClient_Authz_Call
type QueryClient_Bank_Call ¶
QueryClient_Bank_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bank'
func (*QueryClient_Bank_Call) Return ¶
func (_c *QueryClient_Bank_Call) Return(_a0 banktypes.QueryClient) *QueryClient_Bank_Call
func (*QueryClient_Bank_Call) Run ¶
func (_c *QueryClient_Bank_Call) Run(run func()) *QueryClient_Bank_Call
func (*QueryClient_Bank_Call) RunAndReturn ¶
func (_c *QueryClient_Bank_Call) RunAndReturn(run func() banktypes.QueryClient) *QueryClient_Bank_Call
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_Certificates_Call ¶
QueryClient_Certificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Certificates'
func (*QueryClient_Certificates_Call) Return ¶
func (_c *QueryClient_Certificates_Call) Return(_a0 *certv1.QueryCertificatesResponse, _a1 error) *QueryClient_Certificates_Call
func (*QueryClient_Certificates_Call) Run ¶
func (_c *QueryClient_Certificates_Call) Run(run func(ctx context.Context, in *certv1.QueryCertificatesRequest, opts ...grpc.CallOption)) *QueryClient_Certificates_Call
func (*QueryClient_Certificates_Call) RunAndReturn ¶
func (_c *QueryClient_Certificates_Call) RunAndReturn(run func(context.Context, *certv1.QueryCertificatesRequest, ...grpc.CallOption) (*certv1.QueryCertificatesResponse, error)) *QueryClient_Certificates_Call
type QueryClient_ClientContext_Call ¶
QueryClient_ClientContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientContext'
func (*QueryClient_ClientContext_Call) Return ¶
func (_c *QueryClient_ClientContext_Call) Return(_a0 client.Context) *QueryClient_ClientContext_Call
func (*QueryClient_ClientContext_Call) Run ¶
func (_c *QueryClient_ClientContext_Call) Run(run func()) *QueryClient_ClientContext_Call
func (*QueryClient_ClientContext_Call) RunAndReturn ¶
func (_c *QueryClient_ClientContext_Call) RunAndReturn(run func() client.Context) *QueryClient_ClientContext_Call
type QueryClient_Deployment_Call ¶
QueryClient_Deployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deployment'
func (*QueryClient_Deployment_Call) Return ¶
func (_c *QueryClient_Deployment_Call) Return(_a0 *v1beta4.QueryDeploymentResponse, _a1 error) *QueryClient_Deployment_Call
func (*QueryClient_Deployment_Call) Run ¶
func (_c *QueryClient_Deployment_Call) Run(run func(ctx context.Context, in *v1beta4.QueryDeploymentRequest, opts ...grpc.CallOption)) *QueryClient_Deployment_Call
func (*QueryClient_Deployment_Call) RunAndReturn ¶
func (_c *QueryClient_Deployment_Call) RunAndReturn(run func(context.Context, *v1beta4.QueryDeploymentRequest, ...grpc.CallOption) (*v1beta4.QueryDeploymentResponse, error)) *QueryClient_Deployment_Call
type QueryClient_Deployments_Call ¶
QueryClient_Deployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deployments'
func (*QueryClient_Deployments_Call) Return ¶
func (_c *QueryClient_Deployments_Call) Return(_a0 *v1beta4.QueryDeploymentsResponse, _a1 error) *QueryClient_Deployments_Call
func (*QueryClient_Deployments_Call) Run ¶
func (_c *QueryClient_Deployments_Call) Run(run func(ctx context.Context, in *v1beta4.QueryDeploymentsRequest, opts ...grpc.CallOption)) *QueryClient_Deployments_Call
func (*QueryClient_Deployments_Call) RunAndReturn ¶
func (_c *QueryClient_Deployments_Call) RunAndReturn(run func(context.Context, *v1beta4.QueryDeploymentsRequest, ...grpc.CallOption) (*v1beta4.QueryDeploymentsResponse, error)) *QueryClient_Deployments_Call
type QueryClient_Distribution_Call ¶
QueryClient_Distribution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Distribution'
func (*QueryClient_Distribution_Call) Return ¶
func (_c *QueryClient_Distribution_Call) Return(_a0 distributiontypes.QueryClient) *QueryClient_Distribution_Call
func (*QueryClient_Distribution_Call) Run ¶
func (_c *QueryClient_Distribution_Call) Run(run func()) *QueryClient_Distribution_Call
func (*QueryClient_Distribution_Call) RunAndReturn ¶
func (_c *QueryClient_Distribution_Call) RunAndReturn(run func() distributiontypes.QueryClient) *QueryClient_Distribution_Call
type QueryClient_Evidence_Call ¶
QueryClient_Evidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Evidence'
func (*QueryClient_Evidence_Call) Return ¶
func (_c *QueryClient_Evidence_Call) Return(_a0 evidencetypes.QueryClient) *QueryClient_Evidence_Call
func (*QueryClient_Evidence_Call) Run ¶
func (_c *QueryClient_Evidence_Call) Run(run func()) *QueryClient_Evidence_Call
func (*QueryClient_Evidence_Call) RunAndReturn ¶
func (_c *QueryClient_Evidence_Call) RunAndReturn(run func() evidencetypes.QueryClient) *QueryClient_Evidence_Call
type QueryClient_Expecter ¶
type QueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryClient_Expecter) AllProvidersAttributes ¶
func (_e *QueryClient_Expecter) AllProvidersAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AllProvidersAttributes_Call
AllProvidersAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryAllProvidersAttributesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) AuditorAttributes ¶
func (_e *QueryClient_Expecter) AuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AuditorAttributes_Call
AuditorAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryAuditorAttributesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Auth ¶
func (_e *QueryClient_Expecter) Auth() *QueryClient_Auth_Call
Auth is a helper method to define mock.On call
func (*QueryClient_Expecter) Authz ¶
func (_e *QueryClient_Expecter) Authz() *QueryClient_Authz_Call
Authz is a helper method to define mock.On call
func (*QueryClient_Expecter) Bank ¶
func (_e *QueryClient_Expecter) Bank() *QueryClient_Bank_Call
Bank is a helper method to define mock.On call
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) Certificates ¶
func (_e *QueryClient_Expecter) Certificates(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Certificates_Call
Certificates is a helper method to define mock.On call
- ctx context.Context
- in *certv1.QueryCertificatesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) ClientContext ¶
func (_e *QueryClient_Expecter) ClientContext() *QueryClient_ClientContext_Call
ClientContext is a helper method to define mock.On call
func (*QueryClient_Expecter) Deployment ¶
func (_e *QueryClient_Expecter) Deployment(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Deployment_Call
Deployment is a helper method to define mock.On call
- ctx context.Context
- in *v1beta4.QueryDeploymentRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Deployments ¶
func (_e *QueryClient_Expecter) Deployments(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Deployments_Call
Deployments is a helper method to define mock.On call
- ctx context.Context
- in *v1beta4.QueryDeploymentsRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Distribution ¶
func (_e *QueryClient_Expecter) Distribution() *QueryClient_Distribution_Call
Distribution is a helper method to define mock.On call
func (*QueryClient_Expecter) Evidence ¶
func (_e *QueryClient_Expecter) Evidence() *QueryClient_Evidence_Call
Evidence is a helper method to define mock.On call
func (*QueryClient_Expecter) Feegrant ¶
func (_e *QueryClient_Expecter) Feegrant() *QueryClient_Feegrant_Call
Feegrant is a helper method to define mock.On call
func (*QueryClient_Expecter) Gov ¶
func (_e *QueryClient_Expecter) Gov() *QueryClient_Gov_Call
Gov is a helper method to define mock.On call
func (*QueryClient_Expecter) Group ¶
func (_e *QueryClient_Expecter) Group(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Group_Call
Group is a helper method to define mock.On call
- ctx context.Context
- in *v1beta4.QueryGroupRequest
- 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) Mint ¶
func (_e *QueryClient_Expecter) Mint() *QueryClient_Mint_Call
Mint is a helper method to define mock.On call
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() *QueryClient_Params_Call
Params is a helper method to define mock.On call
func (*QueryClient_Expecter) Provider ¶
func (_e *QueryClient_Expecter) Provider(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Provider_Call
Provider is a helper method to define mock.On call
- ctx context.Context
- in *providerv1beta4.QueryProviderRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) ProviderAttributes ¶
func (_e *QueryClient_Expecter) ProviderAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_ProviderAttributes_Call
ProviderAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryProviderAttributesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) ProviderAuditorAttributes ¶
func (_e *QueryClient_Expecter) ProviderAuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_ProviderAuditorAttributes_Call
ProviderAuditorAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryProviderAuditorRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Providers ¶
func (_e *QueryClient_Expecter) Providers(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Providers_Call
Providers is a helper method to define mock.On call
- ctx context.Context
- in *providerv1beta4.QueryProvidersRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Slashing ¶
func (_e *QueryClient_Expecter) Slashing() *QueryClient_Slashing_Call
Slashing is a helper method to define mock.On call
func (*QueryClient_Expecter) Staking ¶
func (_e *QueryClient_Expecter) Staking() *QueryClient_Staking_Call
Staking is a helper method to define mock.On call
func (*QueryClient_Expecter) Upgrade ¶
func (_e *QueryClient_Expecter) Upgrade() *QueryClient_Upgrade_Call
Upgrade is a helper method to define mock.On call
type QueryClient_Feegrant_Call ¶
QueryClient_Feegrant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Feegrant'
func (*QueryClient_Feegrant_Call) Return ¶
func (_c *QueryClient_Feegrant_Call) Return(_a0 feegrant.QueryClient) *QueryClient_Feegrant_Call
func (*QueryClient_Feegrant_Call) Run ¶
func (_c *QueryClient_Feegrant_Call) Run(run func()) *QueryClient_Feegrant_Call
func (*QueryClient_Feegrant_Call) RunAndReturn ¶
func (_c *QueryClient_Feegrant_Call) RunAndReturn(run func() feegrant.QueryClient) *QueryClient_Feegrant_Call
type QueryClient_Gov_Call ¶
QueryClient_Gov_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Gov'
func (*QueryClient_Gov_Call) Return ¶
func (_c *QueryClient_Gov_Call) Return(_a0 v1beta1.QueryClient) *QueryClient_Gov_Call
func (*QueryClient_Gov_Call) Run ¶
func (_c *QueryClient_Gov_Call) Run(run func()) *QueryClient_Gov_Call
func (*QueryClient_Gov_Call) RunAndReturn ¶
func (_c *QueryClient_Gov_Call) RunAndReturn(run func() v1beta1.QueryClient) *QueryClient_Gov_Call
type QueryClient_Group_Call ¶
QueryClient_Group_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Group'
func (*QueryClient_Group_Call) Return ¶
func (_c *QueryClient_Group_Call) Return(_a0 *v1beta4.QueryGroupResponse, _a1 error) *QueryClient_Group_Call
func (*QueryClient_Group_Call) Run ¶
func (_c *QueryClient_Group_Call) Run(run func(ctx context.Context, in *v1beta4.QueryGroupRequest, opts ...grpc.CallOption)) *QueryClient_Group_Call
func (*QueryClient_Group_Call) RunAndReturn ¶
func (_c *QueryClient_Group_Call) RunAndReturn(run func(context.Context, *v1beta4.QueryGroupRequest, ...grpc.CallOption) (*v1beta4.QueryGroupResponse, error)) *QueryClient_Group_Call
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_Mint_Call ¶
QueryClient_Mint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mint'
func (*QueryClient_Mint_Call) Return ¶
func (_c *QueryClient_Mint_Call) Return(_a0 minttypes.QueryClient) *QueryClient_Mint_Call
func (*QueryClient_Mint_Call) Run ¶
func (_c *QueryClient_Mint_Call) Run(run func()) *QueryClient_Mint_Call
func (*QueryClient_Mint_Call) RunAndReturn ¶
func (_c *QueryClient_Mint_Call) RunAndReturn(run func() minttypes.QueryClient) *QueryClient_Mint_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 proposal.QueryClient) *QueryClient_Params_Call
func (*QueryClient_Params_Call) Run ¶
func (_c *QueryClient_Params_Call) Run(run func()) *QueryClient_Params_Call
func (*QueryClient_Params_Call) RunAndReturn ¶
func (_c *QueryClient_Params_Call) RunAndReturn(run func() proposal.QueryClient) *QueryClient_Params_Call
type QueryClient_ProviderAttributes_Call ¶
QueryClient_ProviderAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProviderAttributes'
func (*QueryClient_ProviderAttributes_Call) Return ¶
func (_c *QueryClient_ProviderAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_ProviderAttributes_Call
func (*QueryClient_ProviderAttributes_Call) Run ¶
func (_c *QueryClient_ProviderAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryProviderAttributesRequest, opts ...grpc.CallOption)) *QueryClient_ProviderAttributes_Call
func (*QueryClient_ProviderAttributes_Call) RunAndReturn ¶
func (_c *QueryClient_ProviderAttributes_Call) RunAndReturn(run func(context.Context, *v1.QueryProviderAttributesRequest, ...grpc.CallOption) (*v1.QueryProvidersResponse, error)) *QueryClient_ProviderAttributes_Call
type QueryClient_ProviderAuditorAttributes_Call ¶
QueryClient_ProviderAuditorAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProviderAuditorAttributes'
func (*QueryClient_ProviderAuditorAttributes_Call) Return ¶
func (_c *QueryClient_ProviderAuditorAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_ProviderAuditorAttributes_Call
func (*QueryClient_ProviderAuditorAttributes_Call) Run ¶
func (_c *QueryClient_ProviderAuditorAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryProviderAuditorRequest, opts ...grpc.CallOption)) *QueryClient_ProviderAuditorAttributes_Call
func (*QueryClient_ProviderAuditorAttributes_Call) RunAndReturn ¶
func (_c *QueryClient_ProviderAuditorAttributes_Call) RunAndReturn(run func(context.Context, *v1.QueryProviderAuditorRequest, ...grpc.CallOption) (*v1.QueryProvidersResponse, error)) *QueryClient_ProviderAuditorAttributes_Call
type QueryClient_Provider_Call ¶
QueryClient_Provider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Provider'
func (*QueryClient_Provider_Call) Return ¶
func (_c *QueryClient_Provider_Call) Return(_a0 *providerv1beta4.QueryProviderResponse, _a1 error) *QueryClient_Provider_Call
func (*QueryClient_Provider_Call) Run ¶
func (_c *QueryClient_Provider_Call) Run(run func(ctx context.Context, in *providerv1beta4.QueryProviderRequest, opts ...grpc.CallOption)) *QueryClient_Provider_Call
func (*QueryClient_Provider_Call) RunAndReturn ¶
func (_c *QueryClient_Provider_Call) RunAndReturn(run func(context.Context, *providerv1beta4.QueryProviderRequest, ...grpc.CallOption) (*providerv1beta4.QueryProviderResponse, error)) *QueryClient_Provider_Call
type QueryClient_Providers_Call ¶
QueryClient_Providers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Providers'
func (*QueryClient_Providers_Call) Return ¶
func (_c *QueryClient_Providers_Call) Return(_a0 *providerv1beta4.QueryProvidersResponse, _a1 error) *QueryClient_Providers_Call
func (*QueryClient_Providers_Call) Run ¶
func (_c *QueryClient_Providers_Call) Run(run func(ctx context.Context, in *providerv1beta4.QueryProvidersRequest, opts ...grpc.CallOption)) *QueryClient_Providers_Call
func (*QueryClient_Providers_Call) RunAndReturn ¶
func (_c *QueryClient_Providers_Call) RunAndReturn(run func(context.Context, *providerv1beta4.QueryProvidersRequest, ...grpc.CallOption) (*providerv1beta4.QueryProvidersResponse, error)) *QueryClient_Providers_Call
type QueryClient_Slashing_Call ¶
QueryClient_Slashing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Slashing'
func (*QueryClient_Slashing_Call) Return ¶
func (_c *QueryClient_Slashing_Call) Return(_a0 slashingtypes.QueryClient) *QueryClient_Slashing_Call
func (*QueryClient_Slashing_Call) Run ¶
func (_c *QueryClient_Slashing_Call) Run(run func()) *QueryClient_Slashing_Call
func (*QueryClient_Slashing_Call) RunAndReturn ¶
func (_c *QueryClient_Slashing_Call) RunAndReturn(run func() slashingtypes.QueryClient) *QueryClient_Slashing_Call
type QueryClient_Staking_Call ¶
QueryClient_Staking_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Staking'
func (*QueryClient_Staking_Call) Return ¶
func (_c *QueryClient_Staking_Call) Return(_a0 stakingtypes.QueryClient) *QueryClient_Staking_Call
func (*QueryClient_Staking_Call) Run ¶
func (_c *QueryClient_Staking_Call) Run(run func()) *QueryClient_Staking_Call
func (*QueryClient_Staking_Call) RunAndReturn ¶
func (_c *QueryClient_Staking_Call) RunAndReturn(run func() stakingtypes.QueryClient) *QueryClient_Staking_Call
type QueryClient_Upgrade_Call ¶
QueryClient_Upgrade_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upgrade'
func (*QueryClient_Upgrade_Call) Return ¶
func (_c *QueryClient_Upgrade_Call) Return(_a0 upgradetypes.QueryClient) *QueryClient_Upgrade_Call
func (*QueryClient_Upgrade_Call) Run ¶
func (_c *QueryClient_Upgrade_Call) Run(run func()) *QueryClient_Upgrade_Call
func (*QueryClient_Upgrade_Call) RunAndReturn ¶
func (_c *QueryClient_Upgrade_Call) RunAndReturn(run func() upgradetypes.QueryClient) *QueryClient_Upgrade_Call
type TxClient ¶
TxClient is an autogenerated mock type for the TxClient type
func NewTxClient ¶
NewTxClient creates a new instance of TxClient. 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 (*TxClient) Broadcast ¶
func (_m *TxClient) Broadcast(_a0 context.Context, _a1 []types.Msg, _a2 ...v1beta3.BroadcastOption) (interface{}, error)
Broadcast provides a mock function with given fields: _a0, _a1, _a2
func (*TxClient) EXPECT ¶
func (_m *TxClient) EXPECT() *TxClient_Expecter
type TxClient_Broadcast_Call ¶
TxClient_Broadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Broadcast'
func (*TxClient_Broadcast_Call) Return ¶
func (_c *TxClient_Broadcast_Call) Return(_a0 interface{}, _a1 error) *TxClient_Broadcast_Call
func (*TxClient_Broadcast_Call) Run ¶
func (_c *TxClient_Broadcast_Call) Run(run func(_a0 context.Context, _a1 []types.Msg, _a2 ...v1beta3.BroadcastOption)) *TxClient_Broadcast_Call
func (*TxClient_Broadcast_Call) RunAndReturn ¶
func (_c *TxClient_Broadcast_Call) RunAndReturn(run func(context.Context, []types.Msg, ...v1beta3.BroadcastOption) (interface{}, error)) *TxClient_Broadcast_Call
type TxClient_Expecter ¶
type TxClient_Expecter struct {
// contains filtered or unexported fields
}
func (*TxClient_Expecter) Broadcast ¶
func (_e *TxClient_Expecter) Broadcast(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *TxClient_Broadcast_Call
Broadcast is a helper method to define mock.On call
- _a0 context.Context
- _a1 []types.Msg
- _a2 ...v1beta3.BroadcastOption