Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAgency
- func (m *MockAgency) AddAgent(agent *model.Agent) error
- func (m *MockAgency) Connect(a *model.Agent, invitation string) (string, error)
- func (m *MockAgency) EXPECT() *MockAgencyMockRecorder
- func (m *MockAgency) Init(l model.Listener, agents []*model.Agent, archiver model.Archiver, ...)
- func (m *MockAgency) Invite(a *model.Agent) (string, string, error)
- func (m *MockAgency) ResumeCredentialOffer(a *model.Agent, job *model.JobInfo, accept bool) error
- func (m *MockAgency) ResumeProofRequest(a *model.Agent, job *model.JobInfo, accept bool) error
- func (m *MockAgency) SendMessage(a *model.Agent, connectionID, message string) (string, error)
- type MockAgencyMockRecorder
- func (mr *MockAgencyMockRecorder) AddAgent(agent interface{}) *gomock.Call
- func (mr *MockAgencyMockRecorder) Connect(a, invitation interface{}) *gomock.Call
- func (mr *MockAgencyMockRecorder) Init(l, agents, archiver, config interface{}) *gomock.Call
- func (mr *MockAgencyMockRecorder) Invite(a interface{}) *gomock.Call
- func (mr *MockAgencyMockRecorder) ResumeCredentialOffer(a, job, accept interface{}) *gomock.Call
- func (mr *MockAgencyMockRecorder) ResumeProofRequest(a, job, accept interface{}) *gomock.Call
- func (mr *MockAgencyMockRecorder) SendMessage(a, connectionID, message interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAgency ¶ added in v0.1.17
type MockAgency struct {
// contains filtered or unexported fields
}
MockAgency is a mock of Agency interface
func NewMockAgency ¶ added in v0.1.17
func NewMockAgency(ctrl *gomock.Controller) *MockAgency
NewMockAgency creates a new mock instance
func (*MockAgency) AddAgent ¶ added in v0.1.17
func (m *MockAgency) AddAgent(agent *model.Agent) error
AddAgent mocks base method
func (*MockAgency) EXPECT ¶ added in v0.1.17
func (m *MockAgency) EXPECT() *MockAgencyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAgency) Init ¶ added in v0.1.17
func (m *MockAgency) Init(l model.Listener, agents []*model.Agent, archiver model.Archiver, config *utils.Configuration)
Init mocks base method
func (*MockAgency) ResumeCredentialOffer ¶ added in v0.1.17
ResumeCredentialOffer mocks base method
func (*MockAgency) ResumeProofRequest ¶ added in v0.1.17
ResumeProofRequest mocks base method
func (*MockAgency) SendMessage ¶ added in v0.1.17
SendMessage mocks base method
type MockAgencyMockRecorder ¶ added in v0.1.17
type MockAgencyMockRecorder struct {
// contains filtered or unexported fields
}
MockAgencyMockRecorder is the mock recorder for MockAgency
func (*MockAgencyMockRecorder) AddAgent ¶ added in v0.1.17
func (mr *MockAgencyMockRecorder) AddAgent(agent interface{}) *gomock.Call
AddAgent indicates an expected call of AddAgent
func (*MockAgencyMockRecorder) Connect ¶ added in v0.1.17
func (mr *MockAgencyMockRecorder) Connect(a, invitation interface{}) *gomock.Call
Connect indicates an expected call of Connect
func (*MockAgencyMockRecorder) Init ¶ added in v0.1.17
func (mr *MockAgencyMockRecorder) Init(l, agents, archiver, config interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockAgencyMockRecorder) Invite ¶ added in v0.1.17
func (mr *MockAgencyMockRecorder) Invite(a interface{}) *gomock.Call
Invite indicates an expected call of Invite
func (*MockAgencyMockRecorder) ResumeCredentialOffer ¶ added in v0.1.17
func (mr *MockAgencyMockRecorder) ResumeCredentialOffer(a, job, accept interface{}) *gomock.Call
ResumeCredentialOffer indicates an expected call of ResumeCredentialOffer
func (*MockAgencyMockRecorder) ResumeProofRequest ¶ added in v0.1.17
func (mr *MockAgencyMockRecorder) ResumeProofRequest(a, job, accept interface{}) *gomock.Call
ResumeProofRequest indicates an expected call of ResumeProofRequest
func (*MockAgencyMockRecorder) SendMessage ¶ added in v0.1.17
func (mr *MockAgencyMockRecorder) SendMessage(a, connectionID, message interface{}) *gomock.Call
SendMessage indicates an expected call of SendMessage