Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
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 MockDHTer ¶ added in v0.3.1
type MockDHTer struct {
// contains filtered or unexported fields
}
MockDHTer is a mock of DHTer interface
func NewMockDHTer ¶ added in v0.3.1
func NewMockDHTer(ctrl *gomock.Controller) *MockDHTer
NewMockDHTer creates a new mock instance
func (*MockDHTer) EXPECT ¶ added in v0.3.1
func (m *MockDHTer) EXPECT() *MockDHTerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDHTer) GetDefaultBootstrapPeerAddrInfos ¶ added in v0.3.1
GetDefaultBootstrapPeerAddrInfos mocks base method
type MockDHTerMockRecorder ¶ added in v0.3.1
type MockDHTerMockRecorder struct {
// contains filtered or unexported fields
}
MockDHTerMockRecorder is the mock recorder for MockDHTer
func (*MockDHTerMockRecorder) GetDefaultBootstrapPeerAddrInfos ¶ added in v0.3.1
func (mr *MockDHTerMockRecorder) GetDefaultBootstrapPeerAddrInfos() *gomock.Call
GetDefaultBootstrapPeerAddrInfos indicates an expected call of GetDefaultBootstrapPeerAddrInfos
type MockIoutiler ¶
type MockIoutiler struct {
// contains filtered or unexported fields
}
MockIoutiler is a mock of Ioutiler interface
func NewMockIoutiler ¶
func NewMockIoutiler(ctrl *gomock.Controller) *MockIoutiler
NewMockIoutiler creates a new mock instance
func (*MockIoutiler) EXPECT ¶
func (m *MockIoutiler) EXPECT() *MockIoutilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIoutilerMockRecorder ¶
type MockIoutilerMockRecorder struct {
// contains filtered or unexported fields
}
MockIoutilerMockRecorder is the mock recorder for MockIoutiler
func (*MockIoutilerMockRecorder) ReadFile ¶
func (mr *MockIoutilerMockRecorder) ReadFile(filename interface{}) *gomock.Call
ReadFile indicates an expected call of ReadFile
func (*MockIoutilerMockRecorder) WriteFile ¶
func (mr *MockIoutilerMockRecorder) WriteFile(filename, data, perm interface{}) *gomock.Call
WriteFile indicates an expected call of WriteFile
type MockIpfsDHT ¶ added in v0.3.1
type MockIpfsDHT struct {
// contains filtered or unexported fields
}
MockIpfsDHT is a mock of IpfsDHT interface
func NewMockIpfsDHT ¶ added in v0.3.1
func NewMockIpfsDHT(ctrl *gomock.Controller) *MockIpfsDHT
NewMockIpfsDHT creates a new mock instance
func (*MockIpfsDHT) EXPECT ¶ added in v0.3.1
func (m *MockIpfsDHT) EXPECT() *MockIpfsDHTMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIpfsDHT) FindProvidersAsync ¶ added in v0.3.1
func (m *MockIpfsDHT) FindProvidersAsync(arg0 context.Context, arg1 cid.Cid, arg2 int) <-chan peer.AddrInfo
FindProvidersAsync mocks base method
type MockIpfsDHTMockRecorder ¶ added in v0.3.1
type MockIpfsDHTMockRecorder struct {
// contains filtered or unexported fields
}
MockIpfsDHTMockRecorder is the mock recorder for MockIpfsDHT
func (*MockIpfsDHTMockRecorder) FindProvidersAsync ¶ added in v0.3.1
func (mr *MockIpfsDHTMockRecorder) FindProvidersAsync(arg0, arg1, arg2 interface{}) *gomock.Call
FindProvidersAsync indicates an expected call of FindProvidersAsync
func (*MockIpfsDHTMockRecorder) Provide ¶ added in v0.3.1
func (mr *MockIpfsDHTMockRecorder) Provide(arg0, arg1, arg2 interface{}) *gomock.Call
Provide indicates an expected call of Provide
type MockManeter ¶ added in v0.3.1
type MockManeter struct {
// contains filtered or unexported fields
}
MockManeter is a mock of Maneter interface
func NewMockManeter ¶ added in v0.3.1
func NewMockManeter(ctrl *gomock.Controller) *MockManeter
NewMockManeter creates a new mock instance
func (*MockManeter) EXPECT ¶ added in v0.3.1
func (m *MockManeter) EXPECT() *MockManeterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockManeter) IsPublicAddr ¶ added in v0.3.1
func (m *MockManeter) IsPublicAddr(a multiaddr.Multiaddr) bool
IsPublicAddr mocks base method
type MockManeterMockRecorder ¶ added in v0.3.1
type MockManeterMockRecorder struct {
// contains filtered or unexported fields
}
MockManeterMockRecorder is the mock recorder for MockManeter
func (*MockManeterMockRecorder) IsPublicAddr ¶ added in v0.3.1
func (mr *MockManeterMockRecorder) IsPublicAddr(a interface{}) *gomock.Call
IsPublicAddr indicates an expected call of IsPublicAddr
type MockTimer ¶
type MockTimer struct {
// contains filtered or unexported fields
}
MockTimer is a mock of Timer interface
func NewMockTimer ¶
func NewMockTimer(ctrl *gomock.Controller) *MockTimer
NewMockTimer creates a new mock instance
func (*MockTimer) EXPECT ¶
func (m *MockTimer) EXPECT() *MockTimerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTimerMockRecorder ¶
type MockTimerMockRecorder struct {
// contains filtered or unexported fields
}
MockTimerMockRecorder is the mock recorder for MockTimer
func (*MockTimerMockRecorder) AfterFunc ¶
func (mr *MockTimerMockRecorder) AfterFunc(d, f interface{}) *gomock.Call
AfterFunc indicates an expected call of AfterFunc
func (*MockTimerMockRecorder) NewTimer ¶
func (mr *MockTimerMockRecorder) NewTimer(d interface{}) *gomock.Call
NewTimer indicates an expected call of NewTimer
func (*MockTimerMockRecorder) Now ¶
func (mr *MockTimerMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now
func (*MockTimerMockRecorder) Sleep ¶
func (mr *MockTimerMockRecorder) Sleep(d interface{}) *gomock.Call
Sleep indicates an expected call of Sleep
type MockXdger ¶
type MockXdger struct {
// contains filtered or unexported fields
}
MockXdger is a mock of Xdger interface
func NewMockXdger ¶
func NewMockXdger(ctrl *gomock.Controller) *MockXdger
NewMockXdger creates a new mock instance
func (*MockXdger) ConfigFile ¶
ConfigFile mocks base method
func (*MockXdger) EXPECT ¶
func (m *MockXdger) EXPECT() *MockXdgerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockXdgerMockRecorder ¶
type MockXdgerMockRecorder struct {
// contains filtered or unexported fields
}
MockXdgerMockRecorder is the mock recorder for MockXdger
func (*MockXdgerMockRecorder) ConfigFile ¶
func (mr *MockXdgerMockRecorder) ConfigFile(relPath interface{}) *gomock.Call
ConfigFile indicates an expected call of ConfigFile