Documentation ¶
Overview ¶
Package mock_hiddenpath is a generated GoMock package.
Index ¶
- type MockAddressResolver
- type MockAddressResolverMockRecorder
- type MockDiscoverer
- type MockDiscovererMockRecorder
- type MockLookuper
- type MockLookuperMockRecorder
- type MockRPC
- type MockRPCMockRecorder
- type MockRegister
- type MockRegisterMockRecorder
- type MockRegistry
- type MockRegistryMockRecorder
- type MockStore
- type MockStoreMockRecorder
- type MockVerifier
- type MockVerifierMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAddressResolver ¶
type MockAddressResolver struct {
// contains filtered or unexported fields
}
MockAddressResolver is a mock of AddressResolver interface.
func NewMockAddressResolver ¶
func NewMockAddressResolver(ctrl *gomock.Controller) *MockAddressResolver
NewMockAddressResolver creates a new mock instance.
func (*MockAddressResolver) EXPECT ¶
func (m *MockAddressResolver) EXPECT() *MockAddressResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAddressResolverMockRecorder ¶
type MockAddressResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockAddressResolverMockRecorder is the mock recorder for MockAddressResolver.
func (*MockAddressResolverMockRecorder) Resolve ¶
func (mr *MockAddressResolverMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve.
type MockDiscoverer ¶
type MockDiscoverer struct {
// contains filtered or unexported fields
}
MockDiscoverer is a mock of Discoverer interface.
func NewMockDiscoverer ¶
func NewMockDiscoverer(ctrl *gomock.Controller) *MockDiscoverer
NewMockDiscoverer creates a new mock instance.
func (*MockDiscoverer) Discover ¶
func (m *MockDiscoverer) Discover(arg0 context.Context, arg1 net.Addr) (hiddenpath.Servers, error)
Discover mocks base method.
func (*MockDiscoverer) EXPECT ¶
func (m *MockDiscoverer) EXPECT() *MockDiscovererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDiscovererMockRecorder ¶
type MockDiscovererMockRecorder struct {
// contains filtered or unexported fields
}
MockDiscovererMockRecorder is the mock recorder for MockDiscoverer.
func (*MockDiscovererMockRecorder) Discover ¶
func (mr *MockDiscovererMockRecorder) Discover(arg0, arg1 interface{}) *gomock.Call
Discover indicates an expected call of Discover.
type MockLookuper ¶
type MockLookuper struct {
// contains filtered or unexported fields
}
MockLookuper is a mock of Lookuper interface.
func NewMockLookuper ¶
func NewMockLookuper(ctrl *gomock.Controller) *MockLookuper
NewMockLookuper creates a new mock instance.
func (*MockLookuper) EXPECT ¶
func (m *MockLookuper) EXPECT() *MockLookuperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLookuper) Segments ¶
func (m *MockLookuper) Segments(arg0 context.Context, arg1 hiddenpath.SegmentRequest) ([]*seg.Meta, error)
Segments mocks base method.
type MockLookuperMockRecorder ¶
type MockLookuperMockRecorder struct {
// contains filtered or unexported fields
}
MockLookuperMockRecorder is the mock recorder for MockLookuper.
func (*MockLookuperMockRecorder) Segments ¶
func (mr *MockLookuperMockRecorder) Segments(arg0, arg1 interface{}) *gomock.Call
Segments indicates an expected call of Segments.
type MockRPC ¶
type MockRPC struct {
// contains filtered or unexported fields
}
MockRPC is a mock of RPC interface.
func NewMockRPC ¶
func NewMockRPC(ctrl *gomock.Controller) *MockRPC
NewMockRPC creates a new mock instance.
func (*MockRPC) EXPECT ¶
func (m *MockRPC) EXPECT() *MockRPCMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRPC) HiddenSegments ¶
func (m *MockRPC) HiddenSegments(arg0 context.Context, arg1 hiddenpath.SegmentRequest, arg2 net.Addr) ([]*seg.Meta, error)
HiddenSegments mocks base method.
type MockRPCMockRecorder ¶
type MockRPCMockRecorder struct {
// contains filtered or unexported fields
}
MockRPCMockRecorder is the mock recorder for MockRPC.
func (*MockRPCMockRecorder) HiddenSegments ¶
func (mr *MockRPCMockRecorder) HiddenSegments(arg0, arg1, arg2 interface{}) *gomock.Call
HiddenSegments indicates an expected call of HiddenSegments.
type MockRegister ¶
type MockRegister struct {
// contains filtered or unexported fields
}
MockRegister is a mock of Register interface.
func NewMockRegister ¶
func NewMockRegister(ctrl *gomock.Controller) *MockRegister
NewMockRegister creates a new mock instance.
func (*MockRegister) EXPECT ¶
func (m *MockRegister) EXPECT() *MockRegisterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegister) RegisterSegment ¶
func (m *MockRegister) RegisterSegment(arg0 context.Context, arg1 hiddenpath.SegmentRegistration, arg2 net.Addr) error
RegisterSegment mocks base method.
type MockRegisterMockRecorder ¶
type MockRegisterMockRecorder struct {
// contains filtered or unexported fields
}
MockRegisterMockRecorder is the mock recorder for MockRegister.
func (*MockRegisterMockRecorder) RegisterSegment ¶
func (mr *MockRegisterMockRecorder) RegisterSegment(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterSegment indicates an expected call of RegisterSegment.
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) EXPECT ¶
func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistry) Register ¶
func (m *MockRegistry) Register(arg0 context.Context, arg1 hiddenpath.Registration) error
Register mocks base method.
type MockRegistryMockRecorder ¶
type MockRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryMockRecorder is the mock recorder for MockRegistry.
func (*MockRegistryMockRecorder) Register ¶
func (mr *MockRegistryMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call
Register indicates an expected call of Register.
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) Put ¶
func (mr *MockStoreMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
Put indicates an expected call of Put.
type MockVerifier ¶
type MockVerifier struct {
// contains filtered or unexported fields
}
MockVerifier is a mock of Verifier interface.
func NewMockVerifier ¶
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier
NewMockVerifier creates a new mock instance.
func (*MockVerifier) EXPECT ¶
func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockVerifierMockRecorder ¶
type MockVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifierMockRecorder is the mock recorder for MockVerifier.
func (*MockVerifierMockRecorder) Verify ¶
func (mr *MockVerifierMockRecorder) Verify(arg0, arg1, arg2 interface{}) *gomock.Call
Verify indicates an expected call of Verify.