Documentation ¶
Index ¶
- type Pricing
- type Pricing_Expecter
- type Pricing_GetProducts_Call
- func (_c *Pricing_GetProducts_Call) Return(_a0 *servicepricing.GetProductsOutput, _a1 error) *Pricing_GetProducts_Call
- func (_c *Pricing_GetProducts_Call) Run(run func(ctx context.Context, params *servicepricing.GetProductsInput, ...)) *Pricing_GetProducts_Call
- func (_c *Pricing_GetProducts_Call) RunAndReturn(...) *Pricing_GetProducts_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pricing ¶
Pricing is an autogenerated mock type for the Pricing type
func NewPricing ¶
NewPricing creates a new instance of Pricing. 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 (*Pricing) EXPECT ¶
func (_m *Pricing) EXPECT() *Pricing_Expecter
func (*Pricing) GetProducts ¶
func (_m *Pricing) GetProducts(ctx context.Context, params *servicepricing.GetProductsInput, optFns ...func(*servicepricing.Options)) (*servicepricing.GetProductsOutput, error)
GetProducts provides a mock function with given fields: ctx, params, optFns
type Pricing_Expecter ¶
type Pricing_Expecter struct {
// contains filtered or unexported fields
}
func (*Pricing_Expecter) GetProducts ¶
func (_e *Pricing_Expecter) GetProducts(ctx interface{}, params interface{}, optFns ...interface{}) *Pricing_GetProducts_Call
GetProducts is a helper method to define mock.On call
- ctx context.Context
- params *servicepricing.GetProductsInput
- optFns ...func(*servicepricing.Options)
type Pricing_GetProducts_Call ¶
Pricing_GetProducts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProducts'
func (*Pricing_GetProducts_Call) Return ¶
func (_c *Pricing_GetProducts_Call) Return(_a0 *servicepricing.GetProductsOutput, _a1 error) *Pricing_GetProducts_Call
func (*Pricing_GetProducts_Call) Run ¶
func (_c *Pricing_GetProducts_Call) Run(run func(ctx context.Context, params *servicepricing.GetProductsInput, optFns ...func(*servicepricing.Options))) *Pricing_GetProducts_Call
func (*Pricing_GetProducts_Call) RunAndReturn ¶
func (_c *Pricing_GetProducts_Call) RunAndReturn(run func(context.Context, *servicepricing.GetProductsInput, ...func(*servicepricing.Options)) (*servicepricing.GetProductsOutput, error)) *Pricing_GetProducts_Call
Click to show internal directories.
Click to hide internal directories.