billing

package
v0.201.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 4 Imported by: 1

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 for the type MockBillableUsageInterface

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

func (*MockBillableUsageInterface_Download_Call) RunAndReturn

type MockBillableUsageInterface_Expecter

type MockBillableUsageInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockBillableUsageInterface_Expecter) Download

Download is a helper method to define mock.On call

  • ctx context.Context
  • request billing.DownloadRequest

type MockBudgetPolicyInterface added in v0.57.0

type MockBudgetPolicyInterface struct {
	mock.Mock
}

MockBudgetPolicyInterface is an autogenerated mock type for the BudgetPolicyInterface type

func NewMockBudgetPolicyInterface added in v0.57.0

func NewMockBudgetPolicyInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockBudgetPolicyInterface

NewMockBudgetPolicyInterface creates a new instance of MockBudgetPolicyInterface. 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 (*MockBudgetPolicyInterface) Create added in v0.57.0

Create provides a mock function for the type MockBudgetPolicyInterface

func (*MockBudgetPolicyInterface) Delete added in v0.57.0

Delete provides a mock function for the type MockBudgetPolicyInterface

func (*MockBudgetPolicyInterface) DeleteByPolicyId added in v0.57.0

func (_mock *MockBudgetPolicyInterface) DeleteByPolicyId(ctx context.Context, policyId string) error

DeleteByPolicyId provides a mock function for the type MockBudgetPolicyInterface

func (*MockBudgetPolicyInterface) EXPECT added in v0.57.0

func (*MockBudgetPolicyInterface) Get added in v0.57.0

Get provides a mock function for the type MockBudgetPolicyInterface

func (*MockBudgetPolicyInterface) GetByPolicyId added in v0.57.0

func (_mock *MockBudgetPolicyInterface) GetByPolicyId(ctx context.Context, policyId string) (*billing.BudgetPolicy, error)

GetByPolicyId provides a mock function for the type MockBudgetPolicyInterface

func (*MockBudgetPolicyInterface) List added in v0.57.0

List provides a mock function for the type MockBudgetPolicyInterface

func (*MockBudgetPolicyInterface) ListAll added in v0.57.0

ListAll provides a mock function for the type MockBudgetPolicyInterface

func (*MockBudgetPolicyInterface) Update added in v0.57.0

Update provides a mock function for the type MockBudgetPolicyInterface

type MockBudgetPolicyInterface_Create_Call added in v0.57.0

type MockBudgetPolicyInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockBudgetPolicyInterface_Create_Call) Return added in v0.57.0

func (*MockBudgetPolicyInterface_Create_Call) Run added in v0.57.0

func (*MockBudgetPolicyInterface_Create_Call) RunAndReturn added in v0.57.0

type MockBudgetPolicyInterface_DeleteByPolicyId_Call added in v0.57.0

type MockBudgetPolicyInterface_DeleteByPolicyId_Call struct {
	*mock.Call
}

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

func (*MockBudgetPolicyInterface_DeleteByPolicyId_Call) Return added in v0.57.0

func (*MockBudgetPolicyInterface_DeleteByPolicyId_Call) Run added in v0.57.0

func (*MockBudgetPolicyInterface_DeleteByPolicyId_Call) RunAndReturn added in v0.57.0

type MockBudgetPolicyInterface_Delete_Call added in v0.57.0

type MockBudgetPolicyInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockBudgetPolicyInterface_Delete_Call) Return added in v0.57.0

func (*MockBudgetPolicyInterface_Delete_Call) Run added in v0.57.0

func (*MockBudgetPolicyInterface_Delete_Call) RunAndReturn added in v0.57.0

type MockBudgetPolicyInterface_Expecter added in v0.57.0

type MockBudgetPolicyInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockBudgetPolicyInterface_Expecter) Create added in v0.57.0

Create is a helper method to define mock.On call

  • ctx context.Context
  • request billing.CreateBudgetPolicyRequest

func (*MockBudgetPolicyInterface_Expecter) Delete added in v0.57.0

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request billing.DeleteBudgetPolicyRequest

func (*MockBudgetPolicyInterface_Expecter) DeleteByPolicyId added in v0.57.0

DeleteByPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • policyId string

func (*MockBudgetPolicyInterface_Expecter) Get added in v0.57.0

Get is a helper method to define mock.On call

  • ctx context.Context
  • request billing.GetBudgetPolicyRequest

func (*MockBudgetPolicyInterface_Expecter) GetByPolicyId added in v0.57.0

GetByPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • policyId string

func (*MockBudgetPolicyInterface_Expecter) List added in v0.57.0

List is a helper method to define mock.On call

  • ctx context.Context
  • request billing.ListBudgetPoliciesRequest

func (*MockBudgetPolicyInterface_Expecter) ListAll added in v0.57.0

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request billing.ListBudgetPoliciesRequest

func (*MockBudgetPolicyInterface_Expecter) Update added in v0.57.0

Update is a helper method to define mock.On call

  • ctx context.Context
  • request billing.UpdateBudgetPolicyRequest

type MockBudgetPolicyInterface_GetByPolicyId_Call added in v0.57.0

type MockBudgetPolicyInterface_GetByPolicyId_Call struct {
	*mock.Call
}

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

func (*MockBudgetPolicyInterface_GetByPolicyId_Call) Return added in v0.57.0

func (*MockBudgetPolicyInterface_GetByPolicyId_Call) Run added in v0.57.0

func (*MockBudgetPolicyInterface_GetByPolicyId_Call) RunAndReturn added in v0.57.0

type MockBudgetPolicyInterface_Get_Call added in v0.57.0

type MockBudgetPolicyInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockBudgetPolicyInterface_Get_Call) Return added in v0.57.0

func (*MockBudgetPolicyInterface_Get_Call) Run added in v0.57.0

func (*MockBudgetPolicyInterface_Get_Call) RunAndReturn added in v0.57.0

type MockBudgetPolicyInterface_ListAll_Call added in v0.57.0

type MockBudgetPolicyInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockBudgetPolicyInterface_ListAll_Call) Return added in v0.57.0

func (*MockBudgetPolicyInterface_ListAll_Call) Run added in v0.57.0

func (*MockBudgetPolicyInterface_ListAll_Call) RunAndReturn added in v0.57.0

type MockBudgetPolicyInterface_List_Call added in v0.57.0

type MockBudgetPolicyInterface_List_Call struct {
	*mock.Call
}

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

func (*MockBudgetPolicyInterface_List_Call) Return added in v0.57.0

func (*MockBudgetPolicyInterface_List_Call) Run added in v0.57.0

func (*MockBudgetPolicyInterface_List_Call) RunAndReturn added in v0.57.0

type MockBudgetPolicyInterface_Update_Call added in v0.57.0

type MockBudgetPolicyInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockBudgetPolicyInterface_Update_Call) Return added in v0.57.0

func (*MockBudgetPolicyInterface_Update_Call) Run added in v0.57.0

func (*MockBudgetPolicyInterface_Update_Call) RunAndReturn added in v0.57.0

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 for the type MockBudgetsInterface

func (*MockBudgetsInterface) Delete

Delete provides a mock function for the type MockBudgetsInterface

func (*MockBudgetsInterface) DeleteByBudgetId

func (_mock *MockBudgetsInterface) DeleteByBudgetId(ctx context.Context, budgetId string) error

DeleteByBudgetId provides a mock function for the type MockBudgetsInterface

func (*MockBudgetsInterface) EXPECT

func (*MockBudgetsInterface) Get

Get provides a mock function for the type MockBudgetsInterface

func (*MockBudgetsInterface) GetBudgetSpendStatus

GetBudgetSpendStatus provides a mock function for the type MockBudgetsInterface

func (*MockBudgetsInterface) GetByBudgetId

func (_mock *MockBudgetsInterface) GetByBudgetId(ctx context.Context, budgetId string) (*billing.GetBudgetConfigurationResponse, error)

GetByBudgetId provides a mock function for the type MockBudgetsInterface

func (*MockBudgetsInterface) List

List provides a mock function for the type MockBudgetsInterface

func (*MockBudgetsInterface) ListAll

ListAll provides a mock function for the type MockBudgetsInterface

func (*MockBudgetsInterface) ListBudgetSpendStatuses

ListBudgetSpendStatuses provides a mock function for the type MockBudgetsInterface

func (*MockBudgetsInterface) Update

Update provides a mock function for the type MockBudgetsInterface

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

Create is a helper method to define mock.On call

  • ctx context.Context
  • request billing.CreateBudgetConfigurationRequest

func (*MockBudgetsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request billing.DeleteBudgetConfigurationRequest

func (*MockBudgetsInterface_Expecter) DeleteByBudgetId

DeleteByBudgetId is a helper method to define mock.On call

  • ctx context.Context
  • budgetId string

func (*MockBudgetsInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request billing.GetBudgetConfigurationRequest

func (*MockBudgetsInterface_Expecter) GetBudgetSpendStatus

GetBudgetSpendStatus is a helper method to define mock.On call

  • ctx context.Context
  • request billing.GetBudgetSpendStatusRequest

func (*MockBudgetsInterface_Expecter) GetByBudgetId

GetByBudgetId is a helper method to define mock.On call

  • ctx context.Context
  • budgetId string

func (*MockBudgetsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request billing.ListBudgetConfigurationsRequest

func (*MockBudgetsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request billing.ListBudgetConfigurationsRequest

func (*MockBudgetsInterface_Expecter) ListBudgetSpendStatuses

ListBudgetSpendStatuses is a helper method to define mock.On call

  • ctx context.Context
  • request billing.ListBudgetSpendStatusesRequest

func (*MockBudgetsInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request billing.UpdateBudgetConfigurationRequest

type MockBudgetsInterface_GetBudgetSpendStatus_Call

type MockBudgetsInterface_GetBudgetSpendStatus_Call struct {
	*mock.Call
}

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

func (*MockBudgetsInterface_GetBudgetSpendStatus_Call) Return

func (*MockBudgetsInterface_GetBudgetSpendStatus_Call) Run

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_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_ListBudgetSpendStatuses_Call

type MockBudgetsInterface_ListBudgetSpendStatuses_Call struct {
	*mock.Call
}

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

func (*MockBudgetsInterface_ListBudgetSpendStatuses_Call) Return

func (*MockBudgetsInterface_ListBudgetSpendStatuses_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 for the type MockLogDeliveryInterface

func (*MockLogDeliveryInterface) EXPECT

func (*MockLogDeliveryInterface) Get

Get provides a mock function for the type MockLogDeliveryInterface

func (*MockLogDeliveryInterface) GetByConfigName

GetByConfigName provides a mock function for the type MockLogDeliveryInterface

func (*MockLogDeliveryInterface) GetByLogDeliveryConfigurationId

func (_mock *MockLogDeliveryInterface) GetByLogDeliveryConfigurationId(ctx context.Context, logDeliveryConfigurationId string) (*billing.GetLogDeliveryConfigurationResponse, error)

GetByLogDeliveryConfigurationId provides a mock function for the type MockLogDeliveryInterface

func (*MockLogDeliveryInterface) List

List provides a mock function for the type MockLogDeliveryInterface

func (*MockLogDeliveryInterface) ListAll

ListAll provides a mock function for the type MockLogDeliveryInterface

func (*MockLogDeliveryInterface) LogDeliveryConfigurationConfigNameToConfigIdMap

func (_mock *MockLogDeliveryInterface) LogDeliveryConfigurationConfigNameToConfigIdMap(ctx context.Context, request billing.ListLogDeliveryRequest) (map[string]string, error)

LogDeliveryConfigurationConfigNameToConfigIdMap provides a mock function for the type MockLogDeliveryInterface

func (*MockLogDeliveryInterface) PatchStatus

PatchStatus provides a mock function for the type MockLogDeliveryInterface

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

Create is a helper method to define mock.On call

  • ctx context.Context
  • request billing.WrappedCreateLogDeliveryConfiguration

func (*MockLogDeliveryInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request billing.GetLogDeliveryRequest

func (*MockLogDeliveryInterface_Expecter) GetByConfigName

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 any, logDeliveryConfigurationId any) *MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call

GetByLogDeliveryConfigurationId is a helper method to define mock.On call

  • ctx context.Context
  • logDeliveryConfigurationId string

func (*MockLogDeliveryInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request billing.ListLogDeliveryRequest

func (*MockLogDeliveryInterface_Expecter) ListAll

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 any, request any) *MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call

LogDeliveryConfigurationConfigNameToConfigIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request billing.ListLogDeliveryRequest

func (*MockLogDeliveryInterface_Expecter) PatchStatus

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

func (*MockLogDeliveryInterface_GetByConfigName_Call) RunAndReturn

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

func (*MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) Run

func (*MockLogDeliveryInterface_GetByLogDeliveryConfigurationId_Call) RunAndReturn

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

func (*MockLogDeliveryInterface_ListAll_Call) RunAndReturn

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

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

func (*MockLogDeliveryInterface_LogDeliveryConfigurationConfigNameToConfigIdMap_Call) RunAndReturn

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 for the type MockUsageDashboardsInterface

func (*MockUsageDashboardsInterface) EXPECT added in v0.44.0

func (*MockUsageDashboardsInterface) Get added in v0.44.0

Get provides a mock function for the type MockUsageDashboardsInterface

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

func (*MockUsageDashboardsInterface_Create_Call) RunAndReturn 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

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

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

func (*MockUsageDashboardsInterface_Get_Call) RunAndReturn added in v0.44.0

Jump to

Keyboard shortcuts

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