mock

package
v0.46.2-util-remove-ex... Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionFactory

type ConnectionFactory struct {
	mock.Mock
}

ConnectionFactory is an autogenerated mock type for the ConnectionFactory type

func NewConnectionFactory

func NewConnectionFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConnectionFactory

NewConnectionFactory creates a new instance of ConnectionFactory. 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 (*ConnectionFactory) EXPECT added in v0.46.0

func (*ConnectionFactory) GetAccessAPIClientWithPort

func (_mock *ConnectionFactory) GetAccessAPIClientWithPort(address string, networkPubKey crypto.PublicKey) (access.AccessAPIClient, io.Closer, error)

GetAccessAPIClientWithPort provides a mock function for the type ConnectionFactory

func (*ConnectionFactory) GetCollectionAPIClient added in v0.43.0

func (_mock *ConnectionFactory) GetCollectionAPIClient(address string, networkPubKey crypto.PublicKey) (access.AccessAPIClient, io.Closer, error)

GetCollectionAPIClient provides a mock function for the type ConnectionFactory

func (*ConnectionFactory) GetExecutionAPIClient

func (_mock *ConnectionFactory) GetExecutionAPIClient(address string) (execution.ExecutionAPIClient, io.Closer, error)

GetExecutionAPIClient provides a mock function for the type ConnectionFactory

type ConnectionFactory_Expecter added in v0.46.0

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

func (*ConnectionFactory_Expecter) GetAccessAPIClientWithPort added in v0.46.0

func (_e *ConnectionFactory_Expecter) GetAccessAPIClientWithPort(address interface{}, networkPubKey interface{}) *ConnectionFactory_GetAccessAPIClientWithPort_Call

GetAccessAPIClientWithPort is a helper method to define mock.On call

  • address string
  • networkPubKey crypto.PublicKey

func (*ConnectionFactory_Expecter) GetCollectionAPIClient added in v0.46.0

func (_e *ConnectionFactory_Expecter) GetCollectionAPIClient(address interface{}, networkPubKey interface{}) *ConnectionFactory_GetCollectionAPIClient_Call

GetCollectionAPIClient is a helper method to define mock.On call

  • address string
  • networkPubKey crypto.PublicKey

func (*ConnectionFactory_Expecter) GetExecutionAPIClient added in v0.46.0

func (_e *ConnectionFactory_Expecter) GetExecutionAPIClient(address interface{}) *ConnectionFactory_GetExecutionAPIClient_Call

GetExecutionAPIClient is a helper method to define mock.On call

  • address string

type ConnectionFactory_GetAccessAPIClientWithPort_Call added in v0.46.0

type ConnectionFactory_GetAccessAPIClientWithPort_Call struct {
	*mock.Call
}

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

func (*ConnectionFactory_GetAccessAPIClientWithPort_Call) Return added in v0.46.0

func (*ConnectionFactory_GetAccessAPIClientWithPort_Call) Run added in v0.46.0

func (*ConnectionFactory_GetAccessAPIClientWithPort_Call) RunAndReturn added in v0.46.0

type ConnectionFactory_GetCollectionAPIClient_Call added in v0.46.0

type ConnectionFactory_GetCollectionAPIClient_Call struct {
	*mock.Call
}

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

func (*ConnectionFactory_GetCollectionAPIClient_Call) Return added in v0.46.0

func (*ConnectionFactory_GetCollectionAPIClient_Call) Run added in v0.46.0

func (*ConnectionFactory_GetCollectionAPIClient_Call) RunAndReturn added in v0.46.0

type ConnectionFactory_GetExecutionAPIClient_Call added in v0.46.0

type ConnectionFactory_GetExecutionAPIClient_Call struct {
	*mock.Call
}

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

func (*ConnectionFactory_GetExecutionAPIClient_Call) Return added in v0.46.0

func (*ConnectionFactory_GetExecutionAPIClient_Call) Run added in v0.46.0

func (*ConnectionFactory_GetExecutionAPIClient_Call) RunAndReturn added in v0.46.0

Jump to

Keyboard shortcuts

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