mocks

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 11 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 mockConstructorTestingTNewClient) *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.

func (*Client) EXPECT added in v0.24.0

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) NodeSyncInfo

func (_m *Client) NodeSyncInfo(_a0 context.Context) (*coretypes.SyncInfo, error)

NodeSyncInfo provides a mock function with given fields: _a0

func (*Client) Query

func (_m *Client) Query() client.QueryClient

Query provides a mock function with given fields:

func (*Client) Tx

func (_m *Client) Tx() broadcaster.Client

Tx provides a mock function with given fields:

type Client_Expecter added in v0.24.0

type Client_Expecter struct {
	// contains filtered or unexported fields
}

func (*Client_Expecter) NodeSyncInfo added in v0.24.0

func (_e *Client_Expecter) NodeSyncInfo(_a0 interface{}) *Client_NodeSyncInfo_Call

NodeSyncInfo is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) Query added in v0.24.0

func (_e *Client_Expecter) Query() *Client_Query_Call

Query is a helper method to define mock.On call

func (*Client_Expecter) Tx added in v0.24.0

func (_e *Client_Expecter) Tx() *Client_Tx_Call

Tx is a helper method to define mock.On call

type Client_NodeSyncInfo_Call added in v0.24.0

type Client_NodeSyncInfo_Call struct {
	*mock.Call
}

Client_NodeSyncInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeSyncInfo'

func (*Client_NodeSyncInfo_Call) Return added in v0.24.0

func (*Client_NodeSyncInfo_Call) Run added in v0.24.0

func (*Client_NodeSyncInfo_Call) RunAndReturn added in v0.24.0

type Client_Query_Call added in v0.24.0

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 added in v0.24.0

func (*Client_Query_Call) Run added in v0.24.0

func (_c *Client_Query_Call) Run(run func()) *Client_Query_Call

func (*Client_Query_Call) RunAndReturn added in v0.24.0

func (_c *Client_Query_Call) RunAndReturn(run func() client.QueryClient) *Client_Query_Call

type Client_Tx_Call added in v0.24.0

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 added in v0.24.0

func (*Client_Tx_Call) Run added in v0.24.0

func (_c *Client_Tx_Call) Run(run func()) *Client_Tx_Call

func (*Client_Tx_Call) RunAndReturn added in v0.24.0

func (_c *Client_Tx_Call) RunAndReturn(run func() broadcaster.Client) *Client_Tx_Call

type QueryClient

type QueryClient struct {
	mock.Mock
}

QueryClient is an autogenerated mock type for the QueryClient type

func NewQueryClient

func NewQueryClient(t mockConstructorTestingTNewQueryClient) *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.

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) 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) 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) EXPECT added in v0.24.0

func (_m *QueryClient) EXPECT() *QueryClient_Expecter

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) 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) 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

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

type QueryClient_AllProvidersAttributes_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_AllProvidersAttributes_Call) Run added in v0.24.0

type QueryClient_AuditorAttributes_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_AuditorAttributes_Call) Run added in v0.24.0

func (*QueryClient_AuditorAttributes_Call) RunAndReturn added in v0.24.0

type QueryClient_Bid_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Bid_Call) Run added in v0.24.0

func (*QueryClient_Bid_Call) RunAndReturn added in v0.24.0

type QueryClient_Bids_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Bids_Call) Run added in v0.24.0

func (*QueryClient_Bids_Call) RunAndReturn added in v0.24.0

type QueryClient_Certificates_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Certificates_Call) Run added in v0.24.0

type QueryClient_Deployment_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Deployment_Call) Run added in v0.24.0

type QueryClient_Deployments_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Deployments_Call) Run added in v0.24.0

type QueryClient_Expecter added in v0.24.0

type QueryClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*QueryClient_Expecter) AllProvidersAttributes added in v0.24.0

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 *v1beta3.QueryAllProvidersAttributesRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) AuditorAttributes added in v0.24.0

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 *v1beta3.QueryAuditorAttributesRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Bid added in v0.24.0

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 *v1beta4.QueryBidRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Bids added in v0.24.0

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 *v1beta4.QueryBidsRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Certificates added in v0.24.0

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 *certv1beta3.QueryCertificatesRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Deployment added in v0.24.0

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 *deploymentv1beta3.QueryDeploymentRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Deployments added in v0.24.0

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 *deploymentv1beta3.QueryDeploymentsRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Group added in v0.24.0

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 *deploymentv1beta3.QueryGroupRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Lease added in v0.24.0

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 *v1beta4.QueryLeaseRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Leases added in v0.24.0

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 *v1beta4.QueryLeasesRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Order added in v0.24.0

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 *v1beta4.QueryOrderRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Orders added in v0.24.0

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 *v1beta4.QueryOrdersRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Provider added in v0.24.0

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 *providerv1beta3.QueryProviderRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) ProviderAttributes added in v0.24.0

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 *v1beta3.QueryProviderAttributesRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) ProviderAuditorAttributes added in v0.24.0

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 *v1beta3.QueryProviderAuditorRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Providers added in v0.24.0

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 *providerv1beta3.QueryProvidersRequest
  • opts ...grpc.CallOption

type QueryClient_Group_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Group_Call) Run added in v0.24.0

func (*QueryClient_Group_Call) RunAndReturn added in v0.24.0

type QueryClient_Lease_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Lease_Call) Run added in v0.24.0

func (*QueryClient_Lease_Call) RunAndReturn added in v0.24.0

type QueryClient_Leases_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Leases_Call) Run added in v0.24.0

func (*QueryClient_Leases_Call) RunAndReturn added in v0.24.0

type QueryClient_Order_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Order_Call) Run added in v0.24.0

func (*QueryClient_Order_Call) RunAndReturn added in v0.24.0

type QueryClient_Orders_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Orders_Call) Run added in v0.24.0

func (*QueryClient_Orders_Call) RunAndReturn added in v0.24.0

type QueryClient_ProviderAttributes_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_ProviderAttributes_Call) Run added in v0.24.0

type QueryClient_ProviderAuditorAttributes_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_ProviderAuditorAttributes_Call) Run added in v0.24.0

type QueryClient_Provider_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Provider_Call) Run added in v0.24.0

type QueryClient_Providers_Call added in v0.24.0

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 added in v0.24.0

func (*QueryClient_Providers_Call) Run added in v0.24.0

Jump to

Keyboard shortcuts

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