Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAPIClient
- func (m *MockAPIClient) Create(arg0 *frontend.MultiCreateRequest, arg1 *frontend.MultiServerResponse) error
- func (m *MockAPIClient) Destroy(arg0 *frontend.MultiKeyRequest, arg1 *frontend.MultiServerResponse) error
- func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder
- func (m *MockAPIClient) GetBucketInfo(arg0 *frontend.MultiKeyRequest, arg1 *frontend.MultiGetInfoResponse) error
- func (m *MockAPIClient) PrintConnectInfo()
- func (m *MockAPIClient) SQL(arg0 string) (*io.ColumnSeries, error)
- func (m *MockAPIClient) Show(arg0 *io.TimeBucketKey, arg1, arg2 *time.Time) (io.ColumnSeriesMap, error)
- func (m *MockAPIClient) Write(arg0 *frontend.MultiWriteRequest, arg1 *frontend.MultiServerResponse) error
- type MockAPIClientMockRecorder
- func (mr *MockAPIClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) Destroy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) GetBucketInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) PrintConnectInfo() *gomock.Call
- func (mr *MockAPIClientMockRecorder) SQL(arg0 interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) Show(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIClient ¶
type MockAPIClient struct {
// contains filtered or unexported fields
}
MockAPIClient is a mock of APIClient interface.
func NewMockAPIClient ¶
func NewMockAPIClient(ctrl *gomock.Controller) *MockAPIClient
NewMockAPIClient creates a new mock instance.
func (*MockAPIClient) Create ¶
func (m *MockAPIClient) Create(arg0 *frontend.MultiCreateRequest, arg1 *frontend.MultiServerResponse) error
Create mocks base method.
func (*MockAPIClient) Destroy ¶
func (m *MockAPIClient) Destroy(arg0 *frontend.MultiKeyRequest, arg1 *frontend.MultiServerResponse) error
Destroy mocks base method.
func (*MockAPIClient) EXPECT ¶
func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIClient) GetBucketInfo ¶
func (m *MockAPIClient) GetBucketInfo(arg0 *frontend.MultiKeyRequest, arg1 *frontend.MultiGetInfoResponse) error
GetBucketInfo mocks base method.
func (*MockAPIClient) PrintConnectInfo ¶
func (m *MockAPIClient) PrintConnectInfo()
PrintConnectInfo mocks base method.
func (*MockAPIClient) SQL ¶
func (m *MockAPIClient) SQL(arg0 string) (*io.ColumnSeries, error)
SQL mocks base method.
func (*MockAPIClient) Show ¶
func (m *MockAPIClient) Show(arg0 *io.TimeBucketKey, arg1, arg2 *time.Time) (io.ColumnSeriesMap, error)
Show mocks base method.
func (*MockAPIClient) Write ¶
func (m *MockAPIClient) Write(arg0 *frontend.MultiWriteRequest, arg1 *frontend.MultiServerResponse) error
Write mocks base method.
type MockAPIClientMockRecorder ¶
type MockAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIClientMockRecorder is the mock recorder for MockAPIClient.
func (*MockAPIClientMockRecorder) Create ¶
func (mr *MockAPIClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockAPIClientMockRecorder) Destroy ¶
func (mr *MockAPIClientMockRecorder) Destroy(arg0, arg1 interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockAPIClientMockRecorder) GetBucketInfo ¶
func (mr *MockAPIClientMockRecorder) GetBucketInfo(arg0, arg1 interface{}) *gomock.Call
GetBucketInfo indicates an expected call of GetBucketInfo.
func (*MockAPIClientMockRecorder) PrintConnectInfo ¶
func (mr *MockAPIClientMockRecorder) PrintConnectInfo() *gomock.Call
PrintConnectInfo indicates an expected call of PrintConnectInfo.
func (*MockAPIClientMockRecorder) SQL ¶
func (mr *MockAPIClientMockRecorder) SQL(arg0 interface{}) *gomock.Call
SQL indicates an expected call of SQL.
func (*MockAPIClientMockRecorder) Show ¶
func (mr *MockAPIClientMockRecorder) Show(arg0, arg1, arg2 interface{}) *gomock.Call
Show indicates an expected call of Show.
func (*MockAPIClientMockRecorder) Write ¶
func (mr *MockAPIClientMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Write indicates an expected call of Write.