Documentation ¶
Index ¶
- type MockBillableUsageInterface
- 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
- type MockBudgetsInterface
- func (_m *MockBudgetsInterface) Create(ctx context.Context, request billing.CreateBudgetConfigurationRequest) (*billing.CreateBudgetConfigurationResponse, error)
- func (_m *MockBudgetsInterface) Delete(ctx context.Context, request billing.DeleteBudgetConfigurationRequest) 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.GetBudgetConfigurationRequest) (*billing.GetBudgetConfigurationResponse, error)
- func (_m *MockBudgetsInterface) GetByBudgetId(ctx context.Context, budgetId string) (*billing.GetBudgetConfigurationResponse, error)
- func (_m *MockBudgetsInterface) List(ctx context.Context, request billing.ListBudgetConfigurationsRequest) listing.Iterator[billing.BudgetConfiguration]
- func (_m *MockBudgetsInterface) ListAll(ctx context.Context, request billing.ListBudgetConfigurationsRequest) ([]billing.BudgetConfiguration, error)
- func (_m *MockBudgetsInterface) Update(ctx context.Context, request billing.UpdateBudgetConfigurationRequest) (*billing.UpdateBudgetConfigurationResponse, error)
- type MockBudgetsInterface_Create_Call
- func (_c *MockBudgetsInterface_Create_Call) Return(_a0 *billing.CreateBudgetConfigurationResponse, _a1 error) *MockBudgetsInterface_Create_Call
- func (_c *MockBudgetsInterface_Create_Call) Run(...) *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(...) *MockBudgetsInterface_Delete_Call
- func (_c *MockBudgetsInterface_Delete_Call) RunAndReturn(run func(context.Context, billing.DeleteBudgetConfigurationRequest) error) *MockBudgetsInterface_Delete_Call
- type MockBudgetsInterface_Expecter
- 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) List(ctx interface{}, request interface{}) *MockBudgetsInterface_List_Call
- func (_e *MockBudgetsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockBudgetsInterface_ListAll_Call
- func (_e *MockBudgetsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockBudgetsInterface_Update_Call
- type MockBudgetsInterface_GetByBudgetId_Call
- func (_c *MockBudgetsInterface_GetByBudgetId_Call) Return(_a0 *billing.GetBudgetConfigurationResponse, _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(...) *MockBudgetsInterface_GetByBudgetId_Call
- type MockBudgetsInterface_Get_Call
- func (_c *MockBudgetsInterface_Get_Call) Return(_a0 *billing.GetBudgetConfigurationResponse, _a1 error) *MockBudgetsInterface_Get_Call
- func (_c *MockBudgetsInterface_Get_Call) Run(run func(ctx context.Context, request billing.GetBudgetConfigurationRequest)) *MockBudgetsInterface_Get_Call
- func (_c *MockBudgetsInterface_Get_Call) RunAndReturn(...) *MockBudgetsInterface_Get_Call
- type MockBudgetsInterface_ListAll_Call
- func (_c *MockBudgetsInterface_ListAll_Call) Return(_a0 []billing.BudgetConfiguration, _a1 error) *MockBudgetsInterface_ListAll_Call
- func (_c *MockBudgetsInterface_ListAll_Call) Run(run func(ctx context.Context, request billing.ListBudgetConfigurationsRequest)) *MockBudgetsInterface_ListAll_Call
- func (_c *MockBudgetsInterface_ListAll_Call) RunAndReturn(...) *MockBudgetsInterface_ListAll_Call
- type MockBudgetsInterface_List_Call
- func (_c *MockBudgetsInterface_List_Call) Return(_a0 listing.Iterator[billing.BudgetConfiguration]) *MockBudgetsInterface_List_Call
- func (_c *MockBudgetsInterface_List_Call) Run(run func(ctx context.Context, request billing.ListBudgetConfigurationsRequest)) *MockBudgetsInterface_List_Call
- func (_c *MockBudgetsInterface_List_Call) RunAndReturn(...) *MockBudgetsInterface_List_Call
- type MockBudgetsInterface_Update_Call
- func (_c *MockBudgetsInterface_Update_Call) Return(_a0 *billing.UpdateBudgetConfigurationResponse, _a1 error) *MockBudgetsInterface_Update_Call
- func (_c *MockBudgetsInterface_Update_Call) Run(...) *MockBudgetsInterface_Update_Call
- func (_c *MockBudgetsInterface_Update_Call) RunAndReturn(...) *MockBudgetsInterface_Update_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) 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
- 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) 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
- 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_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 MockUsageDashboardsInterface
- func (_m *MockUsageDashboardsInterface) Create(ctx context.Context, request billing.CreateBillingUsageDashboardRequest) (*billing.CreateBillingUsageDashboardResponse, error)
- func (_m *MockUsageDashboardsInterface) EXPECT() *MockUsageDashboardsInterface_Expecter
- func (_m *MockUsageDashboardsInterface) Get(ctx context.Context, request billing.GetBillingUsageDashboardRequest) (*billing.GetBillingUsageDashboardResponse, error)
- type MockUsageDashboardsInterface_Create_Call
- func (_c *MockUsageDashboardsInterface_Create_Call) Return(_a0 *billing.CreateBillingUsageDashboardResponse, _a1 error) *MockUsageDashboardsInterface_Create_Call
- func (_c *MockUsageDashboardsInterface_Create_Call) Run(...) *MockUsageDashboardsInterface_Create_Call
- func (_c *MockUsageDashboardsInterface_Create_Call) RunAndReturn(...) *MockUsageDashboardsInterface_Create_Call
- type MockUsageDashboardsInterface_Expecter
- type MockUsageDashboardsInterface_Get_Call
- func (_c *MockUsageDashboardsInterface_Get_Call) Return(_a0 *billing.GetBillingUsageDashboardResponse, _a1 error) *MockUsageDashboardsInterface_Get_Call
- func (_c *MockUsageDashboardsInterface_Get_Call) Run(run func(ctx context.Context, request billing.GetBillingUsageDashboardRequest)) *MockUsageDashboardsInterface_Get_Call
- func (_c *MockUsageDashboardsInterface_Get_Call) RunAndReturn(...) *MockUsageDashboardsInterface_Get_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
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
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) Create ¶
func (_m *MockBudgetsInterface) Create(ctx context.Context, request billing.CreateBudgetConfigurationRequest) (*billing.CreateBudgetConfigurationResponse, error)
Create provides a mock function with given fields: ctx, request
func (*MockBudgetsInterface) Delete ¶
func (_m *MockBudgetsInterface) Delete(ctx context.Context, request billing.DeleteBudgetConfigurationRequest) 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.GetBudgetConfigurationRequest) (*billing.GetBudgetConfigurationResponse, error)
Get provides a mock function with given fields: ctx, request
func (*MockBudgetsInterface) GetByBudgetId ¶
func (_m *MockBudgetsInterface) GetByBudgetId(ctx context.Context, budgetId string) (*billing.GetBudgetConfigurationResponse, error)
GetByBudgetId provides a mock function with given fields: ctx, budgetId
func (*MockBudgetsInterface) List ¶
func (_m *MockBudgetsInterface) List(ctx context.Context, request billing.ListBudgetConfigurationsRequest) listing.Iterator[billing.BudgetConfiguration]
List provides a mock function with given fields: ctx, request
func (*MockBudgetsInterface) ListAll ¶
func (_m *MockBudgetsInterface) ListAll(ctx context.Context, request billing.ListBudgetConfigurationsRequest) ([]billing.BudgetConfiguration, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockBudgetsInterface) Update ¶
func (_m *MockBudgetsInterface) Update(ctx context.Context, request billing.UpdateBudgetConfigurationRequest) (*billing.UpdateBudgetConfigurationResponse, error)
Update provides a mock function with given fields: ctx, request
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.CreateBudgetConfigurationResponse, _a1 error) *MockBudgetsInterface_Create_Call
func (*MockBudgetsInterface_Create_Call) Run ¶
func (_c *MockBudgetsInterface_Create_Call) Run(run func(ctx context.Context, request billing.CreateBudgetConfigurationRequest)) *MockBudgetsInterface_Create_Call
func (*MockBudgetsInterface_Create_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Create_Call) RunAndReturn(run func(context.Context, billing.CreateBudgetConfigurationRequest) (*billing.CreateBudgetConfigurationResponse, 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.DeleteBudgetConfigurationRequest)) *MockBudgetsInterface_Delete_Call
func (*MockBudgetsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Delete_Call) RunAndReturn(run func(context.Context, billing.DeleteBudgetConfigurationRequest) error) *MockBudgetsInterface_Delete_Call
type MockBudgetsInterface_Expecter ¶
type MockBudgetsInterface_Expecter struct {
// contains filtered or unexported fields
}
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.CreateBudgetConfigurationRequest
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.DeleteBudgetConfigurationRequest
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.GetBudgetConfigurationRequest
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) List ¶
func (_e *MockBudgetsInterface_Expecter) List(ctx interface{}, request interface{}) *MockBudgetsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request billing.ListBudgetConfigurationsRequest
func (*MockBudgetsInterface_Expecter) ListAll ¶
func (_e *MockBudgetsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockBudgetsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request billing.ListBudgetConfigurationsRequest
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.UpdateBudgetConfigurationRequest
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.GetBudgetConfigurationResponse, _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.GetBudgetConfigurationResponse, error)) *MockBudgetsInterface_GetByBudgetId_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.GetBudgetConfigurationResponse, _a1 error) *MockBudgetsInterface_Get_Call
func (*MockBudgetsInterface_Get_Call) Run ¶
func (_c *MockBudgetsInterface_Get_Call) Run(run func(ctx context.Context, request billing.GetBudgetConfigurationRequest)) *MockBudgetsInterface_Get_Call
func (*MockBudgetsInterface_Get_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Get_Call) RunAndReturn(run func(context.Context, billing.GetBudgetConfigurationRequest) (*billing.GetBudgetConfigurationResponse, error)) *MockBudgetsInterface_Get_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.BudgetConfiguration, _a1 error) *MockBudgetsInterface_ListAll_Call
func (*MockBudgetsInterface_ListAll_Call) Run ¶
func (_c *MockBudgetsInterface_ListAll_Call) Run(run func(ctx context.Context, request billing.ListBudgetConfigurationsRequest)) *MockBudgetsInterface_ListAll_Call
func (*MockBudgetsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_ListAll_Call) RunAndReturn(run func(context.Context, billing.ListBudgetConfigurationsRequest) ([]billing.BudgetConfiguration, 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.BudgetConfiguration]) *MockBudgetsInterface_List_Call
func (*MockBudgetsInterface_List_Call) Run ¶
func (_c *MockBudgetsInterface_List_Call) Run(run func(ctx context.Context, request billing.ListBudgetConfigurationsRequest)) *MockBudgetsInterface_List_Call
func (*MockBudgetsInterface_List_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_List_Call) RunAndReturn(run func(context.Context, billing.ListBudgetConfigurationsRequest) listing.Iterator[billing.BudgetConfiguration]) *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 *billing.UpdateBudgetConfigurationResponse, _a1 error) *MockBudgetsInterface_Update_Call
func (*MockBudgetsInterface_Update_Call) Run ¶
func (_c *MockBudgetsInterface_Update_Call) Run(run func(ctx context.Context, request billing.UpdateBudgetConfigurationRequest)) *MockBudgetsInterface_Update_Call
func (*MockBudgetsInterface_Update_Call) RunAndReturn ¶
func (_c *MockBudgetsInterface_Update_Call) RunAndReturn(run func(context.Context, billing.UpdateBudgetConfigurationRequest) (*billing.UpdateBudgetConfigurationResponse, error)) *MockBudgetsInterface_Update_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) 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
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) 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
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_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 MockUsageDashboardsInterface ¶ added in v0.44.0
MockUsageDashboardsInterface is an autogenerated mock type for the UsageDashboardsInterface type
func NewMockUsageDashboardsInterface ¶ added in v0.44.0
func NewMockUsageDashboardsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockUsageDashboardsInterface
NewMockUsageDashboardsInterface creates a new instance of MockUsageDashboardsInterface. 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 (*MockUsageDashboardsInterface) Create ¶ added in v0.44.0
func (_m *MockUsageDashboardsInterface) Create(ctx context.Context, request billing.CreateBillingUsageDashboardRequest) (*billing.CreateBillingUsageDashboardResponse, error)
Create provides a mock function with given fields: ctx, request
func (*MockUsageDashboardsInterface) EXPECT ¶ added in v0.44.0
func (_m *MockUsageDashboardsInterface) EXPECT() *MockUsageDashboardsInterface_Expecter
func (*MockUsageDashboardsInterface) Get ¶ added in v0.44.0
func (_m *MockUsageDashboardsInterface) Get(ctx context.Context, request billing.GetBillingUsageDashboardRequest) (*billing.GetBillingUsageDashboardResponse, error)
Get provides a mock function with given fields: ctx, request
type MockUsageDashboardsInterface_Create_Call ¶ added in v0.44.0
MockUsageDashboardsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockUsageDashboardsInterface_Create_Call) Return ¶ added in v0.44.0
func (_c *MockUsageDashboardsInterface_Create_Call) Return(_a0 *billing.CreateBillingUsageDashboardResponse, _a1 error) *MockUsageDashboardsInterface_Create_Call
func (*MockUsageDashboardsInterface_Create_Call) Run ¶ added in v0.44.0
func (_c *MockUsageDashboardsInterface_Create_Call) Run(run func(ctx context.Context, request billing.CreateBillingUsageDashboardRequest)) *MockUsageDashboardsInterface_Create_Call
func (*MockUsageDashboardsInterface_Create_Call) RunAndReturn ¶ added in v0.44.0
func (_c *MockUsageDashboardsInterface_Create_Call) RunAndReturn(run func(context.Context, billing.CreateBillingUsageDashboardRequest) (*billing.CreateBillingUsageDashboardResponse, error)) *MockUsageDashboardsInterface_Create_Call
type MockUsageDashboardsInterface_Expecter ¶ added in v0.44.0
type MockUsageDashboardsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUsageDashboardsInterface_Expecter) Create ¶ added in v0.44.0
func (_e *MockUsageDashboardsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockUsageDashboardsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request billing.CreateBillingUsageDashboardRequest
func (*MockUsageDashboardsInterface_Expecter) Get ¶ added in v0.44.0
func (_e *MockUsageDashboardsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockUsageDashboardsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request billing.GetBillingUsageDashboardRequest
type MockUsageDashboardsInterface_Get_Call ¶ added in v0.44.0
MockUsageDashboardsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockUsageDashboardsInterface_Get_Call) Return ¶ added in v0.44.0
func (_c *MockUsageDashboardsInterface_Get_Call) Return(_a0 *billing.GetBillingUsageDashboardResponse, _a1 error) *MockUsageDashboardsInterface_Get_Call
func (*MockUsageDashboardsInterface_Get_Call) Run ¶ added in v0.44.0
func (_c *MockUsageDashboardsInterface_Get_Call) Run(run func(ctx context.Context, request billing.GetBillingUsageDashboardRequest)) *MockUsageDashboardsInterface_Get_Call
func (*MockUsageDashboardsInterface_Get_Call) RunAndReturn ¶ added in v0.44.0
func (_c *MockUsageDashboardsInterface_Get_Call) RunAndReturn(run func(context.Context, billing.GetBillingUsageDashboardRequest) (*billing.GetBillingUsageDashboardResponse, error)) *MockUsageDashboardsInterface_Get_Call