Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRegistry
- func (m *MockRegistry) Close() error
- func (m *MockRegistry) Create(arg0 string, arg1 *did.Doc, arg2 ...vdr.DIDMethodOption) (*did.DocResolution, error)
- func (m *MockRegistry) Deactivate(arg0 string, arg1 ...vdr.DIDMethodOption) error
- func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
- func (m *MockRegistry) Resolve(arg0 string, arg1 ...vdr.DIDMethodOption) (*did.DocResolution, error)
- func (m *MockRegistry) Update(arg0 *did.Doc, arg1 ...vdr.DIDMethodOption) error
- type MockRegistryMockRecorder
- func (mr *MockRegistryMockRecorder) Close() *gomock.Call
- func (mr *MockRegistryMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistryMockRecorder) Deactivate(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRegistryMockRecorder) Resolve(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRegistryMockRecorder) Update(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRegistry ¶
type MockRegistry struct {
// contains filtered or unexported fields
}
MockRegistry is a mock of Registry interface.
func NewMockRegistry ¶
func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry
NewMockRegistry creates a new mock instance.
func (*MockRegistry) Create ¶
func (m *MockRegistry) Create(arg0 string, arg1 *did.Doc, arg2 ...vdr.DIDMethodOption) (*did.DocResolution, error)
Create mocks base method.
func (*MockRegistry) Deactivate ¶
func (m *MockRegistry) Deactivate(arg0 string, arg1 ...vdr.DIDMethodOption) error
Deactivate mocks base method.
func (*MockRegistry) EXPECT ¶
func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistry) Resolve ¶
func (m *MockRegistry) Resolve(arg0 string, arg1 ...vdr.DIDMethodOption) (*did.DocResolution, error)
Resolve mocks base method.
func (*MockRegistry) Update ¶
func (m *MockRegistry) Update(arg0 *did.Doc, arg1 ...vdr.DIDMethodOption) error
Update mocks base method.
type MockRegistryMockRecorder ¶
type MockRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryMockRecorder is the mock recorder for MockRegistry.
func (*MockRegistryMockRecorder) Close ¶
func (mr *MockRegistryMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRegistryMockRecorder) Create ¶
func (mr *MockRegistryMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockRegistryMockRecorder) Deactivate ¶
func (mr *MockRegistryMockRecorder) Deactivate(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Deactivate indicates an expected call of Deactivate.
func (*MockRegistryMockRecorder) Resolve ¶
func (mr *MockRegistryMockRecorder) Resolve(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Resolve indicates an expected call of Resolve.
func (*MockRegistryMockRecorder) Update ¶
func (mr *MockRegistryMockRecorder) Update(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.