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) GetCertificates() []*object.Certificate
- func (m *MockLocalPeer) GetContentHashes() []object.Hash
- 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) PutAddresses(arg0 ...string)
- func (m *MockLocalPeer) PutCertificate(arg0 *object.Certificate)
- func (m *MockLocalPeer) PutContentHashes(arg0 ...object.Hash)
- 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) GetCertificates() *gomock.Call
- func (mr *MockLocalPeerMockRecorder) GetContentHashes() *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) PutAddresses(arg0 ...interface{}) *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutCertificate(arg0 interface{}) *gomock.Call
- func (mr *MockLocalPeerMockRecorder) PutContentHashes(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) GetCertificates ¶
func (m *MockLocalPeer) GetCertificates() []*object.Certificate
GetCertificates mocks base method
func (*MockLocalPeer) GetContentHashes ¶
func (m *MockLocalPeer) GetContentHashes() []object.Hash
GetContentHashes 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) PutAddresses ¶
func (m *MockLocalPeer) PutAddresses(arg0 ...string)
PutAddresses mocks base method
func (*MockLocalPeer) PutCertificate ¶
func (m *MockLocalPeer) PutCertificate(arg0 *object.Certificate)
PutCertificate mocks base method
func (*MockLocalPeer) PutContentHashes ¶
func (m *MockLocalPeer) PutContentHashes(arg0 ...object.Hash)
PutContentHashes 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) GetCertificates ¶
func (mr *MockLocalPeerMockRecorder) GetCertificates() *gomock.Call
GetCertificates indicates an expected call of GetCertificates
func (*MockLocalPeerMockRecorder) GetContentHashes ¶
func (mr *MockLocalPeerMockRecorder) GetContentHashes() *gomock.Call
GetContentHashes indicates an expected call of GetContentHashes
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) PutAddresses ¶
func (mr *MockLocalPeerMockRecorder) PutAddresses(arg0 ...interface{}) *gomock.Call
PutAddresses indicates an expected call of PutAddresses
func (*MockLocalPeerMockRecorder) PutCertificate ¶
func (mr *MockLocalPeerMockRecorder) PutCertificate(arg0 interface{}) *gomock.Call
PutCertificate indicates an expected call of PutCertificate
func (*MockLocalPeerMockRecorder) PutContentHashes ¶
func (mr *MockLocalPeerMockRecorder) PutContentHashes(arg0 ...interface{}) *gomock.Call
PutContentHashes indicates an expected call of PutContentHashes
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