Documentation ¶
Index ¶
- type Provider
- type Store
- func (_m *Store) AddWebhook(hook *datastore.Webhook) error
- func (_m *Store) DeleteAgent(name string) error
- func (_m *Store) DeleteAgentConnection(a *datastore.Agent, externalID string) error
- func (_m *Store) DeleteCredentialByOffer(offerID string) error
- func (_m *Store) DeleteSchema(name string) error
- func (_m *Store) DeleteWebhook(typ string) error
- func (_m *Store) FindCredentialByProtocolID(offerID string) (*datastore.IssuedCredential, error)
- func (_m *Store) GetAgent(id string) (*datastore.Agent, error)
- func (_m *Store) GetAgentByPublicDID(DID string) (*datastore.Agent, error)
- func (_m *Store) GetAgentConnection(a *datastore.Agent, externalID string) (*datastore.AgentConnection, error)
- func (_m *Store) GetAgentConnectionForDID(a *datastore.Agent, theirDID string) (*datastore.AgentConnection, error)
- func (_m *Store) GetDID(id string) (*datastore.DID, error)
- func (_m *Store) GetPresentationRequest(ID string) (*datastore.PresentationRequest, error)
- func (_m *Store) GetPublicDID() (*datastore.DID, error)
- func (_m *Store) GetSchema(name string) (*datastore.Schema, error)
- func (_m *Store) GetSchemaByExternalID(externalID string) (*datastore.Schema, error)
- func (_m *Store) InsertAgent(a *datastore.Agent) (string, error)
- func (_m *Store) InsertAgentConnection(a *datastore.Agent, externalID string, conn *didexchange.Connection) error
- func (_m *Store) InsertCredential(c *datastore.IssuedCredential) (string, error)
- func (_m *Store) InsertDID(d *datastore.DID) error
- func (_m *Store) InsertPresentation(p *datastore.Presentation) (string, error)
- func (_m *Store) InsertPresentationRequest(pr *datastore.PresentationRequest) (string, error)
- func (_m *Store) InsertSchema(s *datastore.Schema) (string, error)
- func (_m *Store) ListAgent(c *datastore.AgentCriteria) (*datastore.AgentList, error)
- func (_m *Store) ListAgentConnections(a *datastore.Agent) ([]*datastore.AgentConnection, error)
- func (_m *Store) ListDIDs(c *datastore.DIDCriteria) (*datastore.DIDList, error)
- func (_m *Store) ListSchema(c *datastore.SchemaCriteria) (*datastore.SchemaList, error)
- func (_m *Store) ListWebhooks(typ string) ([]*datastore.Webhook, error)
- func (_m *Store) SetPublicDID(DID *datastore.DID) error
- func (_m *Store) UpdateAgent(a *datastore.Agent) error
- func (_m *Store) UpdateCredential(c *datastore.IssuedCredential) error
- func (_m *Store) UpdateSchema(s *datastore.Schema) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is an autogenerated mock type for the Provider type
type Store ¶
Store is an autogenerated mock type for the Store type
func (*Store) AddWebhook ¶
AddWebhook provides a mock function with given fields: hook
func (*Store) DeleteAgent ¶
DeleteAgent provides a mock function with given fields: name
func (*Store) DeleteAgentConnection ¶
DeleteAgentConnection provides a mock function with given fields: a, externalID
func (*Store) DeleteCredentialByOffer ¶
DeleteCredentialByOffer provides a mock function with given fields: offerID
func (*Store) DeleteSchema ¶
DeleteSchema provides a mock function with given fields: name
func (*Store) DeleteWebhook ¶
DeleteWebhook provides a mock function with given fields: typ
func (*Store) FindCredentialByProtocolID ¶
func (_m *Store) FindCredentialByProtocolID(offerID string) (*datastore.IssuedCredential, error)
FindCredentialByProtocolID provides a mock function with given fields: offerID
func (*Store) GetAgentByPublicDID ¶
GetAgentByPublicDID provides a mock function with given fields: DID
func (*Store) GetAgentConnection ¶
func (_m *Store) GetAgentConnection(a *datastore.Agent, externalID string) (*datastore.AgentConnection, error)
GetAgentConnection provides a mock function with given fields: a, externalID
func (*Store) GetAgentConnectionForDID ¶
func (_m *Store) GetAgentConnectionForDID(a *datastore.Agent, theirDID string) (*datastore.AgentConnection, error)
GetAgentConnectionForDID provides a mock function with given fields: a, theirDID
func (*Store) GetPresentationRequest ¶
func (_m *Store) GetPresentationRequest(ID string) (*datastore.PresentationRequest, error)
GetPresentationRequest provides a mock function with given fields: ID
func (*Store) GetPublicDID ¶
GetPublicDID provides a mock function with given fields:
func (*Store) GetSchemaByExternalID ¶
GetSchemaByExternalID provides a mock function with given fields: externalID
func (*Store) InsertAgent ¶
InsertAgent provides a mock function with given fields: a
func (*Store) InsertAgentConnection ¶
func (_m *Store) InsertAgentConnection(a *datastore.Agent, externalID string, conn *didexchange.Connection) error
InsertAgentConnection provides a mock function with given fields: a, externalID, conn
func (*Store) InsertCredential ¶
func (_m *Store) InsertCredential(c *datastore.IssuedCredential) (string, error)
InsertCredential provides a mock function with given fields: c
func (*Store) InsertPresentation ¶
func (_m *Store) InsertPresentation(p *datastore.Presentation) (string, error)
InsertPresentation provides a mock function with given fields: p
func (*Store) InsertPresentationRequest ¶
func (_m *Store) InsertPresentationRequest(pr *datastore.PresentationRequest) (string, error)
InsertPresentationRequest provides a mock function with given fields: pr
func (*Store) InsertSchema ¶
InsertSchema provides a mock function with given fields: s
func (*Store) ListAgentConnections ¶
ListAgentConnections provides a mock function with given fields: a
func (*Store) ListSchema ¶
func (_m *Store) ListSchema(c *datastore.SchemaCriteria) (*datastore.SchemaList, error)
ListSchema provides a mock function with given fields: c
func (*Store) ListWebhooks ¶
ListWebhooks provides a mock function with given fields: typ
func (*Store) SetPublicDID ¶
SetPublicDID provides a mock function with given fields: DID
func (*Store) UpdateAgent ¶
UpdateAgent provides a mock function with given fields: a
func (*Store) UpdateCredential ¶
func (_m *Store) UpdateCredential(c *datastore.IssuedCredential) error
UpdateCredential provides a mock function with given fields: c