Documentation ¶
Overview ¶
Package localpeermock is a generated GoMock package.
Index ¶
- type MockLocalPeer
- func (m *MockLocalPeer) ConnectionInfo() *peer.ConnectionInfo
- func (m *MockLocalPeer) EXPECT() *MockLocalPeerMockRecorder
- func (m *MockLocalPeer) GetAddresses() []string
- func (m *MockLocalPeer) GetCIDs() []object.CID
- func (m *MockLocalPeer) GetCertificates() []*object.Certificate
- func (m *MockLocalPeer) GetContentTypes() []string
- func (m *MockLocalPeer) GetPrimaryIdentityKey() crypto.PrivateKey
- func (m *MockLocalPeer) GetPrimaryPeerKey() crypto.PrivateKey
- func (m *MockLocalPeer) GetRelays() []*peer.ConnectionInfo
- func (m *MockLocalPeer) ListenForUpdates() (<-chan localpeer.UpdateEvent, func())
- func (m *MockLocalPeer) PutAddresses(arg0 ...string)
- func (m *MockLocalPeer) PutCIDs(arg0 ...object.CID)
- func (m *MockLocalPeer) PutCertificate(arg0 *object.Certificate)
- func (m *MockLocalPeer) PutContentTypes(arg0 ...string)
- func (m *MockLocalPeer) PutPrimaryIdentityKey(arg0 crypto.PrivateKey)
- func (m *MockLocalPeer) PutPrimaryPeerKey(arg0 crypto.PrivateKey)
- func (m *MockLocalPeer) PutRelays(arg0 ...*peer.ConnectionInfo)
- type MockLocalPeerMockRecorder
- func (mr *MockLocalPeerMockRecorder) ConnectionInfo() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) GetAddresses() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) GetCIDs() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) GetCertificates() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) GetContentTypes() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) GetPrimaryIdentityKey() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) GetPrimaryPeerKey() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) GetRelays() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) ListenForUpdates() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutAddresses(arg0 ...interface{}) *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutCIDs(arg0 ...interface{}) *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutCertificate(arg0 interface{}) *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutContentTypes(arg0 ...interface{}) *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutPrimaryIdentityKey(arg0 interface{}) *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutPrimaryPeerKey(arg0 interface{}) *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutRelays(arg0 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLocalPeer ¶
type MockLocalPeer struct {
// contains filtered or unexported fields
}
MockLocalPeer is a mock of LocalPeer interface
func NewMockLocalPeer ¶
func NewMockLocalPeer(ctrl *gomock.Controller) *MockLocalPeer
NewMockLocalPeer creates a new mock instance
func (*MockLocalPeer) ConnectionInfo ¶ added in v0.14.1
func (m *MockLocalPeer) ConnectionInfo() *peer.ConnectionInfo
ConnectionInfo mocks base method
func (*MockLocalPeer) EXPECT ¶
func (m *MockLocalPeer) EXPECT() *MockLocalPeerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLocalPeer) GetAddresses ¶
func (m *MockLocalPeer) GetAddresses() []string
GetAddresses mocks base method
func (*MockLocalPeer) GetCIDs ¶ added in v0.17.0
func (m *MockLocalPeer) GetCIDs() []object.CID
GetCIDs mocks base method
func (*MockLocalPeer) GetCertificates ¶
func (m *MockLocalPeer) GetCertificates() []*object.Certificate
GetCertificates mocks base method
func (*MockLocalPeer) GetContentTypes ¶
func (m *MockLocalPeer) GetContentTypes() []string
GetContentTypes mocks base method
func (*MockLocalPeer) GetPrimaryIdentityKey ¶
func (m *MockLocalPeer) GetPrimaryIdentityKey() crypto.PrivateKey
GetPrimaryIdentityKey mocks base method
func (*MockLocalPeer) GetPrimaryPeerKey ¶
func (m *MockLocalPeer) GetPrimaryPeerKey() crypto.PrivateKey
GetPrimaryPeerKey mocks base method
func (*MockLocalPeer) GetRelays ¶
func (m *MockLocalPeer) GetRelays() []*peer.ConnectionInfo
GetRelays mocks base method
func (*MockLocalPeer) ListenForUpdates ¶ added in v0.15.0
func (m *MockLocalPeer) ListenForUpdates() (<-chan localpeer.UpdateEvent, func())
ListenForUpdates mocks base method
func (*MockLocalPeer) PutAddresses ¶
func (m *MockLocalPeer) PutAddresses(arg0 ...string)
PutAddresses mocks base method
func (*MockLocalPeer) PutCIDs ¶ added in v0.17.0
func (m *MockLocalPeer) PutCIDs(arg0 ...object.CID)
PutCIDs mocks base method
func (*MockLocalPeer) PutCertificate ¶
func (m *MockLocalPeer) PutCertificate(arg0 *object.Certificate)
PutCertificate mocks base method
func (*MockLocalPeer) PutContentTypes ¶
func (m *MockLocalPeer) PutContentTypes(arg0 ...string)
PutContentTypes mocks base method
func (*MockLocalPeer) PutPrimaryIdentityKey ¶
func (m *MockLocalPeer) PutPrimaryIdentityKey(arg0 crypto.PrivateKey)
PutPrimaryIdentityKey mocks base method
func (*MockLocalPeer) PutPrimaryPeerKey ¶
func (m *MockLocalPeer) PutPrimaryPeerKey(arg0 crypto.PrivateKey)
PutPrimaryPeerKey mocks base method
func (*MockLocalPeer) PutRelays ¶
func (m *MockLocalPeer) PutRelays(arg0 ...*peer.ConnectionInfo)
PutRelays mocks base method
type MockLocalPeerMockRecorder ¶
type MockLocalPeerMockRecorder struct {
// contains filtered or unexported fields
}
MockLocalPeerMockRecorder is the mock recorder for MockLocalPeer
func (*MockLocalPeerMockRecorder) ConnectionInfo ¶ added in v0.14.1
func (mr *MockLocalPeerMockRecorder) ConnectionInfo() *gomock.Call
ConnectionInfo indicates an expected call of ConnectionInfo
func (*MockLocalPeerMockRecorder) GetAddresses ¶
func (mr *MockLocalPeerMockRecorder) GetAddresses() *gomock.Call
GetAddresses indicates an expected call of GetAddresses
func (*MockLocalPeerMockRecorder) GetCIDs ¶ added in v0.17.0
func (mr *MockLocalPeerMockRecorder) GetCIDs() *gomock.Call
GetCIDs indicates an expected call of GetCIDs
func (*MockLocalPeerMockRecorder) GetCertificates ¶
func (mr *MockLocalPeerMockRecorder) GetCertificates() *gomock.Call
GetCertificates indicates an expected call of GetCertificates
func (*MockLocalPeerMockRecorder) GetContentTypes ¶
func (mr *MockLocalPeerMockRecorder) GetContentTypes() *gomock.Call
GetContentTypes indicates an expected call of GetContentTypes
func (*MockLocalPeerMockRecorder) GetPrimaryIdentityKey ¶
func (mr *MockLocalPeerMockRecorder) GetPrimaryIdentityKey() *gomock.Call
GetPrimaryIdentityKey indicates an expected call of GetPrimaryIdentityKey
func (*MockLocalPeerMockRecorder) GetPrimaryPeerKey ¶
func (mr *MockLocalPeerMockRecorder) GetPrimaryPeerKey() *gomock.Call
GetPrimaryPeerKey indicates an expected call of GetPrimaryPeerKey
func (*MockLocalPeerMockRecorder) GetRelays ¶
func (mr *MockLocalPeerMockRecorder) GetRelays() *gomock.Call
GetRelays indicates an expected call of GetRelays
func (*MockLocalPeerMockRecorder) ListenForUpdates ¶ added in v0.15.0
func (mr *MockLocalPeerMockRecorder) ListenForUpdates() *gomock.Call
ListenForUpdates indicates an expected call of ListenForUpdates
func (*MockLocalPeerMockRecorder) PutAddresses ¶
func (mr *MockLocalPeerMockRecorder) PutAddresses(arg0 ...interface{}) *gomock.Call
PutAddresses indicates an expected call of PutAddresses
func (*MockLocalPeerMockRecorder) PutCIDs ¶ added in v0.17.0
func (mr *MockLocalPeerMockRecorder) PutCIDs(arg0 ...interface{}) *gomock.Call
PutCIDs indicates an expected call of PutCIDs
func (*MockLocalPeerMockRecorder) PutCertificate ¶
func (mr *MockLocalPeerMockRecorder) PutCertificate(arg0 interface{}) *gomock.Call
PutCertificate indicates an expected call of PutCertificate
func (*MockLocalPeerMockRecorder) PutContentTypes ¶
func (mr *MockLocalPeerMockRecorder) PutContentTypes(arg0 ...interface{}) *gomock.Call
PutContentTypes indicates an expected call of PutContentTypes
func (*MockLocalPeerMockRecorder) PutPrimaryIdentityKey ¶
func (mr *MockLocalPeerMockRecorder) PutPrimaryIdentityKey(arg0 interface{}) *gomock.Call
PutPrimaryIdentityKey indicates an expected call of PutPrimaryIdentityKey
func (*MockLocalPeerMockRecorder) PutPrimaryPeerKey ¶
func (mr *MockLocalPeerMockRecorder) PutPrimaryPeerKey(arg0 interface{}) *gomock.Call
PutPrimaryPeerKey indicates an expected call of PutPrimaryPeerKey
func (*MockLocalPeerMockRecorder) PutRelays ¶
func (mr *MockLocalPeerMockRecorder) PutRelays(arg0 ...interface{}) *gomock.Call
PutRelays indicates an expected call of PutRelays