Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) GetDIDDocForIndentityByDID(ctx context.Context, did string) (*networkmap.DIDDocument, error)
- func (_m *Manager) GetDIDDocForIndentityByID(ctx context.Context, ns string, id string) (*networkmap.DIDDocument, error)
- func (_m *Manager) GetIdentities(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.Identity, *database.FilterResult, error)
- func (_m *Manager) GetIdentitiesGlobal(ctx context.Context, filter database.AndFilter) ([]*fftypes.Identity, *database.FilterResult, error)
- func (_m *Manager) GetIdentitiesWithVerifiers(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.IdentityWithVerifiers, *database.FilterResult, error)
- func (_m *Manager) GetIdentitiesWithVerifiersGlobal(ctx context.Context, filter database.AndFilter) ([]*fftypes.IdentityWithVerifiers, *database.FilterResult, error)
- func (_m *Manager) GetIdentityByDID(ctx context.Context, did string) (*fftypes.Identity, error)
- func (_m *Manager) GetIdentityByDIDWithVerifiers(ctx context.Context, did string) (*fftypes.IdentityWithVerifiers, error)
- func (_m *Manager) GetIdentityByID(ctx context.Context, ns string, id string) (*fftypes.Identity, error)
- func (_m *Manager) GetIdentityByIDWithVerifiers(ctx context.Context, ns string, id string) (*fftypes.IdentityWithVerifiers, error)
- func (_m *Manager) GetIdentityVerifiers(ctx context.Context, ns string, id string, filter database.AndFilter) ([]*fftypes.Verifier, *database.FilterResult, error)
- func (_m *Manager) GetNodeByNameOrID(ctx context.Context, nameOrID string) (*fftypes.Identity, error)
- func (_m *Manager) GetNodes(ctx context.Context, filter database.AndFilter) ([]*fftypes.Identity, *database.FilterResult, error)
- func (_m *Manager) GetOrganizationByNameOrID(ctx context.Context, nameOrID string) (*fftypes.Identity, error)
- func (_m *Manager) GetOrganizations(ctx context.Context, filter database.AndFilter) ([]*fftypes.Identity, *database.FilterResult, error)
- func (_m *Manager) GetOrganizationsWithVerifiers(ctx context.Context, filter database.AndFilter) ([]*fftypes.IdentityWithVerifiers, *database.FilterResult, error)
- func (_m *Manager) GetVerifierByHash(ctx context.Context, ns string, hash string) (*fftypes.Verifier, error)
- func (_m *Manager) GetVerifiers(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.Verifier, *database.FilterResult, error)
- func (_m *Manager) RegisterIdentity(ctx context.Context, ns string, dto *fftypes.IdentityCreateDTO, ...) (*fftypes.Identity, error)
- func (_m *Manager) RegisterNode(ctx context.Context, waitConfirm bool) (*fftypes.Identity, error)
- func (_m *Manager) RegisterNodeOrganization(ctx context.Context, waitConfirm bool) (*fftypes.Identity, error)
- func (_m *Manager) RegisterOrganization(ctx context.Context, org *fftypes.IdentityCreateDTO, waitConfirm bool) (*fftypes.Identity, error)
- func (_m *Manager) UpdateIdentity(ctx context.Context, ns string, id string, dto *fftypes.IdentityUpdateDTO, ...) (*fftypes.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 (*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, ns string, id string) (*networkmap.DIDDocument, error)
GetDIDDocForIndentityByID provides a mock function with given fields: ctx, ns, id
func (*Manager) GetIdentities ¶ added in v0.14.0
func (_m *Manager) GetIdentities(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.Identity, *database.FilterResult, error)
GetIdentities provides a mock function with given fields: ctx, ns, filter
func (*Manager) GetIdentitiesGlobal ¶ added in v1.0.0
func (_m *Manager) GetIdentitiesGlobal(ctx context.Context, filter database.AndFilter) ([]*fftypes.Identity, *database.FilterResult, error)
GetIdentitiesGlobal provides a mock function with given fields: ctx, filter
func (*Manager) GetIdentitiesWithVerifiers ¶ added in v1.0.0
func (_m *Manager) GetIdentitiesWithVerifiers(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.IdentityWithVerifiers, *database.FilterResult, error)
GetIdentitiesWithVerifiers provides a mock function with given fields: ctx, ns, filter
func (*Manager) GetIdentitiesWithVerifiersGlobal ¶ added in v1.0.0
func (_m *Manager) GetIdentitiesWithVerifiersGlobal(ctx context.Context, filter database.AndFilter) ([]*fftypes.IdentityWithVerifiers, *database.FilterResult, error)
GetIdentitiesWithVerifiersGlobal 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) (*fftypes.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, ns string, id string) (*fftypes.Identity, error)
GetIdentityByID provides a mock function with given fields: ctx, ns, id
func (*Manager) GetIdentityByIDWithVerifiers ¶ added in v1.0.0
func (_m *Manager) GetIdentityByIDWithVerifiers(ctx context.Context, ns string, id string) (*fftypes.IdentityWithVerifiers, error)
GetIdentityByIDWithVerifiers provides a mock function with given fields: ctx, ns, id
func (*Manager) GetIdentityVerifiers ¶ added in v0.14.0
func (_m *Manager) GetIdentityVerifiers(ctx context.Context, ns string, id string, filter database.AndFilter) ([]*fftypes.Verifier, *database.FilterResult, error)
GetIdentityVerifiers provides a mock function with given fields: ctx, ns, id, filter
func (*Manager) GetNodeByNameOrID ¶ added in v0.14.0
func (_m *Manager) GetNodeByNameOrID(ctx context.Context, nameOrID string) (*fftypes.Identity, error)
GetNodeByNameOrID provides a mock function with given fields: ctx, nameOrID
func (*Manager) GetNodes ¶
func (_m *Manager) GetNodes(ctx context.Context, filter database.AndFilter) ([]*fftypes.Identity, *database.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) (*fftypes.Identity, error)
GetOrganizationByNameOrID provides a mock function with given fields: ctx, nameOrID
func (*Manager) GetOrganizations ¶
func (_m *Manager) GetOrganizations(ctx context.Context, filter database.AndFilter) ([]*fftypes.Identity, *database.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 database.AndFilter) ([]*fftypes.IdentityWithVerifiers, *database.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, ns string, hash string) (*fftypes.Verifier, error)
GetVerifierByHash provides a mock function with given fields: ctx, ns, hash
func (*Manager) GetVerifiers ¶ added in v0.14.0
func (_m *Manager) GetVerifiers(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.Verifier, *database.FilterResult, error)
GetVerifiers provides a mock function with given fields: ctx, ns, filter
func (*Manager) RegisterIdentity ¶ added in v0.14.0
func (_m *Manager) RegisterIdentity(ctx context.Context, ns string, dto *fftypes.IdentityCreateDTO, waitConfirm bool) (*fftypes.Identity, error)
RegisterIdentity provides a mock function with given fields: ctx, ns, 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) (*fftypes.Identity, error)
RegisterNodeOrganization provides a mock function with given fields: ctx, waitConfirm