networkmapmocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. 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 (*Manager) CheckNodeIdentityStatus

func (_m *Manager) CheckNodeIdentityStatus(ctx context.Context) error

CheckNodeIdentityStatus provides a mock function with given fields: ctx

func (*Manager) GetDIDDocForIndentityByDID

func (_m *Manager) GetDIDDocForIndentityByDID(ctx context.Context, did string) (*networkmap.DIDDocument, error)

GetDIDDocForIndentityByDID provides a mock function with given fields: ctx, did

func (*Manager) GetDIDDocForIndentityByID

func (_m *Manager) GetDIDDocForIndentityByID(ctx context.Context, id string) (*networkmap.DIDDocument, error)

GetDIDDocForIndentityByID provides a mock function with given fields: ctx, id

func (*Manager) GetIdentities

func (_m *Manager) GetIdentities(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)

GetIdentities provides a mock function with given fields: ctx, filter

func (*Manager) GetIdentitiesWithVerifiers

func (_m *Manager) GetIdentitiesWithVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.IdentityWithVerifiers, *ffapi.FilterResult, error)

GetIdentitiesWithVerifiers provides a mock function with given fields: ctx, filter

func (*Manager) GetIdentityByDID

func (_m *Manager) GetIdentityByDID(ctx context.Context, did string) (*core.Identity, error)

GetIdentityByDID provides a mock function with given fields: ctx, did

func (*Manager) GetIdentityByDIDWithVerifiers

func (_m *Manager) GetIdentityByDIDWithVerifiers(ctx context.Context, did string) (*core.IdentityWithVerifiers, error)

GetIdentityByDIDWithVerifiers provides a mock function with given fields: ctx, did

func (*Manager) GetIdentityByID

func (_m *Manager) GetIdentityByID(ctx context.Context, id string) (*core.Identity, error)

GetIdentityByID provides a mock function with given fields: ctx, id

func (*Manager) GetIdentityByIDWithVerifiers

func (_m *Manager) GetIdentityByIDWithVerifiers(ctx context.Context, id string) (*core.IdentityWithVerifiers, error)

GetIdentityByIDWithVerifiers provides a mock function with given fields: ctx, id

func (*Manager) GetIdentityVerifiers

func (_m *Manager) GetIdentityVerifiers(ctx context.Context, id string, filter ffapi.AndFilter) ([]*core.Verifier, *ffapi.FilterResult, error)

GetIdentityVerifiers provides a mock function with given fields: ctx, id, filter

func (*Manager) GetNodeByNameOrID

func (_m *Manager) GetNodeByNameOrID(ctx context.Context, nameOrID string) (*core.Identity, error)

GetNodeByNameOrID provides a mock function with given fields: ctx, nameOrID

func (*Manager) GetNodes

func (_m *Manager) GetNodes(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)

GetNodes provides a mock function with given fields: ctx, filter

func (*Manager) GetOrganizationByNameOrID

func (_m *Manager) GetOrganizationByNameOrID(ctx context.Context, nameOrID string) (*core.Identity, error)

GetOrganizationByNameOrID provides a mock function with given fields: ctx, nameOrID

func (*Manager) GetOrganizations

func (_m *Manager) GetOrganizations(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)

GetOrganizations provides a mock function with given fields: ctx, filter

func (*Manager) GetOrganizationsWithVerifiers

func (_m *Manager) GetOrganizationsWithVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.IdentityWithVerifiers, *ffapi.FilterResult, error)

GetOrganizationsWithVerifiers provides a mock function with given fields: ctx, filter

func (*Manager) GetVerifierByHash

func (_m *Manager) GetVerifierByHash(ctx context.Context, hash string) (*core.Verifier, error)

GetVerifierByHash provides a mock function with given fields: ctx, hash

func (*Manager) GetVerifiers

func (_m *Manager) GetVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.Verifier, *ffapi.FilterResult, error)

GetVerifiers provides a mock function with given fields: ctx, filter

func (*Manager) RegisterIdentity

func (_m *Manager) RegisterIdentity(ctx context.Context, dto *core.IdentityCreateDTO, waitConfirm bool) (*core.Identity, error)

RegisterIdentity provides a mock function with given fields: ctx, dto, waitConfirm

func (*Manager) RegisterNode

func (_m *Manager) RegisterNode(ctx context.Context, waitConfirm bool) (*core.Identity, error)

RegisterNode provides a mock function with given fields: ctx, waitConfirm

func (*Manager) RegisterNodeOrganization

func (_m *Manager) RegisterNodeOrganization(ctx context.Context, waitConfirm bool) (*core.Identity, error)

RegisterNodeOrganization provides a mock function with given fields: ctx, waitConfirm

func (*Manager) RegisterOrganization

func (_m *Manager) RegisterOrganization(ctx context.Context, org *core.IdentityCreateDTO, waitConfirm bool) (*core.Identity, error)

RegisterOrganization provides a mock function with given fields: ctx, org, waitConfirm

func (*Manager) UpdateIdentity

func (_m *Manager) UpdateIdentity(ctx context.Context, id string, dto *core.IdentityUpdateDTO, waitConfirm bool) (*core.Identity, error)

UpdateIdentity provides a mock function with given fields: ctx, id, dto, waitConfirm

Jump to

Keyboard shortcuts

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