// Code generated by MockGen. DO NOT EDIT. // Source: github.com/influxdata/influx-cli/v2/api (interfaces: DBRPsApi) // Package mock is a generated GoMock package. package mock import ( context "context" reflect "reflect" gomock "github.com/golang/mock/gomock" api "github.com/influxdata/influx-cli/v2/api" ) // MockDBRPsApi is a mock of DBRPsApi interface. type MockDBRPsApi struct { ctrl *gomock.Controller recorder *MockDBRPsApiMockRecorder } // MockDBRPsApiMockRecorder is the mock recorder for MockDBRPsApi. type MockDBRPsApiMockRecorder struct { mock *MockDBRPsApi } // NewMockDBRPsApi creates a new mock instance. func NewMockDBRPsApi(ctrl *gomock.Controller) *MockDBRPsApi { mock := &MockDBRPsApi{ctrl: ctrl} mock.recorder = &MockDBRPsApiMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockDBRPsApi) EXPECT() *MockDBRPsApiMockRecorder { return m.recorder } // DeleteDBRPID mocks base method. func (m *MockDBRPsApi) DeleteDBRPID(arg0 context.Context, arg1 string) api.ApiDeleteDBRPIDRequest { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteDBRPID", arg0, arg1) ret0, _ := ret[0].(api.ApiDeleteDBRPIDRequest) return ret0 } // DeleteDBRPID indicates an expected call of DeleteDBRPID. func (mr *MockDBRPsApiMockRecorder) DeleteDBRPID(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDBRPID", reflect.TypeOf((*MockDBRPsApi)(nil).DeleteDBRPID), arg0, arg1) } // DeleteDBRPIDExecute mocks base method. func (m *MockDBRPsApi) DeleteDBRPIDExecute(arg0 api.ApiDeleteDBRPIDRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteDBRPIDExecute", arg0) ret0, _ := ret[0].(error) return ret0 } // DeleteDBRPIDExecute indicates an expected call of DeleteDBRPIDExecute. func (mr *MockDBRPsApiMockRecorder) DeleteDBRPIDExecute(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDBRPIDExecute", reflect.TypeOf((*MockDBRPsApi)(nil).DeleteDBRPIDExecute), arg0) } // GetDBRPs mocks base method. func (m *MockDBRPsApi) GetDBRPs(arg0 context.Context) api.ApiGetDBRPsRequest { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetDBRPs", arg0) ret0, _ := ret[0].(api.ApiGetDBRPsRequest) return ret0 } // GetDBRPs indicates an expected call of GetDBRPs. func (mr *MockDBRPsApiMockRecorder) GetDBRPs(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDBRPs", reflect.TypeOf((*MockDBRPsApi)(nil).GetDBRPs), arg0) } // GetDBRPsExecute mocks base method. func (m *MockDBRPsApi) GetDBRPsExecute(arg0 api.ApiGetDBRPsRequest) (api.DBRPs, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetDBRPsExecute", arg0) ret0, _ := ret[0].(api.DBRPs) ret1, _ := ret[1].(error) return ret0, ret1 } // GetDBRPsExecute indicates an expected call of GetDBRPsExecute. func (mr *MockDBRPsApiMockRecorder) GetDBRPsExecute(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDBRPsExecute", reflect.TypeOf((*MockDBRPsApi)(nil).GetDBRPsExecute), arg0) } // GetDBRPsID mocks base method. func (m *MockDBRPsApi) GetDBRPsID(arg0 context.Context, arg1 string) api.ApiGetDBRPsIDRequest { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetDBRPsID", arg0, arg1) ret0, _ := ret[0].(api.ApiGetDBRPsIDRequest) return ret0 } // GetDBRPsID indicates an expected call of GetDBRPsID. func (mr *MockDBRPsApiMockRecorder) GetDBRPsID(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDBRPsID", reflect.TypeOf((*MockDBRPsApi)(nil).GetDBRPsID), arg0, arg1) } // GetDBRPsIDExecute mocks base method. func (m *MockDBRPsApi) GetDBRPsIDExecute(arg0 api.ApiGetDBRPsIDRequest) (api.DBRPGet, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetDBRPsIDExecute", arg0) ret0, _ := ret[0].(api.DBRPGet) ret1, _ := ret[1].(error) return ret0, ret1 } // GetDBRPsIDExecute indicates an expected call of GetDBRPsIDExecute. func (mr *MockDBRPsApiMockRecorder) GetDBRPsIDExecute(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDBRPsIDExecute", reflect.TypeOf((*MockDBRPsApi)(nil).GetDBRPsIDExecute), arg0) } // OnlyCloud mocks base method. func (m *MockDBRPsApi) OnlyCloud() api.DBRPsApi { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OnlyCloud") ret0, _ := ret[0].(api.DBRPsApi) return ret0 } // OnlyCloud indicates an expected call of OnlyCloud. func (mr *MockDBRPsApiMockRecorder) OnlyCloud() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnlyCloud", reflect.TypeOf((*MockDBRPsApi)(nil).OnlyCloud)) } // OnlyOSS mocks base method. func (m *MockDBRPsApi) OnlyOSS() api.DBRPsApi { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OnlyOSS") ret0, _ := ret[0].(api.DBRPsApi) return ret0 } // OnlyOSS indicates an expected call of OnlyOSS. func (mr *MockDBRPsApiMockRecorder) OnlyOSS() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnlyOSS", reflect.TypeOf((*MockDBRPsApi)(nil).OnlyOSS)) } // PatchDBRPID mocks base method. func (m *MockDBRPsApi) PatchDBRPID(arg0 context.Context, arg1 string) api.ApiPatchDBRPIDRequest { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "PatchDBRPID", arg0, arg1) ret0, _ := ret[0].(api.ApiPatchDBRPIDRequest) return ret0 } // PatchDBRPID indicates an expected call of PatchDBRPID. func (mr *MockDBRPsApiMockRecorder) PatchDBRPID(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDBRPID", reflect.TypeOf((*MockDBRPsApi)(nil).PatchDBRPID), arg0, arg1) } // PatchDBRPIDExecute mocks base method. func (m *MockDBRPsApi) PatchDBRPIDExecute(arg0 api.ApiPatchDBRPIDRequest) (api.DBRPGet, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "PatchDBRPIDExecute", arg0) ret0, _ := ret[0].(api.DBRPGet) ret1, _ := ret[1].(error) return ret0, ret1 } // PatchDBRPIDExecute indicates an expected call of PatchDBRPIDExecute. func (mr *MockDBRPsApiMockRecorder) PatchDBRPIDExecute(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDBRPIDExecute", reflect.TypeOf((*MockDBRPsApi)(nil).PatchDBRPIDExecute), arg0) } // PostDBRP mocks base method. func (m *MockDBRPsApi) PostDBRP(arg0 context.Context) api.ApiPostDBRPRequest { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "PostDBRP", arg0) ret0, _ := ret[0].(api.ApiPostDBRPRequest) return ret0 } // PostDBRP indicates an expected call of PostDBRP. func (mr *MockDBRPsApiMockRecorder) PostDBRP(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostDBRP", reflect.TypeOf((*MockDBRPsApi)(nil).PostDBRP), arg0) } // PostDBRPExecute mocks base method. func (m *MockDBRPsApi) PostDBRPExecute(arg0 api.ApiPostDBRPRequest) (api.DBRP, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "PostDBRPExecute", arg0) ret0, _ := ret[0].(api.DBRP) ret1, _ := ret[1].(error) return ret0, ret1 } // PostDBRPExecute indicates an expected call of PostDBRPExecute. func (mr *MockDBRPsApiMockRecorder) PostDBRPExecute(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostDBRPExecute", reflect.TypeOf((*MockDBRPsApi)(nil).PostDBRPExecute), arg0) }