Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) GetDIDDocForIndentityByDID(ctx context.Context, did string) (*networkmap.DIDDocument, error)
- func (_m *Manager) GetDIDDocForIndentityByID(ctx context.Context, id string) (*networkmap.DIDDocument, error)
- func (_m *Manager) GetIdentities(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)
- func (_m *Manager) GetIdentitiesWithVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.IdentityWithVerifiers, *ffapi.FilterResult, error)
- func (_m *Manager) GetIdentityByDID(ctx context.Context, did string) (*core.Identity, error)
- func (_m *Manager) GetIdentityByDIDWithVerifiers(ctx context.Context, did string) (*core.IdentityWithVerifiers, error)
- func (_m *Manager) GetIdentityByID(ctx context.Context, id string) (*core.Identity, error)
- func (_m *Manager) GetIdentityByIDWithVerifiers(ctx context.Context, id string) (*core.IdentityWithVerifiers, error)
- func (_m *Manager) GetIdentityVerifiers(ctx context.Context, id string, filter ffapi.AndFilter) ([]*core.Verifier, *ffapi.FilterResult, error)
- func (_m *Manager) GetNodeByNameOrID(ctx context.Context, nameOrID string) (*core.Identity, error)
- func (_m *Manager) GetNodes(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)
- func (_m *Manager) GetOrganizationByNameOrID(ctx context.Context, nameOrID string) (*core.Identity, error)
- func (_m *Manager) GetOrganizations(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)
- func (_m *Manager) GetOrganizationsWithVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.IdentityWithVerifiers, *ffapi.FilterResult, error)
- func (_m *Manager) GetVerifierByHash(ctx context.Context, hash string) (*core.Verifier, error)
- func (_m *Manager) GetVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.Verifier, *ffapi.FilterResult, error)
- func (_m *Manager) RegisterIdentity(ctx context.Context, dto *core.IdentityCreateDTO, waitConfirm bool) (*core.Identity, error)
- func (_m *Manager) RegisterNode(ctx context.Context, waitConfirm bool) (*core.Identity, error)
- func (_m *Manager) RegisterNodeOrganization(ctx context.Context, waitConfirm bool) (*core.Identity, error)
- func (_m *Manager) RegisterOrganization(ctx context.Context, org *core.IdentityCreateDTO, waitConfirm bool) (*core.Identity, error)
- func (_m *Manager) UpdateIdentity(ctx context.Context, id string, dto *core.IdentityUpdateDTO, waitConfirm bool) (*core.Identity, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶ added in v1.1.2
func NewManager(t mockConstructorTestingTNewManager) *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.
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
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
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
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
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 ¶
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