billing

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 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

func (*MockBillableUsageInterface) Impl

Impl provides a mock function with given fields:

func (*MockBillableUsageInterface) WithImpl

WithImpl provides a mock function with given fields: impl

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

func (*MockBillableUsageInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockBillableUsageInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl billing.BillableUsageService

type MockBillableUsageInterface_Impl_Call

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

func (*MockBillableUsageInterface_Impl_Call) RunAndReturn

type MockBillableUsageInterface_WithImpl_Call

type MockBillableUsageInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockBillableUsageInterface_WithImpl_Call) Return

func (*MockBillableUsageInterface_WithImpl_Call) Run

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

func (_m *MockBudgetsInterface) BudgetWithStatusNameToBudgetIdMap(ctx context.Context) (map[string]string, error)

BudgetWithStatusNameToBudgetIdMap provides a mock function with given fields: ctx

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

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

GetByName provides a mock function with given fields: ctx, name

func (*MockBudgetsInterface) Impl

Impl provides a mock function with given fields:

func (*MockBudgetsInterface) List

List provides a mock function with given fields: ctx

func (*MockBudgetsInterface) ListAll

ListAll provides a mock function with given fields: ctx

func (*MockBudgetsInterface) Update

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

func (*MockBudgetsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call

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

func (*MockBudgetsInterface_BudgetWithStatusNameToBudgetIdMap_Call) RunAndReturn

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

func (*MockBudgetsInterface_Delete_Call) RunAndReturn

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

Impl is a helper method to define mock.On call

func (*MockBudgetsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockBudgetsInterface_Expecter) ListAll

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

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

func (*MockBudgetsInterface_GetByBudgetId_Call) RunAndReturn

type MockBudgetsInterface_GetByName_Call

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

func (*MockBudgetsInterface_GetByName_Call) RunAndReturn

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_Impl_Call

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

func (*MockBudgetsInterface_Impl_Call) RunAndReturn

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

func (*MockBudgetsInterface_ListAll_Call) RunAndReturn

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

func (*MockBudgetsInterface_List_Call) RunAndReturn

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

func (*MockBudgetsInterface_Update_Call) RunAndReturn

type MockBudgetsInterface_WithImpl_Call

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

func (*MockBudgetsInterface_WithImpl_Call) RunAndReturn

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

Impl provides a mock function with given fields:

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

func (*MockLogDeliveryInterface) WithImpl

WithImpl provides a mock function with given fields: impl

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

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

WithImpl is a helper method to define mock.On call

  • impl billing.LogDeliveryService

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_Impl_Call

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

func (*MockLogDeliveryInterface_Impl_Call) RunAndReturn

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 MockLogDeliveryInterface_WithImpl_Call

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

Jump to

Keyboard shortcuts

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