costexplorer

package
v0.7.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CostExplorer

type CostExplorer struct {
	mock.Mock
}

CostExplorer is an autogenerated mock type for the CostExplorer type

func NewCostExplorer

func NewCostExplorer(t interface {
	mock.TestingT
	Cleanup(func())
}) *CostExplorer

NewCostExplorer creates a new instance of CostExplorer. 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 (*CostExplorer) EXPECT

func (_m *CostExplorer) EXPECT() *CostExplorer_Expecter

func (*CostExplorer) GetCostAndUsage

GetCostAndUsage provides a mock function with given fields: ctx, params, optFns

type CostExplorer_Expecter

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

func (*CostExplorer_Expecter) GetCostAndUsage

func (_e *CostExplorer_Expecter) GetCostAndUsage(ctx interface{}, params interface{}, optFns ...interface{}) *CostExplorer_GetCostAndUsage_Call

GetCostAndUsage is a helper method to define mock.On call

  • ctx context.Context
  • params *servicecostexplorer.GetCostAndUsageInput
  • optFns ...func(*servicecostexplorer.Options)

type CostExplorer_GetCostAndUsage_Call

type CostExplorer_GetCostAndUsage_Call struct {
	*mock.Call
}

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

func (*CostExplorer_GetCostAndUsage_Call) Return

func (*CostExplorer_GetCostAndUsage_Call) Run

Jump to

Keyboard shortcuts

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