Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEtcdClient
- func (m *MockEtcdClient) Close() error
- func (m *MockEtcdClient) EXPECT() *MockEtcdClientMockRecorder
- func (m *MockEtcdClient) MemberList(ctx context.Context) (*clientv3.MemberListResponse, error)
- func (m *MockEtcdClient) MemberRemove(ctx context.Context, id uint64) (*clientv3.MemberRemoveResponse, error)
- type MockEtcdClientMockRecorder
- type MockRoundTripper
- type MockRoundTripperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEtcdClient ¶
type MockEtcdClient struct {
// contains filtered or unexported fields
}
MockEtcdClient is a mock of EtcdClient interface.
func NewMockEtcdClient ¶
func NewMockEtcdClient(ctrl *gomock.Controller) *MockEtcdClient
NewMockEtcdClient creates a new mock instance.
func (*MockEtcdClient) EXPECT ¶
func (m *MockEtcdClient) EXPECT() *MockEtcdClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEtcdClient) MemberList ¶
func (m *MockEtcdClient) MemberList(ctx context.Context) (*clientv3.MemberListResponse, error)
MemberList mocks base method.
func (*MockEtcdClient) MemberRemove ¶
func (m *MockEtcdClient) MemberRemove(ctx context.Context, id uint64) (*clientv3.MemberRemoveResponse, error)
MemberRemove mocks base method.
type MockEtcdClientMockRecorder ¶
type MockEtcdClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEtcdClientMockRecorder is the mock recorder for MockEtcdClient.
func (*MockEtcdClientMockRecorder) Close ¶
func (mr *MockEtcdClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockEtcdClientMockRecorder) MemberList ¶
func (mr *MockEtcdClientMockRecorder) MemberList(ctx interface{}) *gomock.Call
MemberList indicates an expected call of MemberList.
func (*MockEtcdClientMockRecorder) MemberRemove ¶
func (mr *MockEtcdClientMockRecorder) MemberRemove(ctx, id interface{}) *gomock.Call
MemberRemove indicates an expected call of MemberRemove.
type MockRoundTripper ¶
type MockRoundTripper struct {
// contains filtered or unexported fields
}
MockRoundTripper is a mock of RoundTripper interface.
func NewMockRoundTripper ¶
func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper
NewMockRoundTripper creates a new mock instance.
func (*MockRoundTripper) EXPECT ¶
func (m *MockRoundTripper) EXPECT() *MockRoundTripperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRoundTripperMockRecorder ¶
type MockRoundTripperMockRecorder struct {
// contains filtered or unexported fields
}
MockRoundTripperMockRecorder is the mock recorder for MockRoundTripper.
func (*MockRoundTripperMockRecorder) RoundTrip ¶
func (mr *MockRoundTripperMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call
RoundTrip indicates an expected call of RoundTrip.