apps_registry_mock

package
v0.0.0-...-9f5e8be Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsRegistryService

type AppsRegistryService struct {
	mock.Mock
}

AppsRegistryService is an autogenerated mock type for the AppsRegistryService type

func NewAppsRegistryService

func NewAppsRegistryService(t interface {
	mock.TestingT
	Cleanup(func())
}) *AppsRegistryService

NewAppsRegistryService creates a new instance of AppsRegistryService. 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 (*AppsRegistryService) EXPECT

func (*AppsRegistryService) GetApplicationByPublicKey

func (_m *AppsRegistryService) GetApplicationByPublicKey(publicKey string) (*models.PoktApplicationSigner, bool)

GetApplicationByPublicKey provides a mock function with given fields: publicKey

func (*AppsRegistryService) GetApplications

func (_m *AppsRegistryService) GetApplications() []*models.PoktApplicationSigner

GetApplications provides a mock function with given fields:

func (*AppsRegistryService) GetApplicationsByChainId

func (_m *AppsRegistryService) GetApplicationsByChainId(chainId string) ([]*models.PoktApplicationSigner, bool)

GetApplicationsByChainId provides a mock function with given fields: chainId

type AppsRegistryService_Expecter

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

func (*AppsRegistryService_Expecter) GetApplicationByPublicKey

func (_e *AppsRegistryService_Expecter) GetApplicationByPublicKey(publicKey interface{}) *AppsRegistryService_GetApplicationByPublicKey_Call

GetApplicationByPublicKey is a helper method to define mock.On call

  • publicKey string

func (*AppsRegistryService_Expecter) GetApplications

GetApplications is a helper method to define mock.On call

func (*AppsRegistryService_Expecter) GetApplicationsByChainId

func (_e *AppsRegistryService_Expecter) GetApplicationsByChainId(chainId interface{}) *AppsRegistryService_GetApplicationsByChainId_Call

GetApplicationsByChainId is a helper method to define mock.On call

  • chainId string

type AppsRegistryService_GetApplicationByPublicKey_Call

type AppsRegistryService_GetApplicationByPublicKey_Call struct {
	*mock.Call
}

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

func (*AppsRegistryService_GetApplicationByPublicKey_Call) Return

func (*AppsRegistryService_GetApplicationByPublicKey_Call) Run

func (*AppsRegistryService_GetApplicationByPublicKey_Call) RunAndReturn

type AppsRegistryService_GetApplicationsByChainId_Call

type AppsRegistryService_GetApplicationsByChainId_Call struct {
	*mock.Call
}

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

func (*AppsRegistryService_GetApplicationsByChainId_Call) Return

func (*AppsRegistryService_GetApplicationsByChainId_Call) Run

func (*AppsRegistryService_GetApplicationsByChainId_Call) RunAndReturn

type AppsRegistryService_GetApplications_Call

type AppsRegistryService_GetApplications_Call struct {
	*mock.Call
}

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

func (*AppsRegistryService_GetApplications_Call) Return

func (*AppsRegistryService_GetApplications_Call) Run

func (*AppsRegistryService_GetApplications_Call) RunAndReturn

Jump to

Keyboard shortcuts

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