Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClientConn
- func (m *MockClientConn) EXPECT() *MockClientConnMockRecorder
- func (m *MockClientConn) NewAddress(arg0 []resolver.Address)
- func (m *MockClientConn) NewServiceConfig(arg0 string)
- func (m *MockClientConn) ParseServiceConfig(arg0 string) *serviceconfig.ParseResult
- func (m *MockClientConn) ReportError(arg0 error)
- func (m *MockClientConn) UpdateState(arg0 resolver.State)
- type MockClientConnMockRecorder
- func (mr *MockClientConnMockRecorder) NewAddress(arg0 interface{}) *gomock.Call
- func (mr *MockClientConnMockRecorder) NewServiceConfig(arg0 interface{}) *gomock.Call
- func (mr *MockClientConnMockRecorder) ParseServiceConfig(arg0 interface{}) *gomock.Call
- func (mr *MockClientConnMockRecorder) ReportError(arg0 interface{}) *gomock.Call
- func (mr *MockClientConnMockRecorder) UpdateState(arg0 interface{}) *gomock.Call
- type Mockservicer
- type MockservicerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientConn ¶
type MockClientConn struct {
// contains filtered or unexported fields
}
MockClientConn is a mock of ClientConn interface
func NewMockClientConn ¶
func NewMockClientConn(ctrl *gomock.Controller) *MockClientConn
NewMockClientConn creates a new mock instance
func (*MockClientConn) EXPECT ¶
func (m *MockClientConn) EXPECT() *MockClientConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClientConn) NewAddress ¶
func (m *MockClientConn) NewAddress(arg0 []resolver.Address)
NewAddress mocks base method
func (*MockClientConn) NewServiceConfig ¶
func (m *MockClientConn) NewServiceConfig(arg0 string)
NewServiceConfig mocks base method
func (*MockClientConn) ParseServiceConfig ¶
func (m *MockClientConn) ParseServiceConfig(arg0 string) *serviceconfig.ParseResult
ParseServiceConfig mocks base method
func (*MockClientConn) ReportError ¶
func (m *MockClientConn) ReportError(arg0 error)
ReportError mocks base method
func (*MockClientConn) UpdateState ¶
func (m *MockClientConn) UpdateState(arg0 resolver.State)
UpdateState mocks base method
type MockClientConnMockRecorder ¶
type MockClientConnMockRecorder struct {
// contains filtered or unexported fields
}
MockClientConnMockRecorder is the mock recorder for MockClientConn
func (*MockClientConnMockRecorder) NewAddress ¶
func (mr *MockClientConnMockRecorder) NewAddress(arg0 interface{}) *gomock.Call
NewAddress indicates an expected call of NewAddress
func (*MockClientConnMockRecorder) NewServiceConfig ¶
func (mr *MockClientConnMockRecorder) NewServiceConfig(arg0 interface{}) *gomock.Call
NewServiceConfig indicates an expected call of NewServiceConfig
func (*MockClientConnMockRecorder) ParseServiceConfig ¶
func (mr *MockClientConnMockRecorder) ParseServiceConfig(arg0 interface{}) *gomock.Call
ParseServiceConfig indicates an expected call of ParseServiceConfig
func (*MockClientConnMockRecorder) ReportError ¶
func (mr *MockClientConnMockRecorder) ReportError(arg0 interface{}) *gomock.Call
ReportError indicates an expected call of ReportError
func (*MockClientConnMockRecorder) UpdateState ¶
func (mr *MockClientConnMockRecorder) UpdateState(arg0 interface{}) *gomock.Call
UpdateState indicates an expected call of UpdateState
type Mockservicer ¶
type Mockservicer struct {
// contains filtered or unexported fields
}
Mockservicer is a mock of servicer interface
func NewMockservicer ¶
func NewMockservicer(ctrl *gomock.Controller) *Mockservicer
NewMockservicer creates a new mock instance
func (*Mockservicer) EXPECT ¶
func (m *Mockservicer) EXPECT() *MockservicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*Mockservicer) Service ¶
func (m *Mockservicer) Service(arg0, arg1 string, arg2 bool, arg3 *api.QueryOptions) ([]*api.ServiceEntry, *api.QueryMeta, error)
Service mocks base method
type MockservicerMockRecorder ¶
type MockservicerMockRecorder struct {
// contains filtered or unexported fields
}
MockservicerMockRecorder is the mock recorder for Mockservicer
func (*MockservicerMockRecorder) Service ¶
func (mr *MockservicerMockRecorder) Service(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Service indicates an expected call of Service