Documentation ¶
Index ¶
- type CostExplorer
- type CostExplorer_Expecter
- type CostExplorer_GetCostAndUsage_Call
- func (_c *CostExplorer_GetCostAndUsage_Call) Return(_a0 *servicecostexplorer.GetCostAndUsageOutput, _a1 error) *CostExplorer_GetCostAndUsage_Call
- func (_c *CostExplorer_GetCostAndUsage_Call) Run(...) *CostExplorer_GetCostAndUsage_Call
- func (_c *CostExplorer_GetCostAndUsage_Call) RunAndReturn(...) *CostExplorer_GetCostAndUsage_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CostExplorer ¶
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 ¶
func (_m *CostExplorer) GetCostAndUsage(ctx context.Context, params *servicecostexplorer.GetCostAndUsageInput, optFns ...func(*servicecostexplorer.Options)) (*servicecostexplorer.GetCostAndUsageOutput, error)
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 ¶
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 (_c *CostExplorer_GetCostAndUsage_Call) Return(_a0 *servicecostexplorer.GetCostAndUsageOutput, _a1 error) *CostExplorer_GetCostAndUsage_Call
func (*CostExplorer_GetCostAndUsage_Call) Run ¶
func (_c *CostExplorer_GetCostAndUsage_Call) Run(run func(ctx context.Context, params *servicecostexplorer.GetCostAndUsageInput, optFns ...func(*servicecostexplorer.Options))) *CostExplorer_GetCostAndUsage_Call
func (*CostExplorer_GetCostAndUsage_Call) RunAndReturn ¶
func (_c *CostExplorer_GetCostAndUsage_Call) RunAndReturn(run func(context.Context, *servicecostexplorer.GetCostAndUsageInput, ...func(*servicecostexplorer.Options)) (*servicecostexplorer.GetCostAndUsageOutput, error)) *CostExplorer_GetCostAndUsage_Call
Click to show internal directories.
Click to hide internal directories.