mocks

package
v0.0.0-...-b3a6efc Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 12 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 testing.TB) *Client

NewClient creates a new instance of Client. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

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 QueryClient

type QueryClient struct {
	mock.Mock
}

QueryClient is an autogenerated mock type for the QueryClient type

func NewQueryClient

func NewQueryClient(t testing.TB) *QueryClient

NewQueryClient creates a new instance of QueryClient. It also registers the testing.TB 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) 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

Jump to

Keyboard shortcuts

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