mocks

package
v0.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

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

func (_m *Client) ClientContext() client.Context

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

func (_m *Client) PrintMessage(_a0 interface{}) error

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:

func (*Client) Tx

func (_m *Client) Tx() v1beta3.TxClient

Tx provides a mock function with given fields:

type Client_ClientContext_Call

type Client_ClientContext_Call struct {
	*mock.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 (*Client_ClientContext_Call) Run

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

type Client_Node_Call struct {
	*mock.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 (*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

type Client_PrintMessage_Call struct {
	*mock.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 (*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

type Client_Query_Call struct {
	*mock.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 (*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

type Client_Tx_Call struct {
	*mock.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

type NodeClient struct {
	mock.Mock
}

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

func (*NodeClient) SyncInfo

func (_m *NodeClient) SyncInfo(ctx context.Context) (*coretypes.SyncInfo, error)

SyncInfo provides a mock function with given fields: ctx

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

type NodeClient_SyncInfo_Call struct {
	*mock.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 (*NodeClient_SyncInfo_Call) Run

func (*NodeClient_SyncInfo_Call) RunAndReturn

type QueryClient

type QueryClient struct {
	mock.Mock
}

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

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

func (*QueryClient) AuditorAttributes

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

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

func (*QueryClient) Bids

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

func (*QueryClient) Certificates

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

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

func (*QueryClient) Deployments

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

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

func (*QueryClient) Lease

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

func (*QueryClient) Leases

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

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

func (*QueryClient) Orders

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

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

func (*QueryClient) ProviderAttributes

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

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

type QueryClient_AllProvidersAttributes_Call struct {
	*mock.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 (*QueryClient_AllProvidersAttributes_Call) Run

func (*QueryClient_AllProvidersAttributes_Call) RunAndReturn

type QueryClient_AuditorAttributes_Call

type QueryClient_AuditorAttributes_Call struct {
	*mock.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 (*QueryClient_AuditorAttributes_Call) Run

func (*QueryClient_AuditorAttributes_Call) RunAndReturn

type QueryClient_Auth_Call

type QueryClient_Auth_Call struct {
	*mock.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 (*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

type QueryClient_Authz_Call struct {
	*mock.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 (*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

type QueryClient_Bank_Call struct {
	*mock.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 (*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

type QueryClient_Bid_Call struct {
	*mock.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 (*QueryClient_Bid_Call) Run

func (*QueryClient_Bid_Call) RunAndReturn

type QueryClient_Bids_Call

type QueryClient_Bids_Call struct {
	*mock.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 (*QueryClient_Bids_Call) Run

func (*QueryClient_Bids_Call) RunAndReturn

type QueryClient_Certificates_Call

type QueryClient_Certificates_Call struct {
	*mock.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 (*QueryClient_Certificates_Call) Run

func (*QueryClient_Certificates_Call) RunAndReturn

type QueryClient_ClientContext_Call

type QueryClient_ClientContext_Call struct {
	*mock.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 (*QueryClient_ClientContext_Call) Run

func (*QueryClient_ClientContext_Call) RunAndReturn

type QueryClient_Deployment_Call

type QueryClient_Deployment_Call struct {
	*mock.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 (*QueryClient_Deployment_Call) Run

func (*QueryClient_Deployment_Call) RunAndReturn

type QueryClient_Deployments_Call

type QueryClient_Deployments_Call struct {
	*mock.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 (*QueryClient_Deployments_Call) Run

func (*QueryClient_Deployments_Call) RunAndReturn

type QueryClient_Distribution_Call

type QueryClient_Distribution_Call struct {
	*mock.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 (*QueryClient_Distribution_Call) Run

func (*QueryClient_Distribution_Call) RunAndReturn

type QueryClient_Evidence_Call

type QueryClient_Evidence_Call struct {
	*mock.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 (*QueryClient_Evidence_Call) Run

func (*QueryClient_Evidence_Call) RunAndReturn

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

Auth is a helper method to define mock.On call

func (*QueryClient_Expecter) Authz

Authz is a helper method to define mock.On call

func (*QueryClient_Expecter) Bank

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

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

Distribution is a helper method to define mock.On call

func (*QueryClient_Expecter) Evidence

Evidence is a helper method to define mock.On call

func (*QueryClient_Expecter) Feegrant

Feegrant is a helper method to define mock.On call

func (*QueryClient_Expecter) Gov

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

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

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

Slashing is a helper method to define mock.On call

func (*QueryClient_Expecter) Staking

Staking is a helper method to define mock.On call

func (*QueryClient_Expecter) Upgrade

Upgrade is a helper method to define mock.On call

type QueryClient_Feegrant_Call

type QueryClient_Feegrant_Call struct {
	*mock.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 (*QueryClient_Feegrant_Call) Run

func (*QueryClient_Feegrant_Call) RunAndReturn

type QueryClient_Gov_Call

type QueryClient_Gov_Call struct {
	*mock.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 (*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

type QueryClient_Group_Call struct {
	*mock.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 (*QueryClient_Group_Call) Run

func (*QueryClient_Group_Call) RunAndReturn

type QueryClient_Lease_Call

type QueryClient_Lease_Call struct {
	*mock.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 (*QueryClient_Lease_Call) Run

func (*QueryClient_Lease_Call) RunAndReturn

type QueryClient_Leases_Call

type QueryClient_Leases_Call struct {
	*mock.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 (*QueryClient_Leases_Call) Run

func (*QueryClient_Leases_Call) RunAndReturn

type QueryClient_Mint_Call

type QueryClient_Mint_Call struct {
	*mock.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 (*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

type QueryClient_Order_Call struct {
	*mock.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 (*QueryClient_Order_Call) Run

func (*QueryClient_Order_Call) RunAndReturn

type QueryClient_Orders_Call

type QueryClient_Orders_Call struct {
	*mock.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 (*QueryClient_Orders_Call) Run

func (*QueryClient_Orders_Call) RunAndReturn

type QueryClient_Params_Call

type QueryClient_Params_Call struct {
	*mock.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 (*QueryClient_Params_Call) Run

func (_c *QueryClient_Params_Call) Run(run func()) *QueryClient_Params_Call

func (*QueryClient_Params_Call) RunAndReturn

type QueryClient_ProviderAttributes_Call

type QueryClient_ProviderAttributes_Call struct {
	*mock.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 (*QueryClient_ProviderAttributes_Call) Run

func (*QueryClient_ProviderAttributes_Call) RunAndReturn

type QueryClient_ProviderAuditorAttributes_Call

type QueryClient_ProviderAuditorAttributes_Call struct {
	*mock.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 (*QueryClient_ProviderAuditorAttributes_Call) Run

func (*QueryClient_ProviderAuditorAttributes_Call) RunAndReturn

type QueryClient_Provider_Call

type QueryClient_Provider_Call struct {
	*mock.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 (*QueryClient_Provider_Call) Run

func (*QueryClient_Provider_Call) RunAndReturn

type QueryClient_Providers_Call

type QueryClient_Providers_Call struct {
	*mock.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 (*QueryClient_Providers_Call) Run

func (*QueryClient_Providers_Call) RunAndReturn

type QueryClient_Slashing_Call

type QueryClient_Slashing_Call struct {
	*mock.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 (*QueryClient_Slashing_Call) Run

func (*QueryClient_Slashing_Call) RunAndReturn

type QueryClient_Staking_Call

type QueryClient_Staking_Call struct {
	*mock.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 (*QueryClient_Staking_Call) Run

func (*QueryClient_Staking_Call) RunAndReturn

type QueryClient_Upgrade_Call

type QueryClient_Upgrade_Call struct {
	*mock.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 (*QueryClient_Upgrade_Call) Run

func (*QueryClient_Upgrade_Call) RunAndReturn

type TxClient

type TxClient struct {
	mock.Mock
}

TxClient is an autogenerated mock type for the TxClient type

func NewTxClient

func NewTxClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TxClient

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

type TxClient_Broadcast_Call struct {
	*mock.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 (*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

Jump to

Keyboard shortcuts

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