Documentation ¶
Index ¶
- type MockBillableUsageInterface
- func (_m *MockBillableUsageInterface) Download(ctx context.Context, request billing.DownloadRequest) (*billing.DownloadResponse, error)
- func (_m *MockBillableUsageInterface) EXPECT() *MockBillableUsageInterface_Expecter
- func (_m *MockBillableUsageInterface) Impl() billing.BillableUsageService
- func (_m *MockBillableUsageInterface) WithImpl(impl billing.BillableUsageService) billing.BillableUsageInterface
- type MockBillableUsageInterface_Download_Call
- func (_c *MockBillableUsageInterface_Download_Call) Return(_a0 *billing.DownloadResponse, _a1 error) *MockBillableUsageInterface_Download_Call
- func (_c *MockBillableUsageInterface_Download_Call) Run(run func(ctx context.Context, request billing.DownloadRequest)) *MockBillableUsageInterface_Download_Call
- func (_c *MockBillableUsageInterface_Download_Call) RunAndReturn(...) *MockBillableUsageInterface_Download_Call
- type MockBillableUsageInterface_Expecter
- func (_e *MockBillableUsageInterface_Expecter) Download(ctx interface{}, request interface{}) *MockBillableUsageInterface_Download_Call
- func (_e *MockBillableUsageInterface_Expecter) Impl() *MockBillableUsageInterface_Impl_Call
- func (_e *MockBillableUsageInterface_Expecter) WithImpl(impl interface{}) *MockBillableUsageInterface_WithImpl_Call
- type MockBillableUsageInterface_Impl_Call
- func (_c *MockBillableUsageInterface_Impl_Call) Return(_a0 billing.BillableUsageService) *MockBillableUsageInterface_Impl_Call
- func (_c *MockBillableUsageInterface_Impl_Call) Run(run func()) *MockBillableUsageInterface_Impl_Call
- func (_c *MockBillableUsageInterface_Impl_Call) RunAndReturn(run func() billing.BillableUsageService) *MockBillableUsageInterface_Impl_Call
- type MockBillableUsageInterface_WithImpl_Call
- func (_c *MockBillableUsageInterface_WithImpl_Call) Return(_a0 billing.BillableUsageInterface) *MockBillableUsageInterface_WithImpl_Call
- func (_c *MockBillableUsageInterface_WithImpl_Call) Run(run func(impl billing.BillableUsageService)) *MockBillableUsageInterface_WithImpl_Call
- func (_c *MockBillableUsageInterface_WithImpl_Call) RunAndReturn(run func(billing.BillableUsageService) billing.BillableUsageInterface) *MockBillableUsageInterface_WithImpl_Call
- type MockBudgetsInterface
- func (_m *MockBudgetsInterface) BudgetWithStatusNameToBudgetIdMap(ctx context.Context) (map[string]string, error)
- func (_m *MockBudgetsInterface) Create(ctx context.Context, request billing.WrappedBudget) (*billing.WrappedBudgetWithStatus, error)
- func (_m *MockBudgetsInterface) Delete(ctx context.Context, request billing.DeleteBudgetRequest) error
- func (_m *MockBudgetsInterface) DeleteByBudgetId(ctx context.Context, budgetId string) error
- func (_m *MockBudgetsInterface) EXPECT() *MockBudgetsInterface_Expecter
- func (_m *MockBudgetsInterface) Get(ctx context.Context, request billing.GetBudgetRequest) (*billing.WrappedBudgetWithStatus, error)
- func (_m *MockBudgetsInterface) GetByBudgetId(ctx context.Context, budgetId string) (*billing.WrappedBudgetWithStatus, error)
- func (_m *MockBudgetsInterface) GetByName(ctx context.Context, name string) (*billing.BudgetWithStatus, error)
- func (_m *MockBudgetsInterface) Impl() billing.BudgetsService
- func (_m *MockBudgetsInterface) List(ctx context.Context) listing.Iterator[billing.BudgetWithStatus]
- func (_m *MockBudgetsInterface) ListAll(ctx context.Context) ([]billing.BudgetWithStatus, error)
- func (_m *MockBudgetsInterface) Update(ctx context.Context, request billing.WrappedBudget) error
- func (_m *MockBudgetsInterface) WithImpl(impl billing.BudgetsService) billing.BudgetsInterface
- type MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
- func (_c *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
- func (_c *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) Run(run func(ctx context.Context)) *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
- func (_c *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
- type MockBudgetsInterface_Create_Call
- func (_c *MockBudgetsInterface_Create_Call) Return(_a0 *billing.WrappedBudgetWithStatus, _a1 error) *MockBudgetsInterface_Create_Call
- func (_c *MockBudgetsInterface_Create_Call) Run(run func(ctx context.Context, request billing.WrappedBudget)) *MockBudgetsInterface_Create_Call
- func (_c *MockBudgetsInterface_Create_Call) RunAndReturn(...) *MockBudgetsInterface_Create_Call
- type MockBudgetsInterface_DeleteByBudgetId_Call
- func (_c *MockBudgetsInterface_DeleteByBudgetId_Call) Return(_a0 error) *MockBudgetsInterface_DeleteByBudgetId_Call
- func (_c *MockBudgetsInterface_DeleteByBudgetId_Call) Run(run func(ctx context.Context, budgetId string)) *MockBudgetsInterface_DeleteByBudgetId_Call
- func (_c *MockBudgetsInterface_DeleteByBudgetId_Call) RunAndReturn(run func(context.Context, string) error) *MockBudgetsInterface_DeleteByBudgetId_Call
- type MockBudgetsInterface_Delete_Call
- func (_c *MockBudgetsInterface_Delete_Call) Return(_a0 error) *MockBudgetsInterface_Delete_Call
- func (_c *MockBudgetsInterface_Delete_Call) Run(run func(ctx context.Context, request billing.DeleteBudgetRequest)) *MockBudgetsInterface_Delete_Call
- func (_c *MockBudgetsInterface_Delete_Call) RunAndReturn(run func(context.Context, billing.DeleteBudgetRequest) error) *MockBudgetsInterface_Delete_Call
- type MockBudgetsInterface_Expecter
- func (_e *MockBudgetsInterface_Expecter) BudgetWithStatusNameToBudgetIdMap(ctx interface{}) *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
- func (_e *MockBudgetsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockBudgetsInterface_Create_Call
- func (_e *MockBudgetsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockBudgetsInterface_Delete_Call
- func (_e *MockBudgetsInterface_Expecter) DeleteByBudgetId(ctx interface{}, budgetId interface{}) *MockBudgetsInterface_DeleteByBudgetId_Call
- func (_e *MockBudgetsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockBudgetsInterface_Get_Call
- func (_e *MockBudgetsInterface_Expecter) GetByBudgetId(ctx interface{}, budgetId interface{}) *MockBudgetsInterface_GetByBudgetId_Call
- func (_e *MockBudgetsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockBudgetsInterface_GetByName_Call
- func (_e *MockBudgetsInterface_Expecter) Impl() *MockBudgetsInterface_Impl_Call
- func (_e *MockBudgetsInterface_Expecter) List(ctx interface{}) *MockBudgetsInterface_List_Call
- func (_e *MockBudgetsInterface_Expecter) ListAll(ctx interface{}) *MockBudgetsInterface_ListAll_Call
- func (_e *MockBudgetsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockBudgetsInterface_Update_Call
- func (_e *MockBudgetsInterface_Expecter) WithImpl(impl interface{}) *MockBudgetsInterface_WithImpl_Call
- type MockBudgetsInterface_GetByBudgetId_Call
- func (_c *MockBudgetsInterface_GetByBudgetId_Call) Return(_a0 *billing.WrappedBudgetWithStatus, _a1 error) *MockBudgetsInterface_GetByBudgetId_Call
- func (_c *MockBudgetsInterface_GetByBudgetId_Call) Run(run func(ctx context.Context, budgetId string)) *MockBudgetsInterface_GetByBudgetId_Call
- func (_c *MockBudgetsInterface_GetByBudgetId_Call) RunAndReturn(run func(context.Context, string) (*billing.WrappedBudgetWithStatus, error)) *MockBudgetsInterface_GetByBudgetId_Call
- type MockBudgetsInterface_GetByName_Call
- func (_c *MockBudgetsInterface_GetByName_Call) Return(_a0 *billing.BudgetWithStatus, _a1 error) *MockBudgetsInterface_GetByName_Call
- func (_c *MockBudgetsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockBudgetsInterface_GetByName_Call
- func (_c *MockBudgetsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*billing.BudgetWithStatus, error)) *MockBudgetsInterface_GetByName_Call
- type MockBudgetsInterface_Get_Call
- func (_c *MockBudgetsInterface_Get_Call) Return(_a0 *billing.WrappedBudgetWithStatus, _a1 error) *MockBudgetsInterface_Get_Call
- func (_c *MockBudgetsInterface_Get_Call) Run(run func(ctx context.Context, request billing.GetBudgetRequest)) *MockBudgetsInterface_Get_Call
- func (_c *MockBudgetsInterface_Get_Call) RunAndReturn(...) *MockBudgetsInterface_Get_Call
- type MockBudgetsInterface_Impl_Call
- func (_c *MockBudgetsInterface_Impl_Call) Return(_a0 billing.BudgetsService) *MockBudgetsInterface_Impl_Call
- func (_c *MockBudgetsInterface_Impl_Call) Run(run func()) *MockBudgetsInterface_Impl_Call
- func (_c *MockBudgetsInterface_Impl_Call) RunAndReturn(run func() billing.BudgetsService) *MockBudgetsInterface_Impl_Call
- type MockBudgetsInterface_ListAll_Call
- func (_c *MockBudgetsInterface_ListAll_Call) Return(_a0 []billing.BudgetWithStatus, _a1 error) *MockBudgetsInterface_ListAll_Call
- func (_c *MockBudgetsInterface_ListAll_Call) Run(run func(ctx context.Context)) *MockBudgetsInterface_ListAll_Call
- func (_c *MockBudgetsInterface_ListAll_Call) RunAndReturn(run func(context.Context) ([]billing.BudgetWithStatus, error)) *MockBudgetsInterface_ListAll_Call
- type MockBudgetsInterface_List_Call
- func (_c *MockBudgetsInterface_List_Call) Return(_a0 listing.Iterator[billing.BudgetWithStatus]) *MockBudgetsInterface_List_Call
- func (_c *MockBudgetsInterface_List_Call) Run(run func(ctx context.Context)) *MockBudgetsInterface_List_Call
- func (_c *MockBudgetsInterface_List_Call) RunAndReturn(run func(context.Context) listing.Iterator[billing.BudgetWithStatus]) *MockBudgetsInterface_List_Call
- type MockBudgetsInterface_Update_Call
- func (_c *MockBudgetsInterface_Update_Call) Return(_a0 error) *MockBudgetsInterface_Update_Call
- func (_c *MockBudgetsInterface_Update_Call) Run(run func(ctx context.Context, request billing.WrappedBudget)) *MockBudgetsInterface_Update_Call
- func (_c *MockBudgetsInterface_Update_Call) RunAndReturn(run func(context.Context, billing.WrappedBudget) error) *MockBudgetsInterface_Update_Call
- type MockBudgetsInterface_WithImpl_Call
- func (_c *MockBudgetsInterface_WithImpl_Call) Return(_a0 billing.BudgetsInterface) *MockBudgetsInterface_WithImpl_Call
- func (_c *MockBudgetsInterface_WithImpl_Call) Run(run func(impl billing.BudgetsService)) *MockBudgetsInterface_WithImpl_Call
- func (_c *MockBudgetsInterface_WithImpl_Call) RunAndReturn(run func(billing.BudgetsService) billing.BudgetsInterface) *MockBudgetsInterface_WithImpl_Call
- type MockLogDeliveryInterface
- func (_m *MockLogDeliveryInterface) Create(ctx context.Context, request billing.WrappedCreateLogDeliveryConfiguration) (*billing.WrappedLogDeliveryConfiguration, error)
- func (_m *MockLogDeliveryInterface) EXPECT() *MockLogDeliveryInterface_Expecter
- func (_m *MockLogDeliveryInterface) Get(ctx context.Context, request billing.GetLogDeliveryRequest) (*billing.WrappedLogDeliveryConfiguration, error)
- func (_m *MockLogDeliveryInterface) GetByConfigName(ctx context.Context, name string) (*billing.LogDeliveryConfiguration, error)
- func (_m *MockLogDeliveryInterface) GetByLogDeliveryConfigurationId(ctx context.Context, logDeliveryConfigurationId string) (*billing.WrappedLogDeliveryConfiguration, error)
- func (_m *MockLogDeliveryInterface) Impl() billing.LogDeliveryService
- func (_m *MockLogDeliveryInterface) List(ctx context.Context, request billing.ListLogDeliveryRequest) listing.Iterator[billing.LogDeliveryConfiguration]
- func (_m *MockLogDeliveryInterface) ListAll(ctx context.Context, request billing.ListLogDeliveryRequest) ([]billing.LogDeliveryConfiguration, error)
- func (_m *MockLogDeliveryInterface) LogDeliveryConfigurationConfigNameToConfigIdMap(ctx context.Context, request billing.ListLogDeliveryRequest) (map[string]string, error)
- func (_m *MockLogDeliveryInterface) PatchStatus(ctx context.Context, ...) error
- func (_m *MockLogDeliveryInterface) WithImpl(impl billing.LogDeliveryService) billing.LogDeliveryInterface
- type MockLogDeliveryInterface_Create_Call
- func (_c *MockLogDeliveryInterface_Create_Call) Return(_a0 *billing.WrappedLogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_Create_Call
- func (_c *MockLogDeliveryInterface_Create_Call) Run(...) *MockLogDeliveryInterface_Create_Call
- func (_c *MockLogDeliveryInterface_Create_Call) RunAndReturn(...) *MockLogDeliveryInterface_Create_Call
- type MockLogDeliveryInterface_Expecter
- func (_e *MockLogDeliveryInterface_Expecter) Create(ctx interface{}, request interface{}) *MockLogDeliveryInterface_Create_Call
- func (_e *MockLogDeliveryInterface_Expecter) Get(ctx interface{}, request interface{}) *MockLogDeliveryInterface_Get_Call
- func (_e *MockLogDeliveryInterface_Expecter) GetByConfigName(ctx interface{}, name interface{}) *MockLogDeliveryInterface_GetByConfigName_Call
- func (_e *MockLogDeliveryInterface_Expecter) GetByLogDeliveryConfigurationId(ctx interface{}, logDeliveryConfigurationId interface{}) *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call
- func (_e *MockLogDeliveryInterface_Expecter) Impl() *MockLogDeliveryInterface_Impl_Call
- func (_e *MockLogDeliveryInterface_Expecter) List(ctx interface{}, request interface{}) *MockLogDeliveryInterface_List_Call
- func (_e *MockLogDeliveryInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockLogDeliveryInterface_ListAll_Call
- func (_e *MockLogDeliveryInterface_Expecter) LogDeliveryConfigurationConfigNameToConfigIdMap(ctx interface{}, request interface{}) *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call
- func (_e *MockLogDeliveryInterface_Expecter) PatchStatus(ctx interface{}, request interface{}) *MockLogDeliveryInterface_PatchStatus_Call
- func (_e *MockLogDeliveryInterface_Expecter) WithImpl(impl interface{}) *MockLogDeliveryInterface_WithImpl_Call
- type MockLogDeliveryInterface_GetByConfigName_Call
- func (_c *MockLogDeliveryInterface_GetByConfigName_Call) Return(_a0 *billing.LogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_GetByConfigName_Call
- func (_c *MockLogDeliveryInterface_GetByConfigName_Call) Run(run func(ctx context.Context, name string)) *MockLogDeliveryInterface_GetByConfigName_Call
- func (_c *MockLogDeliveryInterface_GetByConfigName_Call) RunAndReturn(run func(context.Context, string) (*billing.LogDeliveryConfiguration, error)) *MockLogDeliveryInterface_GetByConfigName_Call
- type MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call
- func (_c *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) Return(_a0 *billing.WrappedLogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call
- func (_c *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) Run(run func(ctx context.Context, logDeliveryConfigurationId string)) *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call
- func (_c *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) RunAndReturn(...) *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call
- type MockLogDeliveryInterface_Get_Call
- func (_c *MockLogDeliveryInterface_Get_Call) Return(_a0 *billing.WrappedLogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_Get_Call
- func (_c *MockLogDeliveryInterface_Get_Call) Run(run func(ctx context.Context, request billing.GetLogDeliveryRequest)) *MockLogDeliveryInterface_Get_Call
- func (_c *MockLogDeliveryInterface_Get_Call) RunAndReturn(...) *MockLogDeliveryInterface_Get_Call
- type MockLogDeliveryInterface_Impl_Call
- func (_c *MockLogDeliveryInterface_Impl_Call) Return(_a0 billing.LogDeliveryService) *MockLogDeliveryInterface_Impl_Call
- func (_c *MockLogDeliveryInterface_Impl_Call) Run(run func()) *MockLogDeliveryInterface_Impl_Call
- func (_c *MockLogDeliveryInterface_Impl_Call) RunAndReturn(run func() billing.LogDeliveryService) *MockLogDeliveryInterface_Impl_Call
- type MockLogDeliveryInterface_ListAll_Call
- func (_c *MockLogDeliveryInterface_ListAll_Call) Return(_a0 []billing.LogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_ListAll_Call
- func (_c *MockLogDeliveryInterface_ListAll_Call) Run(run func(ctx context.Context, request billing.ListLogDeliveryRequest)) *MockLogDeliveryInterface_ListAll_Call
- func (_c *MockLogDeliveryInterface_ListAll_Call) RunAndReturn(...) *MockLogDeliveryInterface_ListAll_Call
- type MockLogDeliveryInterface_List_Call
- func (_c *MockLogDeliveryInterface_List_Call) Return(_a0 listing.Iterator[billing.LogDeliveryConfiguration]) *MockLogDeliveryInterface_List_Call
- func (_c *MockLogDeliveryInterface_List_Call) Run(run func(ctx context.Context, request billing.ListLogDeliveryRequest)) *MockLogDeliveryInterface_List_Call
- func (_c *MockLogDeliveryInterface_List_Call) RunAndReturn(...) *MockLogDeliveryInterface_List_Call
- type MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call
- func (_c *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call
- func (_c *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call) Run(run func(ctx context.Context, request billing.ListLogDeliveryRequest)) *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call
- func (_c *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call) RunAndReturn(...) *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call
- type MockLogDeliveryInterface_PatchStatus_Call
- func (_c *MockLogDeliveryInterface_PatchStatus_Call) Return(_a0 error) *MockLogDeliveryInterface_PatchStatus_Call
- func (_c *MockLogDeliveryInterface_PatchStatus_Call) Run(run func(ctx context.Context, ...)) *MockLogDeliveryInterface_PatchStatus_Call
- func (_c *MockLogDeliveryInterface_PatchStatus_Call) RunAndReturn(...) *MockLogDeliveryInterface_PatchStatus_Call
- type MockLogDeliveryInterface_WithImpl_Call
- func (_c *MockLogDeliveryInterface_WithImpl_Call) Return(_a0 billing.LogDeliveryInterface) *MockLogDeliveryInterface_WithImpl_Call
- func (_c *MockLogDeliveryInterface_WithImpl_Call) Run(run func(impl billing.LogDeliveryService)) *MockLogDeliveryInterface_WithImpl_Call
- func (_c *MockLogDeliveryInterface_WithImpl_Call) RunAndReturn(run func(billing.LogDeliveryService) billing.LogDeliveryInterface) *MockLogDeliveryInterface_WithImpl_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBillableUsageInterface ¶
MockBillableUsageInterface is an autogenerated mock type for the BillableUsageInterface type
func NewMockBillableUsageInterface ¶
func NewMockBillableUsageInterface(t interface { mock.TestingT Cleanup(func()) }) *MockBillableUsageInterface
NewMockBillableUsageInterface creates a new instance of MockBillableUsageInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockBillableUsageInterface) Download ¶
func (_m *MockBillableUsageInterface) Download(ctx context.Context, request billing.DownloadRequest) (*billing.DownloadResponse, error)
Download provides a mock function with given fields: ctx, request
func (*MockBillableUsageInterface) EXPECT ¶
func (_m *MockBillableUsageInterface) EXPECT() *MockBillableUsageInterface_Expecter
func (*MockBillableUsageInterface) Impl ¶
func (_m *MockBillableUsageInterface) Impl() billing.BillableUsageService
Impl provides a mock function with given fields:
func (*MockBillableUsageInterface) WithImpl ¶
func (_m *MockBillableUsageInterface) WithImpl(impl billing.BillableUsageService) billing.BillableUsageInterface
WithImpl provides a mock function with given fields: impl
type MockBillableUsageInterface_Download_Call ¶
MockBillableUsageInterface_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'
func (*MockBillableUsageInterface_Download_Call) Return ¶
func (_c *MockBillableUsageInterface_Download_Call) Return(_a0 *billing.DownloadResponse, _a1 error) *MockBillableUsageInterface_Download_Call
func (*MockBillableUsageInterface_Download_Call) Run ¶
func (_c *MockBillableUsageInterface_Download_Call) Run(run func(ctx context.Context, request billing.DownloadRequest)) *MockBillableUsageInterface_Download_Call
func (*MockBillableUsageInterface_Download_Call) RunAndReturn ¶
func (_c *MockBillableUsageInterface_Download_Call) RunAndReturn(run func(context.Context, billing.DownloadRequest) (*billing.DownloadResponse, error)) *MockBillableUsageInterface_Download_Call
type MockBillableUsageInterface_Expecter ¶
type MockBillableUsageInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBillableUsageInterface_Expecter) Download ¶
func (_e *MockBillableUsageInterface_Expecter) Download(ctx interface{}, request interface{}) *MockBillableUsageInterface_Download_Call
Download is a helper method to define mock.On call
- ctx context.Context
- request billing.DownloadRequest
func (*MockBillableUsageInterface_Expecter) Impl ¶
func (_e *MockBillableUsageInterface_Expecter) Impl() *MockBillableUsageInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockBillableUsageInterface_Expecter) WithImpl ¶
func (_e *MockBillableUsageInterface_Expecter) WithImpl(impl interface{}) *MockBillableUsageInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl billing.BillableUsageService
type MockBillableUsageInterface_Impl_Call ¶
MockBillableUsageInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockBillableUsageInterface_Impl_Call) Return ¶
func (_c *MockBillableUsageInterface_Impl_Call) Return(_a0 billing.BillableUsageService) *MockBillableUsageInterface_Impl_Call
func (*MockBillableUsageInterface_Impl_Call) Run ¶
func (_c *MockBillableUsageInterface_Impl_Call) Run(run func()) *MockBillableUsageInterface_Impl_Call
func (*MockBillableUsageInterface_Impl_Call) RunAndReturn ¶
func (_c *MockBillableUsageInterface_Impl_Call) RunAndReturn(run func() billing.BillableUsageService) *MockBillableUsageInterface_Impl_Call
type MockBillableUsageInterface_WithImpl_Call ¶
MockBillableUsageInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockBillableUsageInterface_WithImpl_Call) Run ¶
func (_c *MockBillableUsageInterface_WithImpl_Call) Run(run func(impl billing.BillableUsageService)) *MockBillableUsageInterface_WithImpl_Call
func (*MockBillableUsageInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockBillableUsageInterface_WithImpl_Call) RunAndReturn(run func(billing.BillableUsageService) billing.BillableUsageInterface) *MockBillableUsageInterface_WithImpl_Call
type MockBudgetsInterface ¶
MockBudgetsInterface is an autogenerated mock type for the BudgetsInterface type
func NewMockBudgetsInterface ¶
func NewMockBudgetsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockBudgetsInterface
NewMockBudgetsInterface creates a new instance of MockBudgetsInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockBudgetsInterface) BudgetWithStatusNameToBudgetIdMap ¶
func (_m *MockBudgetsInterface) BudgetWithStatusNameToBudgetIdMap(ctx context.Context) (map[string]string, error)
BudgetWithStatusNameToBudgetIdMap provides a mock function with given fields: ctx
func (*MockBudgetsInterface) Create ¶
func (_m *MockBudgetsInterface) Create(ctx context.Context, request billing.WrappedBudget) (*billing.WrappedBudgetWithStatus, error)
Create provides a mock function with given fields: ctx, request
func (*MockBudgetsInterface) Delete ¶
func (_m *MockBudgetsInterface) Delete(ctx context.Context, request billing.DeleteBudgetRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockBudgetsInterface) DeleteByBudgetId ¶
func (_m *MockBudgetsInterface) DeleteByBudgetId(ctx context.Context, budgetId string) error
DeleteByBudgetId provides a mock function with given fields: ctx, budgetId
func (*MockBudgetsInterface) EXPECT ¶
func (_m *MockBudgetsInterface) EXPECT() *MockBudgetsInterface_Expecter
func (*MockBudgetsInterface) Get ¶
func (_m *MockBudgetsInterface) Get(ctx context.Context, request billing.GetBudgetRequest) (*billing.WrappedBudgetWithStatus, error)
Get provides a mock function with given fields: ctx, request
func (*MockBudgetsInterface) GetByBudgetId ¶
func (_m *MockBudgetsInterface) GetByBudgetId(ctx context.Context, budgetId string) (*billing.WrappedBudgetWithStatus, error)
GetByBudgetId provides a mock function with given fields: ctx, budgetId
func (*MockBudgetsInterface) GetByName ¶
func (_m *MockBudgetsInterface) GetByName(ctx context.Context, name string) (*billing.BudgetWithStatus, error)
GetByName provides a mock function with given fields: ctx, name
func (*MockBudgetsInterface) Impl ¶
func (_m *MockBudgetsInterface) Impl() billing.BudgetsService
Impl provides a mock function with given fields:
func (*MockBudgetsInterface) List ¶
func (_m *MockBudgetsInterface) List(ctx context.Context) listing.Iterator[billing.BudgetWithStatus]
List provides a mock function with given fields: ctx
func (*MockBudgetsInterface) ListAll ¶
func (_m *MockBudgetsInterface) ListAll(ctx context.Context) ([]billing.BudgetWithStatus, error)
ListAll provides a mock function with given fields: ctx
func (*MockBudgetsInterface) Update ¶
func (_m *MockBudgetsInterface) Update(ctx context.Context, request billing.WrappedBudget) error
Update provides a mock function with given fields: ctx, request
func (*MockBudgetsInterface) WithImpl ¶
func (_m *MockBudgetsInterface) WithImpl(impl billing.BudgetsService) billing.BudgetsInterface
WithImpl provides a mock function with given fields: impl
type MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call ¶
MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BudgetWithStatusNameToBudgetIdMap'
func (*MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) Return ¶
func (_c *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
func (*MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) Run ¶
func (_c *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) Run(run func(ctx context.Context)) *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
func (*MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
type MockBudgetsInterface_Create_Call ¶
MockBudgetsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockBudgetsInterface_Create_Call) Return ¶
func (_c *MockBudgetsInterface_Create_Call) Return(_a0 *billing.WrappedBudgetWithStatus, _a1 error) *MockBudgetsInterface_Create_Call
func (*MockBudgetsInterface_Create_Call) Run ¶
func (_c *MockBudgetsInterface_Create_Call) Run(run func(ctx context.Context, request billing.WrappedBudget)) *MockBudgetsInterface_Create_Call
func (*MockBudgetsInterface_Create_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Create_Call) RunAndReturn(run func(context.Context, billing.WrappedBudget) (*billing.WrappedBudgetWithStatus, error)) *MockBudgetsInterface_Create_Call
type MockBudgetsInterface_DeleteByBudgetId_Call ¶
MockBudgetsInterface_DeleteByBudgetId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByBudgetId'
func (*MockBudgetsInterface_DeleteByBudgetId_Call) Return ¶
func (_c *MockBudgetsInterface_DeleteByBudgetId_Call) Return(_a0 error) *MockBudgetsInterface_DeleteByBudgetId_Call
func (*MockBudgetsInterface_DeleteByBudgetId_Call) Run ¶
func (_c *MockBudgetsInterface_DeleteByBudgetId_Call) Run(run func(ctx context.Context, budgetId string)) *MockBudgetsInterface_DeleteByBudgetId_Call
func (*MockBudgetsInterface_DeleteByBudgetId_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_DeleteByBudgetId_Call) RunAndReturn(run func(context.Context, string) error) *MockBudgetsInterface_DeleteByBudgetId_Call
type MockBudgetsInterface_Delete_Call ¶
MockBudgetsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockBudgetsInterface_Delete_Call) Return ¶
func (_c *MockBudgetsInterface_Delete_Call) Return(_a0 error) *MockBudgetsInterface_Delete_Call
func (*MockBudgetsInterface_Delete_Call) Run ¶
func (_c *MockBudgetsInterface_Delete_Call) Run(run func(ctx context.Context, request billing.DeleteBudgetRequest)) *MockBudgetsInterface_Delete_Call
func (*MockBudgetsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Delete_Call) RunAndReturn(run func(context.Context, billing.DeleteBudgetRequest) error) *MockBudgetsInterface_Delete_Call
type MockBudgetsInterface_Expecter ¶
type MockBudgetsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBudgetsInterface_Expecter) BudgetWithStatusNameToBudgetIdMap ¶
func (_e *MockBudgetsInterface_Expecter) BudgetWithStatusNameToBudgetIdMap(ctx interface{}) *MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call
BudgetWithStatusNameToBudgetIdMap is a helper method to define mock.On call
- ctx context.Context
func (*MockBudgetsInterface_Expecter) Create ¶
func (_e *MockBudgetsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockBudgetsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request billing.WrappedBudget
func (*MockBudgetsInterface_Expecter) Delete ¶
func (_e *MockBudgetsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockBudgetsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request billing.DeleteBudgetRequest
func (*MockBudgetsInterface_Expecter) DeleteByBudgetId ¶
func (_e *MockBudgetsInterface_Expecter) DeleteByBudgetId(ctx interface{}, budgetId interface{}) *MockBudgetsInterface_DeleteByBudgetId_Call
DeleteByBudgetId is a helper method to define mock.On call
- ctx context.Context
- budgetId string
func (*MockBudgetsInterface_Expecter) Get ¶
func (_e *MockBudgetsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockBudgetsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request billing.GetBudgetRequest
func (*MockBudgetsInterface_Expecter) GetByBudgetId ¶
func (_e *MockBudgetsInterface_Expecter) GetByBudgetId(ctx interface{}, budgetId interface{}) *MockBudgetsInterface_GetByBudgetId_Call
GetByBudgetId is a helper method to define mock.On call
- ctx context.Context
- budgetId string
func (*MockBudgetsInterface_Expecter) GetByName ¶
func (_e *MockBudgetsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockBudgetsInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockBudgetsInterface_Expecter) Impl ¶
func (_e *MockBudgetsInterface_Expecter) Impl() *MockBudgetsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockBudgetsInterface_Expecter) List ¶
func (_e *MockBudgetsInterface_Expecter) List(ctx interface{}) *MockBudgetsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
func (*MockBudgetsInterface_Expecter) ListAll ¶
func (_e *MockBudgetsInterface_Expecter) ListAll(ctx interface{}) *MockBudgetsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
func (*MockBudgetsInterface_Expecter) Update ¶
func (_e *MockBudgetsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockBudgetsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request billing.WrappedBudget
func (*MockBudgetsInterface_Expecter) WithImpl ¶
func (_e *MockBudgetsInterface_Expecter) WithImpl(impl interface{}) *MockBudgetsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl billing.BudgetsService
type MockBudgetsInterface_GetByBudgetId_Call ¶
MockBudgetsInterface_GetByBudgetId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByBudgetId'
func (*MockBudgetsInterface_GetByBudgetId_Call) Return ¶
func (_c *MockBudgetsInterface_GetByBudgetId_Call) Return(_a0 *billing.WrappedBudgetWithStatus, _a1 error) *MockBudgetsInterface_GetByBudgetId_Call
func (*MockBudgetsInterface_GetByBudgetId_Call) Run ¶
func (_c *MockBudgetsInterface_GetByBudgetId_Call) Run(run func(ctx context.Context, budgetId string)) *MockBudgetsInterface_GetByBudgetId_Call
func (*MockBudgetsInterface_GetByBudgetId_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_GetByBudgetId_Call) RunAndReturn(run func(context.Context, string) (*billing.WrappedBudgetWithStatus, error)) *MockBudgetsInterface_GetByBudgetId_Call
type MockBudgetsInterface_GetByName_Call ¶
MockBudgetsInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockBudgetsInterface_GetByName_Call) Return ¶
func (_c *MockBudgetsInterface_GetByName_Call) Return(_a0 *billing.BudgetWithStatus, _a1 error) *MockBudgetsInterface_GetByName_Call
func (*MockBudgetsInterface_GetByName_Call) Run ¶
func (_c *MockBudgetsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockBudgetsInterface_GetByName_Call
func (*MockBudgetsInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*billing.BudgetWithStatus, error)) *MockBudgetsInterface_GetByName_Call
type MockBudgetsInterface_Get_Call ¶
MockBudgetsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockBudgetsInterface_Get_Call) Return ¶
func (_c *MockBudgetsInterface_Get_Call) Return(_a0 *billing.WrappedBudgetWithStatus, _a1 error) *MockBudgetsInterface_Get_Call
func (*MockBudgetsInterface_Get_Call) Run ¶
func (_c *MockBudgetsInterface_Get_Call) Run(run func(ctx context.Context, request billing.GetBudgetRequest)) *MockBudgetsInterface_Get_Call
func (*MockBudgetsInterface_Get_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Get_Call) RunAndReturn(run func(context.Context, billing.GetBudgetRequest) (*billing.WrappedBudgetWithStatus, error)) *MockBudgetsInterface_Get_Call
type MockBudgetsInterface_Impl_Call ¶
MockBudgetsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockBudgetsInterface_Impl_Call) Return ¶
func (_c *MockBudgetsInterface_Impl_Call) Return(_a0 billing.BudgetsService) *MockBudgetsInterface_Impl_Call
func (*MockBudgetsInterface_Impl_Call) Run ¶
func (_c *MockBudgetsInterface_Impl_Call) Run(run func()) *MockBudgetsInterface_Impl_Call
func (*MockBudgetsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Impl_Call) RunAndReturn(run func() billing.BudgetsService) *MockBudgetsInterface_Impl_Call
type MockBudgetsInterface_ListAll_Call ¶
MockBudgetsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockBudgetsInterface_ListAll_Call) Return ¶
func (_c *MockBudgetsInterface_ListAll_Call) Return(_a0 []billing.BudgetWithStatus, _a1 error) *MockBudgetsInterface_ListAll_Call
func (*MockBudgetsInterface_ListAll_Call) Run ¶
func (_c *MockBudgetsInterface_ListAll_Call) Run(run func(ctx context.Context)) *MockBudgetsInterface_ListAll_Call
func (*MockBudgetsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_ListAll_Call) RunAndReturn(run func(context.Context) ([]billing.BudgetWithStatus, error)) *MockBudgetsInterface_ListAll_Call
type MockBudgetsInterface_List_Call ¶
MockBudgetsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockBudgetsInterface_List_Call) Return ¶
func (_c *MockBudgetsInterface_List_Call) Return(_a0 listing.Iterator[billing.BudgetWithStatus]) *MockBudgetsInterface_List_Call
func (*MockBudgetsInterface_List_Call) Run ¶
func (_c *MockBudgetsInterface_List_Call) Run(run func(ctx context.Context)) *MockBudgetsInterface_List_Call
func (*MockBudgetsInterface_List_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_List_Call) RunAndReturn(run func(context.Context) listing.Iterator[billing.BudgetWithStatus]) *MockBudgetsInterface_List_Call
type MockBudgetsInterface_Update_Call ¶
MockBudgetsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockBudgetsInterface_Update_Call) Return ¶
func (_c *MockBudgetsInterface_Update_Call) Return(_a0 error) *MockBudgetsInterface_Update_Call
func (*MockBudgetsInterface_Update_Call) Run ¶
func (_c *MockBudgetsInterface_Update_Call) Run(run func(ctx context.Context, request billing.WrappedBudget)) *MockBudgetsInterface_Update_Call
func (*MockBudgetsInterface_Update_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Update_Call) RunAndReturn(run func(context.Context, billing.WrappedBudget) error) *MockBudgetsInterface_Update_Call
type MockBudgetsInterface_WithImpl_Call ¶
MockBudgetsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockBudgetsInterface_WithImpl_Call) Return ¶
func (_c *MockBudgetsInterface_WithImpl_Call) Return(_a0 billing.BudgetsInterface) *MockBudgetsInterface_WithImpl_Call
func (*MockBudgetsInterface_WithImpl_Call) Run ¶
func (_c *MockBudgetsInterface_WithImpl_Call) Run(run func(impl billing.BudgetsService)) *MockBudgetsInterface_WithImpl_Call
func (*MockBudgetsInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_WithImpl_Call) RunAndReturn(run func(billing.BudgetsService) billing.BudgetsInterface) *MockBudgetsInterface_WithImpl_Call
type MockLogDeliveryInterface ¶
MockLogDeliveryInterface is an autogenerated mock type for the LogDeliveryInterface type
func NewMockLogDeliveryInterface ¶
func NewMockLogDeliveryInterface(t interface { mock.TestingT Cleanup(func()) }) *MockLogDeliveryInterface
NewMockLogDeliveryInterface creates a new instance of MockLogDeliveryInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockLogDeliveryInterface) Create ¶
func (_m *MockLogDeliveryInterface) Create(ctx context.Context, request billing.WrappedCreateLogDeliveryConfiguration) (*billing.WrappedLogDeliveryConfiguration, error)
Create provides a mock function with given fields: ctx, request
func (*MockLogDeliveryInterface) EXPECT ¶
func (_m *MockLogDeliveryInterface) EXPECT() *MockLogDeliveryInterface_Expecter
func (*MockLogDeliveryInterface) Get ¶
func (_m *MockLogDeliveryInterface) Get(ctx context.Context, request billing.GetLogDeliveryRequest) (*billing.WrappedLogDeliveryConfiguration, error)
Get provides a mock function with given fields: ctx, request
func (*MockLogDeliveryInterface) GetByConfigName ¶
func (_m *MockLogDeliveryInterface) GetByConfigName(ctx context.Context, name string) (*billing.LogDeliveryConfiguration, error)
GetByConfigName provides a mock function with given fields: ctx, name
func (*MockLogDeliveryInterface) GetByLogDeliveryConfigurationId ¶
func (_m *MockLogDeliveryInterface) GetByLogDeliveryConfigurationId(ctx context.Context, logDeliveryConfigurationId string) (*billing.WrappedLogDeliveryConfiguration, error)
GetByLogDeliveryConfigurationId provides a mock function with given fields: ctx, logDeliveryConfigurationId
func (*MockLogDeliveryInterface) Impl ¶
func (_m *MockLogDeliveryInterface) Impl() billing.LogDeliveryService
Impl provides a mock function with given fields:
func (*MockLogDeliveryInterface) List ¶
func (_m *MockLogDeliveryInterface) List(ctx context.Context, request billing.ListLogDeliveryRequest) listing.Iterator[billing.LogDeliveryConfiguration]
List provides a mock function with given fields: ctx, request
func (*MockLogDeliveryInterface) ListAll ¶
func (_m *MockLogDeliveryInterface) ListAll(ctx context.Context, request billing.ListLogDeliveryRequest) ([]billing.LogDeliveryConfiguration, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockLogDeliveryInterface) LogDeliveryConfigurationConfigNameToConfigIdMap ¶
func (_m *MockLogDeliveryInterface) LogDeliveryConfigurationConfigNameToConfigIdMap(ctx context.Context, request billing.ListLogDeliveryRequest) (map[string]string, error)
LogDeliveryConfigurationConfigNameToConfigIdMap provides a mock function with given fields: ctx, request
func (*MockLogDeliveryInterface) PatchStatus ¶
func (_m *MockLogDeliveryInterface) PatchStatus(ctx context.Context, request billing.UpdateLogDeliveryConfigurationStatusRequest) error
PatchStatus provides a mock function with given fields: ctx, request
func (*MockLogDeliveryInterface) WithImpl ¶
func (_m *MockLogDeliveryInterface) WithImpl(impl billing.LogDeliveryService) billing.LogDeliveryInterface
WithImpl provides a mock function with given fields: impl
type MockLogDeliveryInterface_Create_Call ¶
MockLogDeliveryInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockLogDeliveryInterface_Create_Call) Return ¶
func (_c *MockLogDeliveryInterface_Create_Call) Return(_a0 *billing.WrappedLogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_Create_Call
func (*MockLogDeliveryInterface_Create_Call) Run ¶
func (_c *MockLogDeliveryInterface_Create_Call) Run(run func(ctx context.Context, request billing.WrappedCreateLogDeliveryConfiguration)) *MockLogDeliveryInterface_Create_Call
func (*MockLogDeliveryInterface_Create_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_Create_Call) RunAndReturn(run func(context.Context, billing.WrappedCreateLogDeliveryConfiguration) (*billing.WrappedLogDeliveryConfiguration, error)) *MockLogDeliveryInterface_Create_Call
type MockLogDeliveryInterface_Expecter ¶
type MockLogDeliveryInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLogDeliveryInterface_Expecter) Create ¶
func (_e *MockLogDeliveryInterface_Expecter) Create(ctx interface{}, request interface{}) *MockLogDeliveryInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request billing.WrappedCreateLogDeliveryConfiguration
func (*MockLogDeliveryInterface_Expecter) Get ¶
func (_e *MockLogDeliveryInterface_Expecter) Get(ctx interface{}, request interface{}) *MockLogDeliveryInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request billing.GetLogDeliveryRequest
func (*MockLogDeliveryInterface_Expecter) GetByConfigName ¶
func (_e *MockLogDeliveryInterface_Expecter) GetByConfigName(ctx interface{}, name interface{}) *MockLogDeliveryInterface_GetByConfigName_Call
GetByConfigName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockLogDeliveryInterface_Expecter) GetByLogDeliveryConfigurationId ¶
func (_e *MockLogDeliveryInterface_Expecter) GetByLogDeliveryConfigurationId(ctx interface{}, logDeliveryConfigurationId interface{}) *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call
GetByLogDeliveryConfigurationId is a helper method to define mock.On call
- ctx context.Context
- logDeliveryConfigurationId string
func (*MockLogDeliveryInterface_Expecter) Impl ¶
func (_e *MockLogDeliveryInterface_Expecter) Impl() *MockLogDeliveryInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockLogDeliveryInterface_Expecter) List ¶
func (_e *MockLogDeliveryInterface_Expecter) List(ctx interface{}, request interface{}) *MockLogDeliveryInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request billing.ListLogDeliveryRequest
func (*MockLogDeliveryInterface_Expecter) ListAll ¶
func (_e *MockLogDeliveryInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockLogDeliveryInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request billing.ListLogDeliveryRequest
func (*MockLogDeliveryInterface_Expecter) LogDeliveryConfigurationConfigNameToConfigIdMap ¶
func (_e *MockLogDeliveryInterface_Expecter) LogDeliveryConfigurationConfigNameToConfigIdMap(ctx interface{}, request interface{}) *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call
LogDeliveryConfigurationConfigNameToConfigIdMap is a helper method to define mock.On call
- ctx context.Context
- request billing.ListLogDeliveryRequest
func (*MockLogDeliveryInterface_Expecter) PatchStatus ¶
func (_e *MockLogDeliveryInterface_Expecter) PatchStatus(ctx interface{}, request interface{}) *MockLogDeliveryInterface_PatchStatus_Call
PatchStatus is a helper method to define mock.On call
- ctx context.Context
- request billing.UpdateLogDeliveryConfigurationStatusRequest
func (*MockLogDeliveryInterface_Expecter) WithImpl ¶
func (_e *MockLogDeliveryInterface_Expecter) WithImpl(impl interface{}) *MockLogDeliveryInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl billing.LogDeliveryService
type MockLogDeliveryInterface_GetByConfigName_Call ¶
MockLogDeliveryInterface_GetByConfigName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByConfigName'
func (*MockLogDeliveryInterface_GetByConfigName_Call) Return ¶
func (_c *MockLogDeliveryInterface_GetByConfigName_Call) Return(_a0 *billing.LogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_GetByConfigName_Call
func (*MockLogDeliveryInterface_GetByConfigName_Call) Run ¶
func (_c *MockLogDeliveryInterface_GetByConfigName_Call) Run(run func(ctx context.Context, name string)) *MockLogDeliveryInterface_GetByConfigName_Call
func (*MockLogDeliveryInterface_GetByConfigName_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_GetByConfigName_Call) RunAndReturn(run func(context.Context, string) (*billing.LogDeliveryConfiguration, error)) *MockLogDeliveryInterface_GetByConfigName_Call
type MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call ¶
MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByLogDeliveryConfigurationId'
func (*MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) Run ¶
func (_c *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) Run(run func(ctx context.Context, logDeliveryConfigurationId string)) *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call
func (*MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) RunAndReturn(run func(context.Context, string) (*billing.WrappedLogDeliveryConfiguration, error)) *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call
type MockLogDeliveryInterface_Get_Call ¶
MockLogDeliveryInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockLogDeliveryInterface_Get_Call) Return ¶
func (_c *MockLogDeliveryInterface_Get_Call) Return(_a0 *billing.WrappedLogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_Get_Call
func (*MockLogDeliveryInterface_Get_Call) Run ¶
func (_c *MockLogDeliveryInterface_Get_Call) Run(run func(ctx context.Context, request billing.GetLogDeliveryRequest)) *MockLogDeliveryInterface_Get_Call
func (*MockLogDeliveryInterface_Get_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_Get_Call) RunAndReturn(run func(context.Context, billing.GetLogDeliveryRequest) (*billing.WrappedLogDeliveryConfiguration, error)) *MockLogDeliveryInterface_Get_Call
type MockLogDeliveryInterface_Impl_Call ¶
MockLogDeliveryInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockLogDeliveryInterface_Impl_Call) Return ¶
func (_c *MockLogDeliveryInterface_Impl_Call) Return(_a0 billing.LogDeliveryService) *MockLogDeliveryInterface_Impl_Call
func (*MockLogDeliveryInterface_Impl_Call) Run ¶
func (_c *MockLogDeliveryInterface_Impl_Call) Run(run func()) *MockLogDeliveryInterface_Impl_Call
func (*MockLogDeliveryInterface_Impl_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_Impl_Call) RunAndReturn(run func() billing.LogDeliveryService) *MockLogDeliveryInterface_Impl_Call
type MockLogDeliveryInterface_ListAll_Call ¶
MockLogDeliveryInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockLogDeliveryInterface_ListAll_Call) Return ¶
func (_c *MockLogDeliveryInterface_ListAll_Call) Return(_a0 []billing.LogDeliveryConfiguration, _a1 error) *MockLogDeliveryInterface_ListAll_Call
func (*MockLogDeliveryInterface_ListAll_Call) Run ¶
func (_c *MockLogDeliveryInterface_ListAll_Call) Run(run func(ctx context.Context, request billing.ListLogDeliveryRequest)) *MockLogDeliveryInterface_ListAll_Call
func (*MockLogDeliveryInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_ListAll_Call) RunAndReturn(run func(context.Context, billing.ListLogDeliveryRequest) ([]billing.LogDeliveryConfiguration, error)) *MockLogDeliveryInterface_ListAll_Call
type MockLogDeliveryInterface_List_Call ¶
MockLogDeliveryInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockLogDeliveryInterface_List_Call) Return ¶
func (_c *MockLogDeliveryInterface_List_Call) Return(_a0 listing.Iterator[billing.LogDeliveryConfiguration]) *MockLogDeliveryInterface_List_Call
func (*MockLogDeliveryInterface_List_Call) Run ¶
func (_c *MockLogDeliveryInterface_List_Call) Run(run func(ctx context.Context, request billing.ListLogDeliveryRequest)) *MockLogDeliveryInterface_List_Call
func (*MockLogDeliveryInterface_List_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_List_Call) RunAndReturn(run func(context.Context, billing.ListLogDeliveryRequest) listing.Iterator[billing.LogDeliveryConfiguration]) *MockLogDeliveryInterface_List_Call
type MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call ¶
type MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call struct {
*mock.Call
}
MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogDeliveryConfigurationConfigNameToConfigIdMap'
func (*MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call) RunAndReturn ¶
type MockLogDeliveryInterface_PatchStatus_Call ¶
MockLogDeliveryInterface_PatchStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PatchStatus'
func (*MockLogDeliveryInterface_PatchStatus_Call) Return ¶
func (_c *MockLogDeliveryInterface_PatchStatus_Call) Return(_a0 error) *MockLogDeliveryInterface_PatchStatus_Call
func (*MockLogDeliveryInterface_PatchStatus_Call) Run ¶
func (_c *MockLogDeliveryInterface_PatchStatus_Call) Run(run func(ctx context.Context, request billing.UpdateLogDeliveryConfigurationStatusRequest)) *MockLogDeliveryInterface_PatchStatus_Call
func (*MockLogDeliveryInterface_PatchStatus_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_PatchStatus_Call) RunAndReturn(run func(context.Context, billing.UpdateLogDeliveryConfigurationStatusRequest) error) *MockLogDeliveryInterface_PatchStatus_Call
type MockLogDeliveryInterface_WithImpl_Call ¶
MockLogDeliveryInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockLogDeliveryInterface_WithImpl_Call) Return ¶
func (_c *MockLogDeliveryInterface_WithImpl_Call) Return(_a0 billing.LogDeliveryInterface) *MockLogDeliveryInterface_WithImpl_Call
func (*MockLogDeliveryInterface_WithImpl_Call) Run ¶
func (_c *MockLogDeliveryInterface_WithImpl_Call) Run(run func(impl billing.LogDeliveryService)) *MockLogDeliveryInterface_WithImpl_Call
func (*MockLogDeliveryInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockLogDeliveryInterface_WithImpl_Call) RunAndReturn(run func(billing.LogDeliveryService) billing.LogDeliveryInterface) *MockLogDeliveryInterface_WithImpl_Call