billing

package
v0.51.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBillableUsageInterface

type MockBillableUsageInterface struct {
	mock.Mock
}

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

Download provides a mock function with given fields: ctx, request

func (*MockBillableUsageInterface) EXPECT

type MockBillableUsageInterface_Download_Call

type MockBillableUsageInterface_Download_Call struct {
	*mock.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 (*MockBillableUsageInterface_Download_Call) Run

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

type MockBudgetsInterface struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, request

func (*MockBudgetsInterface) Delete

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 (*MockBudgetsInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockBudgetsInterface) GetByBudgetId

GetByBudgetId provides a mock function with given fields: ctx, budgetId

func (*MockBudgetsInterface) List

List provides a mock function with given fields: ctx, request

func (*MockBudgetsInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockBudgetsInterface) Update

Update provides a mock function with given fields: ctx, request

type MockBudgetsInterface_Create_Call

type MockBudgetsInterface_Create_Call struct {
	*mock.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 (*MockBudgetsInterface_Create_Call) Run

type MockBudgetsInterface_DeleteByBudgetId_Call

type MockBudgetsInterface_DeleteByBudgetId_Call struct {
	*mock.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 (*MockBudgetsInterface_DeleteByBudgetId_Call) Run

func (*MockBudgetsInterface_DeleteByBudgetId_Call) RunAndReturn

type MockBudgetsInterface_Delete_Call

type MockBudgetsInterface_Delete_Call struct {
	*mock.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 (*MockBudgetsInterface_Delete_Call) Run

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

type MockBudgetsInterface_GetByBudgetId_Call struct {
	*mock.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 (*MockBudgetsInterface_GetByBudgetId_Call) Run

type MockBudgetsInterface_Get_Call

type MockBudgetsInterface_Get_Call struct {
	*mock.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 (*MockBudgetsInterface_Get_Call) Run

type MockBudgetsInterface_ListAll_Call

type MockBudgetsInterface_ListAll_Call struct {
	*mock.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 (*MockBudgetsInterface_ListAll_Call) Run

type MockBudgetsInterface_List_Call

type MockBudgetsInterface_List_Call struct {
	*mock.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 (*MockBudgetsInterface_List_Call) Run

type MockBudgetsInterface_Update_Call

type MockBudgetsInterface_Update_Call struct {
	*mock.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 (*MockBudgetsInterface_Update_Call) Run

type MockLogDeliveryInterface

type MockLogDeliveryInterface struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, request

func (*MockLogDeliveryInterface) EXPECT

func (*MockLogDeliveryInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockLogDeliveryInterface) GetByConfigName

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

List provides a mock function with given fields: ctx, request

func (*MockLogDeliveryInterface) ListAll

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

PatchStatus provides a mock function with given fields: ctx, request

type MockLogDeliveryInterface_Create_Call

type MockLogDeliveryInterface_Create_Call struct {
	*mock.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 (*MockLogDeliveryInterface_Create_Call) Run

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

type MockLogDeliveryInterface_GetByConfigName_Call struct {
	*mock.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 (*MockLogDeliveryInterface_GetByConfigName_Call) Run

type MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call

type MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call struct {
	*mock.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

type MockLogDeliveryInterface_Get_Call

type MockLogDeliveryInterface_Get_Call struct {
	*mock.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 (*MockLogDeliveryInterface_Get_Call) Run

type MockLogDeliveryInterface_ListAll_Call

type MockLogDeliveryInterface_ListAll_Call struct {
	*mock.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 (*MockLogDeliveryInterface_ListAll_Call) Run

type MockLogDeliveryInterface_List_Call

type MockLogDeliveryInterface_List_Call struct {
	*mock.Call
}

MockLogDeliveryInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*MockLogDeliveryInterface_List_Call) Run

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) Return

func (*MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call) Run

type MockLogDeliveryInterface_PatchStatus_Call

type MockLogDeliveryInterface_PatchStatus_Call struct {
	*mock.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

type MockUsageDashboardsInterface added in v0.44.0

type MockUsageDashboardsInterface struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, request

func (*MockUsageDashboardsInterface) EXPECT added in v0.44.0

func (*MockUsageDashboardsInterface) Get added in v0.44.0

Get provides a mock function with given fields: ctx, request

type MockUsageDashboardsInterface_Create_Call added in v0.44.0

type MockUsageDashboardsInterface_Create_Call struct {
	*mock.Call
}

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 (*MockUsageDashboardsInterface_Create_Call) Run added in v0.44.0

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

type MockUsageDashboardsInterface_Get_Call struct {
	*mock.Call
}

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 (*MockUsageDashboardsInterface_Get_Call) Run added in v0.44.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL