mocks

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: BSD-3-Clause Imports: 5 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 (*Client) GetBlockchainID

func (_m *Client) GetBlockchainID(_a0 context.Context, _a1 string, _a2 ...rpc.Option) (ids.ID, error)

GetBlockchainID provides a mock function with given fields: _a0, _a1, _a2

func (*Client) GetNetworkID

func (_m *Client) GetNetworkID(_a0 context.Context, _a1 ...rpc.Option) (uint32, error)

GetNetworkID provides a mock function with given fields: _a0, _a1

func (*Client) GetNetworkName

func (_m *Client) GetNetworkName(_a0 context.Context, _a1 ...rpc.Option) (string, error)

GetNetworkName provides a mock function with given fields: _a0, _a1

func (*Client) GetNodeID

func (_m *Client) GetNodeID(_a0 context.Context, _a1 ...rpc.Option) (string, error)

GetNodeID provides a mock function with given fields: _a0, _a1

func (*Client) GetNodeIP

func (_m *Client) GetNodeIP(_a0 context.Context, _a1 ...rpc.Option) (string, error)

GetNodeIP provides a mock function with given fields: _a0, _a1

func (*Client) GetNodeVersion

func (_m *Client) GetNodeVersion(_a0 context.Context, _a1 ...rpc.Option) (*info.GetNodeVersionReply, error)

GetNodeVersion provides a mock function with given fields: _a0, _a1

func (*Client) GetTxFee

func (_m *Client) GetTxFee(_a0 context.Context, _a1 ...rpc.Option) (*info.GetTxFeeResponse, error)

GetTxFee provides a mock function with given fields: _a0, _a1

func (*Client) GetVMs

func (_m *Client) GetVMs(_a0 context.Context, _a1 ...rpc.Option) (map[ids.ID][]string, error)

GetVMs provides a mock function with given fields: _a0, _a1

func (*Client) IsBootstrapped

func (_m *Client) IsBootstrapped(_a0 context.Context, _a1 string, _a2 ...rpc.Option) (bool, error)

IsBootstrapped provides a mock function with given fields: _a0, _a1, _a2

func (*Client) Peers

func (_m *Client) Peers(_a0 context.Context, _a1 ...rpc.Option) ([]info.Peer, error)

Peers provides a mock function with given fields: _a0, _a1

func (*Client) Uptime

func (_m *Client) Uptime(_a0 context.Context, _a1 ...rpc.Option) (*info.UptimeResponse, error)

Uptime provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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