networkmapmocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.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 Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager added in v1.1.2

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) GetDIDDocForIndentityByDID added in v1.0.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v1.0.0

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 added in v0.14.0

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 added in v1.0.0

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 added in v0.14.0

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 added in v1.0.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v1.0.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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