Documentation ¶
Overview ¶
Package mock_factory is a generated GoMock package.
Index ¶
- type MockClientGetter
- func (m *MockClientGetter) EXPECT() *MockClientGetterMockRecorder
- func (m *MockClientGetter) GetAuthParameters() url.Values
- func (m *MockClientGetter) GetCredential() *security.Credential
- func (m *MockClientGetter) GetLogLevel() string
- func (m *MockClientGetter) GetPdAddr() string
- func (m *MockClientGetter) GetServerAddr() string
- func (m *MockClientGetter) ToGRPCDialOption() (grpc.DialOption, error)
- func (m *MockClientGetter) ToTLSConfig() (*tls.Config, error)
- type MockClientGetterMockRecorder
- func (mr *MockClientGetterMockRecorder) GetAuthParameters() *gomock.Call
- func (mr *MockClientGetterMockRecorder) GetCredential() *gomock.Call
- func (mr *MockClientGetterMockRecorder) GetLogLevel() *gomock.Call
- func (mr *MockClientGetterMockRecorder) GetPdAddr() *gomock.Call
- func (mr *MockClientGetterMockRecorder) GetServerAddr() *gomock.Call
- func (mr *MockClientGetterMockRecorder) ToGRPCDialOption() *gomock.Call
- func (mr *MockClientGetterMockRecorder) ToTLSConfig() *gomock.Call
- type MockFactory
- func (m *MockFactory) APIV2Client() (v2.APIV2Interface, error)
- func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
- func (m *MockFactory) EtcdClient() (*etcd.CDCEtcdClientImpl, error)
- func (m *MockFactory) GetAuthParameters() url.Values
- func (m *MockFactory) GetCredential() *security.Credential
- func (m *MockFactory) GetLogLevel() string
- func (m *MockFactory) GetPdAddr() string
- func (m *MockFactory) GetServerAddr() string
- func (m *MockFactory) PdClient() (pd.Client, error)
- func (m *MockFactory) ToGRPCDialOption() (grpc.DialOption, error)
- func (m *MockFactory) ToTLSConfig() (*tls.Config, error)
- type MockFactoryMockRecorder
- func (mr *MockFactoryMockRecorder) APIV2Client() *gomock.Call
- func (mr *MockFactoryMockRecorder) EtcdClient() *gomock.Call
- func (mr *MockFactoryMockRecorder) GetAuthParameters() *gomock.Call
- func (mr *MockFactoryMockRecorder) GetCredential() *gomock.Call
- func (mr *MockFactoryMockRecorder) GetLogLevel() *gomock.Call
- func (mr *MockFactoryMockRecorder) GetPdAddr() *gomock.Call
- func (mr *MockFactoryMockRecorder) GetServerAddr() *gomock.Call
- func (mr *MockFactoryMockRecorder) PdClient() *gomock.Call
- func (mr *MockFactoryMockRecorder) ToGRPCDialOption() *gomock.Call
- func (mr *MockFactoryMockRecorder) ToTLSConfig() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientGetter ¶
type MockClientGetter struct {
// contains filtered or unexported fields
}
MockClientGetter is a mock of ClientGetter interface.
func NewMockClientGetter ¶
func NewMockClientGetter(ctrl *gomock.Controller) *MockClientGetter
NewMockClientGetter creates a new mock instance.
func (*MockClientGetter) EXPECT ¶
func (m *MockClientGetter) EXPECT() *MockClientGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientGetter) GetAuthParameters ¶
func (m *MockClientGetter) GetAuthParameters() url.Values
GetAuthParameters mocks base method.
func (*MockClientGetter) GetCredential ¶
func (m *MockClientGetter) GetCredential() *security.Credential
GetCredential mocks base method.
func (*MockClientGetter) GetLogLevel ¶
func (m *MockClientGetter) GetLogLevel() string
GetLogLevel mocks base method.
func (*MockClientGetter) GetPdAddr ¶
func (m *MockClientGetter) GetPdAddr() string
GetPdAddr mocks base method.
func (*MockClientGetter) GetServerAddr ¶
func (m *MockClientGetter) GetServerAddr() string
GetServerAddr mocks base method.
func (*MockClientGetter) ToGRPCDialOption ¶
func (m *MockClientGetter) ToGRPCDialOption() (grpc.DialOption, error)
ToGRPCDialOption mocks base method.
func (*MockClientGetter) ToTLSConfig ¶
func (m *MockClientGetter) ToTLSConfig() (*tls.Config, error)
ToTLSConfig mocks base method.
type MockClientGetterMockRecorder ¶
type MockClientGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockClientGetterMockRecorder is the mock recorder for MockClientGetter.
func (*MockClientGetterMockRecorder) GetAuthParameters ¶
func (mr *MockClientGetterMockRecorder) GetAuthParameters() *gomock.Call
GetAuthParameters indicates an expected call of GetAuthParameters.
func (*MockClientGetterMockRecorder) GetCredential ¶
func (mr *MockClientGetterMockRecorder) GetCredential() *gomock.Call
GetCredential indicates an expected call of GetCredential.
func (*MockClientGetterMockRecorder) GetLogLevel ¶
func (mr *MockClientGetterMockRecorder) GetLogLevel() *gomock.Call
GetLogLevel indicates an expected call of GetLogLevel.
func (*MockClientGetterMockRecorder) GetPdAddr ¶
func (mr *MockClientGetterMockRecorder) GetPdAddr() *gomock.Call
GetPdAddr indicates an expected call of GetPdAddr.
func (*MockClientGetterMockRecorder) GetServerAddr ¶
func (mr *MockClientGetterMockRecorder) GetServerAddr() *gomock.Call
GetServerAddr indicates an expected call of GetServerAddr.
func (*MockClientGetterMockRecorder) ToGRPCDialOption ¶
func (mr *MockClientGetterMockRecorder) ToGRPCDialOption() *gomock.Call
ToGRPCDialOption indicates an expected call of ToGRPCDialOption.
func (*MockClientGetterMockRecorder) ToTLSConfig ¶
func (mr *MockClientGetterMockRecorder) ToTLSConfig() *gomock.Call
ToTLSConfig indicates an expected call of ToTLSConfig.
type MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
MockFactory is a mock of Factory interface.
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
NewMockFactory creates a new mock instance.
func (*MockFactory) APIV2Client ¶
func (m *MockFactory) APIV2Client() (v2.APIV2Interface, error)
APIV2Client mocks base method.
func (*MockFactory) EXPECT ¶
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFactory) EtcdClient ¶
func (m *MockFactory) EtcdClient() (*etcd.CDCEtcdClientImpl, error)
EtcdClient mocks base method.
func (*MockFactory) GetAuthParameters ¶
func (m *MockFactory) GetAuthParameters() url.Values
GetAuthParameters mocks base method.
func (*MockFactory) GetCredential ¶
func (m *MockFactory) GetCredential() *security.Credential
GetCredential mocks base method.
func (*MockFactory) GetLogLevel ¶
func (m *MockFactory) GetLogLevel() string
GetLogLevel mocks base method.
func (*MockFactory) GetPdAddr ¶
func (m *MockFactory) GetPdAddr() string
GetPdAddr mocks base method.
func (*MockFactory) GetServerAddr ¶
func (m *MockFactory) GetServerAddr() string
GetServerAddr mocks base method.
func (*MockFactory) PdClient ¶
func (m *MockFactory) PdClient() (pd.Client, error)
PdClient mocks base method.
func (*MockFactory) ToGRPCDialOption ¶
func (m *MockFactory) ToGRPCDialOption() (grpc.DialOption, error)
ToGRPCDialOption mocks base method.
func (*MockFactory) ToTLSConfig ¶
func (m *MockFactory) ToTLSConfig() (*tls.Config, error)
ToTLSConfig mocks base method.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) APIV2Client ¶
func (mr *MockFactoryMockRecorder) APIV2Client() *gomock.Call
APIV2Client indicates an expected call of APIV2Client.
func (*MockFactoryMockRecorder) EtcdClient ¶
func (mr *MockFactoryMockRecorder) EtcdClient() *gomock.Call
EtcdClient indicates an expected call of EtcdClient.
func (*MockFactoryMockRecorder) GetAuthParameters ¶
func (mr *MockFactoryMockRecorder) GetAuthParameters() *gomock.Call
GetAuthParameters indicates an expected call of GetAuthParameters.
func (*MockFactoryMockRecorder) GetCredential ¶
func (mr *MockFactoryMockRecorder) GetCredential() *gomock.Call
GetCredential indicates an expected call of GetCredential.
func (*MockFactoryMockRecorder) GetLogLevel ¶
func (mr *MockFactoryMockRecorder) GetLogLevel() *gomock.Call
GetLogLevel indicates an expected call of GetLogLevel.
func (*MockFactoryMockRecorder) GetPdAddr ¶
func (mr *MockFactoryMockRecorder) GetPdAddr() *gomock.Call
GetPdAddr indicates an expected call of GetPdAddr.
func (*MockFactoryMockRecorder) GetServerAddr ¶
func (mr *MockFactoryMockRecorder) GetServerAddr() *gomock.Call
GetServerAddr indicates an expected call of GetServerAddr.
func (*MockFactoryMockRecorder) PdClient ¶
func (mr *MockFactoryMockRecorder) PdClient() *gomock.Call
PdClient indicates an expected call of PdClient.
func (*MockFactoryMockRecorder) ToGRPCDialOption ¶
func (mr *MockFactoryMockRecorder) ToGRPCDialOption() *gomock.Call
ToGRPCDialOption indicates an expected call of ToGRPCDialOption.
func (*MockFactoryMockRecorder) ToTLSConfig ¶
func (mr *MockFactoryMockRecorder) ToTLSConfig() *gomock.Call
ToTLSConfig indicates an expected call of ToTLSConfig.