mock

package
v0.1.47 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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) Connect added in v0.1.17

func (m *MockAgency) Connect(a *model.Agent, invitation string) (string, error)

Connect 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) Invite added in v0.1.17

func (m *MockAgency) Invite(a *model.Agent) (*model.InvitationData, error)

Invite mocks base method.

func (*MockAgency) ResumeCredentialOffer added in v0.1.17

func (m *MockAgency) ResumeCredentialOffer(a *model.Agent, job *model.JobInfo, accept bool) error

ResumeCredentialOffer mocks base method.

func (*MockAgency) ResumeProofRequest added in v0.1.17

func (m *MockAgency) ResumeProofRequest(a *model.Agent, job *model.JobInfo, accept bool) error

ResumeProofRequest mocks base method.

func (*MockAgency) SendMessage added in v0.1.17

func (m *MockAgency) SendMessage(a *model.Agent, connectionID, message string) (string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL